RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: petergill
Sorry for double post, but that's obviously:
user = User.new user.apply_omniauth(omniauth)
in the authentications controller, not registrations
I'm getting:
undefined method 'apply_omniauth' for #<User:0x007f84ec10b940>
when calling:
user.new user.apply_omniauth(omniauth)
in the registrations controller.
Is there a better way of doing this via the methods in Ryans later episode? http://railscasts.com/episodes/235-devise-and-omniauth-revised
I had a problem using fragment caching when calling the partial in response to javascript i.e. in index.js.erb and using <%= j render @collection %>
I was getting a response, but the javascript to append the response to the page just didn't fire
Sorry for double post, but that's obviously:
user = User.new user.apply_omniauth(omniauth)
in the authentications controller, not registrations
I'm getting:
undefined method 'apply_omniauth' for #<User:0x007f84ec10b940>
when calling:
in the registrations controller.
Is there a better way of doing this via the methods in Ryans later episode? http://railscasts.com/episodes/235-devise-and-omniauth-revised
I had a problem using fragment caching when calling the partial in response to javascript i.e. in index.js.erb and using <%= j render @collection %>
I was getting a response, but the javascript to append the response to the page just didn't fire