RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: ktaragorn
User creation needs to be modified slightly to play nicely with the new strong parameters in Rails 4. This error happens in 4.1.5 and might have been recent.
Issue and fix at stackoverflow
where(auth.slice(:provider, :uid)) needs to be where(provider: auth.provider, uid: auth.uid)
where(auth.slice(:provider, :uid))
where(provider: auth.provider, uid: auth.uid)
User creation needs to be modified slightly to play nicely with the new strong parameters in Rails 4. This error happens in 4.1.5 and might have been recent.
Issue and fix at stackoverflow
where(auth.slice(:provider, :uid))
needs to bewhere(provider: auth.provider, uid: auth.uid)