Support Requests: Browse | Submit New | Admin

[#14829] Undefined method 'l' called by #{RAILS_ROOT}/app/helpers/user_helper.rb:36:in `form_input'

Date:
2007-10-18 03:34
Priority:
3
Submitted By:
kuolai shu (kuolai)
Assigned To:
Nobody (None)
Category:
None
State:
Open
Summary:
Undefined method 'l' called by #{RAILS_ROOT}/app/helpers/user_helper.rb:36:in `form_input'

Detailed description
1. Could someone help me solve the problem "undefined method 'l'" during the startup of a login session?

2. [Background]
I did 
gem install --source http://gems.rubyforge.org salted_login_generator
Created a database User (mysql) associate with User model
Started a server
Invoked ..:3000/myproject/login

3. [Bug description] I got 

 Showing app/views/user/login.rhtml where line #7 raised:

undefined method `l' for #<#<Class:0x477b204>:0x477b1dc>

The trace says:
#{RAILS_ROOT}/app/helpers/user_helper.rb:36:in `form_input'
#{RAILS_ROOT}/app/views/user/login.rhtml:7:in `_run_rhtml_47app47views47user47login46rhtml'
#{RAILS_ROOT}/app/controllers/user_controller.rb:172:in `generate_blank'
#{RAILS_ROOT}/app/controllers/user_controller.rb:6:in `login'
//10.18.2007

Add A Comment: Notepad

Please login


Followup

Message
Date: 2008-05-02 12:35
Sender: Nathan Schmitz

I've gotten the same bug, using rails 2.02 and ruby 1.86 on a
windows system, using version 2.02 of the plugin.

Removing the 'l' (and a few other characters), making the ruby
valid is a quick hack fix, additionally I had to require the
session_environment.rb to make sure the constants get
initialized.
Date: 2008-02-16 20:24
Sender: François Lagunas

Please check the new version, compatible with rails 2.0!

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

No Changes Have Been Made to This Item