> Rails' default is that the table name is a plural version of the model
> name.  That's because the Model typically represents a single record
> from a table.  So the table named Users holds lots of records that are
> access via the User model.

Im sorry the table name is users...here is the error message:
NoMethodError in MemberController#index

undefined method `+' for #<User:0x44d3ca4>

RAILS_ROOT: C:/Ruby/MyProjects/ipod-give-away.com
Application Trace | Framework Trace | Full Trace

C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/attribute_methods.rb:260:in
 
`method_missing'
app/controllers/member_controller.rb:4:in `index'

Request

Parameters:

{"l"=>"ballhogjoni"}

Show session dump

Response

Headers:

{"cookie"=>[],
 "Content-Type"=>"",
 "Cache-Control"=>"no-cache"}
-- 
Posted via http://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-talk@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