RailsCasts Pro episodes are now free!

Learn more or hide this

Gant Laborde's Profile

GitHub User: GantMan

Site: http://www.IconoclastLabs.com

Comments by Gant Laborde


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.


Awesome Stuff!

No worries on the length, please do follow up casts!

I've learned a ton!