On 26 November 2010 21:03, Kostas L. <loup...@gmail.com> wrote:
> 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%>

Is there a t_login column in the UserSession table?
Are you sure?  Did you remember to run the migration to add it?
If the answer is yes then please post schema.rb and user_session.rb
If that is large then use pastie.org

Colin

-- 
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