RailsCasts Pro episodes are now free!

Learn more or hide this

Rajib Ahmed's Profile

GitHub User: rajibahmed

Site: http://rajib.me

Comments by Rajib Ahmed

Avatar

hi,
I was having some issues thought i might share it here.
I am working on a rails3.1.0.rc6 app using the latest Omniauth gem to authentication user by tiwtter and facebook

But like the demo here on

ruby
def create 
  render :text=>request.env['omniauth.auth'].to_yaml
end

is giving null response

but changing it to

ruby
def create(auth=request.env['omniauth.auth'])
  render :text=>auth.to_yaml
end

seems to work fine.
I am not sure why this is happening

Avatar

Your just too awesome !! I am blind with true awesomeness :)

Avatar

@Ryan,

Does eventmachine serve the same purpose? And when will you use eventmachine?

Great information :)