[Rails] UNCLE!!!

Dale K. Hawkins dkhawk at gmail.com
Tue Feb 1 12:27:28 GMT 2005


To answer a question with a question:

Do you have any reason to believe the search should _not_ return an empty set?
(Copy the query from the log and see what you get -- "Use the Logs, Luke")

Also, do you mean a ruby nil, or an empty array?

On Mon, 31 Jan 2005 21:48:56 -0600, James G. Stallings II
<twitch at mw.merseine.nu> wrote:
> 
> > From a newbie, but couldn't you just use:
> >
> > Project.find_all_by_post_id('condition')
> > _______________________________________________
> > Rails mailing list
> > Rails at lists.rubyonrails.org
> > http://lists.rubyonrails.org/mailman/listinfo/rails
> 
> 
> Yeah that approximates what I have going now, but for some reason the
> search returns an empty set (nil object).
> 
> I'm trying to figure out why now
> 
> Thanks for the suggestion, its on target :)
> 
> Twitch
> 
> _______________________________________________
> Rails mailing list
> Rails at lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
> 


-- 
This is my sig.  Isn't it cool....


More information about the Rails mailing list