gem install bundler # install bundler for bundle command
rails s # run rails server
rails c # run rails console - access to database tables
bundle # install gems dependencies
rake db:setup # run db:create, db:schema:load, db:seed
rake db:create # create database
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def send_email | |
# I18n.locale => :en | |
I18n.with_locale(:pl) do | |
# I18n.locale => :pl | |
end | |
# I18n.locale => :en | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gem 'rails-assets-angular-i18n', '~> 1.4.1' |
OlderNewer