Sha256: 3c74e87b579af479b05011b5de773b2d9bf4e4e5c92301344300ef8abce2f227
Contents?: true
Size: 1.54 KB
Versions: 1
Compression:
Stored size: 1.54 KB
Contents
# RTrain  _Ugh._ #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', '~> 0.2.6' ``` Then `bundle install` **After generating a scaffold, enter any of these into the command line:** ``` rails generate rtrain:install --copy_css ``` (http://i.imgur.com/xzbeMWC.png) _Oooooooooooooo!_ Turns your basic scaffold into something that's at least tolerable to look at! **Add a sweet nav bar!** ``` rails generate rtrain:install --copy_css ``` (http://i.imgur.com/hywhd0t.png) **Add a home page controller and view, and set it as the root** ``` rails generate rtrain:install --add_homepage ``` (http://i.imgur.com/LuNqg3O.png) **Add User Authentication Sessions (email & password login) ``` rails generate rtrain:install --add_user_sessions ``` (http://i.imgur.com/oyNYFbz.png) 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 ``` (http://i.imgur.com/Zm2iP6W.png) Special thanks to Rich on Rails for the template - https://richonrails.com/articles/basic-ajax-in-ruby-on-rails
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rtrain-0.2.7 | README.md |