Skip to content

quick start for RoR developers with the most widely-used gems and configurations for Rails 4, with branches to adapt to different databases or templating engines

Notifications You must be signed in to change notification settings

ygamretuta/rails4-quickstart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#rails4-quickstart

gems:

editables for production

  • config/production.rb
config.action_mailer.default_url_options = {:host => 'mail-server-here'}
  • config/initializers/devise.rb
config.mailer_sender = '[email protected]'
  • edit any model for the number of items displayed per page
paginates_per 5
  • or edit initializers/kaminari_config.rb for site-wide pagination configs
config.default_per_page = 25
  • set individual page titles (optional, on any view)
- title 'Your Page Title Here'

deploy gotchas

deploying for webfaction

  • enable rubyracer

deploying for heroku

  • disable Capistrano
  • disable rubyracer

About

quick start for RoR developers with the most widely-used gems and configurations for Rails 4, with branches to adapt to different databases or templating engines

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published