Hi all, I have very basic error that i have no idea how to show

I have user table
id
name
add
phone number


then i select all in user table
using => @users = User.all

=> @users.name

it gives me undefined method name Array<.....>

Please give me some advice..


Thanks

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to