Hi,
i have installed Authlogic using gem "authlogic" in the gemfile. I
also run bundle install and i did not got an error.

I have created an new application from scratch and now i get the
following error:
NoMethodError in User_sessions#new

Showing G:/.../AuthlogicTest/app/views/user_sessions/new.html.erb
where line #6 raised:

Model UserSession does not respond to t_login
Extracted source (around line #6):

3: <%= form_for @user_session, :url => {:action => "create"} do |f|%>
4: <%= f.error_messages%>
5:     <%= f.label :t_login%>
6:     <%= f.text_field :t_login%>
7:     <%= f.label :t_password%>
8:     <%= f.password_field :t_password%>
9:   <%div%>

I havent found a sollution yet......

Any ideas??
Thank you again

On Nov 21, 9:55 pm, "Arailsdemo A." <li...@ruby-forum.com> wrote:
> Uninitialized constant usually means that the the module hasn't been
> loaded into the Rails environment.  Adding an initializer file might fix
> it, but it seems to me that this shouldn't be necessary withAuthlogic.
> Make sure you're using the most updated version ofAuthlogic.
>
> # config/initializers/authlogic.rb
> require 'authlogic'
>
> --
> Posted viahttp://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to