Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Gant Laborde's Profile

GitHub User: GantMan

Site: http://www.IconoclastLabs.com

Comments by Gant Laborde

Avatar

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.

Avatar

Just a heads up, I'm adding this to a Rails 4 project and the params slice portion (e.g.)

ruby
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.

Avatar

Awesome Stuff!

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

I've learned a ton!