Just a day into hobo now I think it's great but got a small problem. User session are running with hobo, can't get current_user. I can login in to my site as normal without adding the line
session[:user] = user.typed_id
def create
@user_session = UserSession.new(params[:user_session])
session[:user] = user.typed_id
if @user_session.save
flash.now[:notice] = "You have logged in!"
redirect_to root_url
else
render :action => 'new'
end
end
But when I do add this line it causes the login to break. The user guest/admin selector disappears.
What am I doing wrong here? Regards Dan