On Dec 14, 2009, at 5:37 PM, blueHandTalking wrote: > Regarding the 'if', I thought if Blog.find_all_by_project_id(params > [:id]) > returned 0 records, then @blogs is nil.
It *shouldn't*, and doesn't do so over here on Rails 2.3.5; I don't recall a bug like that in 2.2.x either. > ...anyway I am just trying to find how many records are in @blogs, > I thought @blogs.size would give me that. It should - maybe the value in params[:id] isn't what you expect? --Matt Jones -- You received this message because you are subscribed to the Google Groups "Hobo Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/hobousers?hl=en.
