From: Ryan Davis Date: 2012-06-20T11:45:09+09:00 Subject: Re: activerecord without rails On Jun 19, 2012, at 19:16 , brent brent wrote: > def check_has_many > user = User.find(:first) > puts user.problems.desc > end you're calling desc on the result of #problems, an empty result set. > sqlite> select * from problems; > 1||first problem > 2||it went > 3||this is a new problem > 4||this is a new problem again None of these have user_id values.