Not sure I get the question. What's wrong with?
@gardens = Garden.find(:all, :conditions => { :user_id => user.id})
Ideally user would has_many :gardens, then you can just do
@gardens = user.gardens.
Fred
Not sure I get the question. What's wrong with?
@gardens = Garden.find(:all, :conditions => { :user_id => user.id})
Ideally user would has_many :gardens, then you can just do
@gardens = user.gardens.
Fred