:include => :works, :select => ...

Helder Oliveira
Wed, 21 Feb 2007 16:01:22 -0000

@c = Client.find(  :all,
      :select => ''denominacao'',
      :include => :works,
      :conditions => ''works.estado = 1'')

im trying to get only one field "denominacao" but i get them all, is
there a way to get only one, using activerecord ofc...

--
Posted via http://www.ruby-forum.com/.