Jens Kraemer wrote:
>
> the right place is the second argument hash of find_by_contents:
>
> Model.find_by_contents(query, {}, { :select => 'id' })
> I didn't ever try with select but if it's a valid option to find :all,
> it should work.
>
> Jens
>
i tried with this: self.find_by_contents(query, options, {:select =>
'users.nick', :include => [:user, :categories]}) and it doesn't work..
:(
--
Posted via http://www.ruby-forum.com/.
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk