> I'm muddling through my first rails application, and decided to use the
> Login Engine to handle user authentication. Now, according to the
> README, I should be able to "use current_user method provided by
> UserHelper", like so:
> 
>           Welcome <%= current_user.name %>
> 
> I've put that line in my application.rhtml, and return the following 
> error:

Bit of a late reply but I just ran into the exact same problem.

The LoginEngine README is *wrong*. There is no "name" field for 
current_user. Use current_user.login instead and it will work just fine.

Carl

-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
engine-users mailing list
[email protected]
http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org

Reply via email to