I try to use find(:all, :group => ''XXX'' ) then rails said: "Unknown key(s): group" i think http://api.rubyonrails.com/ showed me :group is right it''s a bug ? my rails (0.14.3) -- Posted via http://www.ruby-forum.com/.
joe-black wrote:> I try to use find(:all, > :group => ''XXX'' > ) > then rails said: > "Unknown key(s): group" > > i think http://api.rubyonrails.com/ showed me :group is right > it''s a bug ? > > my rails (0.14.3)I have the same problem... Does hardly anyone use this bit of SQL? -- Posted via http://www.ruby-forum.com/.
:group works for me. AR 1.13.2 (latest gems). thoran wrote:> joe-black wrote: > >>I try to use find(:all, >> :group => ''XXX'' >> ) >>then rails said: >>"Unknown key(s): group" >> >>i think http://api.rubyonrails.com/ showed me :group is right >>it''s a bug ? >> >>my rails (0.14.3) > > > > I have the same problem... Does hardly anyone use this bit of SQL?
Lou Vanek wrote:> :group works for me. AR 1.13.2 (latest gems).Hmm, strange. I''ve submitted this as a bug (3270 from memory). I provided a workaround---well by hacking ActiveRecord::Base anyway. I couldn''t see why this shouldn''t work from the code. -- Posted via http://www.ruby-forum.com/.