Help with Salted Login Generator, error: undefined method 'l



I’m trying to get this generator to work, and I followed the steps
detailed here:

But whenever I try to open for example, /user/signup, I get that error.

I’ve searched on Google, but no one seems to have the same problem, so
could you help me out?


Ivan V.


Did you definitely perform step 4? The login_required method is
defined (as far as I remember) in /lib/user_system.rb, so you need to
be absolutely sure that this file has been loaded, and that the
UserSystem module has been included into the ApplicationController

  • james


Heh. Somehow I forgot copying the first two lines… LOL

Thanks for pointing out my mistake.

Ivan V.