when i used the command
User.create(:name => "admin",:user => "admin",:pass=> "123")
it gives me the same error
but then i used the command
Users.create(:name => "admin",:user => "admin",:pass=> "123")
it not gave me any error
now when i tried to use the command Rails c  then Users.All
to show the data from the command screen
it gave me the error ( unintialized constant Ur)

-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/eda31d7813311d395706c0d967414601%40ruby-forum.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to