i have this error .. when i try to take a value from other table. plus, in the terminal, it shows "select "users".* from users.
picture - album one-to-many relationship
picture - album one-to-many relationship
Code:
def self.pic Picture.all(joins => :album, :select => "album.image" ) end
Code:
Code:
//controller
def show
@user= User.all
@me = User.pic
end