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 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)
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?
:group works for me. AR 1.13.2 (latest gems).
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.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs