RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: iterion
It's actually defined in Strong Parameters:
https://github.com/rails/strong_parameters/blob/master/lib/action_controller/parameters.rb#L29
twitter_id, facebook_id, linkedin_id, plus_id work for me.
Performance-wise I would say it's just extraneous joins or database calls to get the info.
If they aren't authenticated with that service the value is null.
Normalization here is not necessary due to the has_many relationship being constrained.
+1
It's actually defined in Strong Parameters:
https://github.com/rails/strong_parameters/blob/master/lib/action_controller/parameters.rb#L29
twitter_id, facebook_id, linkedin_id, plus_id work for me.
Performance-wise I would say it's just extraneous joins or database calls to get the info.
If they aren't authenticated with that service the value is null.
Normalization here is not necessary due to the has_many relationship being constrained.
+1