Wednesday, August 4, 2010

[Rails] Re: Need syntax help for the conditions argument in the find (ie Active Record) method

hi, Frederick,

I was hoping to be able to mix hash and array conditions.
After all, in an array , we could have hash element conditions.

Anyway, your feedback along with my trials on the console further
confirms that it cannot be done.

I have fixed the problem in another manner (ie. use a clause for
"live" status entries only).


Thanks :)

Case closed :)

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate