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


#1

Hi,

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

http://wiki.rubyonrails.com/rails/pages/SaltedLoginGeneratorQuickstart

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?

Thanks!

Ivan V.


#2

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
class

  • james

#3

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

Thanks for pointing out my mistake.

Ivan V.