You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi. my app in ruby on rails 3.1.3 after login with authlogic_facebook_connect no redirect to root_url. My button code is:
<%= authlogic_facebook_login_button( "Facebook",:controller=>"user_sessions").html_safe %>
No make the login by post with 'user_sessions'. stay in form login.
Started POST "/user_sessions" for ::ffff:187.155.37.77 at Tue Jan 17 04:15:08 +0000 2012
Processing by UserSessionsController#create as HTML
Parameters: {"authenticity_token"=>"THE TOKEN JAJAJAJA"}
Completed 500 Internal Server Error in 1497ms
NoMethodError (undefined method `on' for #<Authlogic::Session::Validation::Errors:0x4093d60>):
app/controllers/user_sessions_controller.rb:22:in `create'
app/controllers/user_sessions_controller.rb:21:in `create'
My method create on user_sessions is:
def create
@user_session = UserSession.new(params[:user_session])
respond_to do |format|
if @user_session.save
format.html { redirect_to(:users, :notice => 'User session was successfully created.') }
format.xml { render :xml => @user_session, :status => :created, :location => @user_session }
else
format.html { render :action => "new" }
format.xml { render :xml => @user_session.errors, :status => :unprocessable_entity }
end
end
end
Hi. my app in ruby on rails 3.1.3 after login with authlogic_facebook_connect no redirect to root_url. My button code is:
<%= authlogic_facebook_login_button( "Facebook",:controller=>"user_sessions").html_safe %>
No make the login by post with 'user_sessions'. stay in form login.
My code of form login is:
I have my app of facebook created and app_id, secret, api_key. Nor do I see the new application in my facebook
The text was updated successfully, but these errors were encountered: