It's bug?


#1

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)


#2

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?


#3

:group works for me. AR 1.13.2 (latest gems).


#4

Lou V. 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.