Forum: Ruby on Rails it's bug?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
E13ba8e702211be152c640df2d8e141f?d=identicon&s=25 joe-black (Guest)
on 2005-12-08 20:02
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)
12aa0c72e4bebe3b2966574874b6fa7f?d=identicon&s=25 thoran (Guest)
on 2005-12-17 07:41
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?
Ce60c4f78a63b0695e4dafc4bd7964f7?d=identicon&s=25 Lou Vanek (Guest)
on 2005-12-17 14:45
(Received via mailing list)
:group works for me.  AR 1.13.2 (latest gems).
F1e18f46730dfb1df2f93e5ff5d53bce?d=identicon&s=25 thoran (Guest)
on 2005-12-20 01:47
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.
This topic is locked and can not be replied to.