RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: GantMan
If you're going to session, why not store the whole thing in session, and then add it to their account upon sign up?
No guest accounts needed.
Just a heads up, I'm adding this to a Rails 4 project and the params slice portion (e.g.)
event.attributes = params.slice(:name, :location, :about, :start, :end)
Is resulting in ActiveModel::ForbiddenAttributesError
Seems mass assignment protection might still need to be cared for even though I'm not delegating any security-critical properties.
No worries on the length, please do follow up casts!
I've learned a ton!