RTrain
#Rails Downloadable Content (DLC) Expansion Pack Adds better CSS to scaffold, HTML navigation, more features are in the pipe, so stay tuned ... DLC Season Pass Coming Soon Too!
#How to use RTrain
It is HIGHLY recommended that developers using RTrain execute these generator commands in sequence, and to always scaffold generate all models!!!
Put this in your Gemfile
gem 'rtrain'
Then bundle install
After generating a scaffold, enter any of these into the command line:
rails generate rtrain:install --copy_css
Turns your basic scaffold into something that's at least tolerable to look at!
Add a sweet nav bar!
rails generate rtrain:install --add_nav
Add a home page controller and view, and set it as the root
rails generate rtrain:install --add_homepage
Add User Authentication Sessions (email & password login)
rails generate rtrain:install --add_user_sessions
Special thanks to Justin Weiss for the template - http://www.justinweiss.com/articles/how-rails-sessions-work/
Add Ajax Crud (no page refreshes on create, update, or destroy!)
rails generate rtrain:install --ajaxify
Special thanks to Rich on Rails for the template - https://richonrails.com/articles/basic-ajax-in-ruby-on-rails