railsbridge/docs — pull request #214 by jedschneider (2013-07-14 14:00:13+00:00)
Title: Rails 4 routing and attr_accessible changes

In the Savannah RailsBridge Workshop we ran into a couple issues. These are proposed changes to accomodate changes to the Rails 4.x api. @kplawver, @mjstahl, do these changes reflect the issues correctly? Anything I forgot to change? Thanks.

* Routing
** Rails 4 moved the root example from bottom to top of routes file
** the static index.html page is now a dynamic file at welcome#index and not a static file in public

* attr_accessible
** Rails 4 has moved Mass Assignment responsibilities to an external gem
** In order to mass assign object attributes through a model you have to add the strong_paramters gem