I use the firebird db.
I have a Users table
If in ruby user_controller I use
users = User.find(:all)
print(users)
I view
nil
Can you help me?
Thank you
Andrea
I use the firebird db.
I have a Users table
If in ruby user_controller I use
users = User.find(:all)
print(users)
I view
nil
Can you help me?
Thank you
Andrea
Gasta wrote:
I use the firebird db.
I have a Users table
If in ruby user_controller I useusers = User.find(:all)
print(users)I view
nil
Can you help me?
Thank you
Andrea
try this instead
@users = User.find(:all)
render :text => @users.to_s
or check your table if anything exist in User tabel
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs