-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Apr 8, 2008, at 8:18 AM, Mariko C. wrote: > So in my older build, code like this would work fine: > inbox = user.messages.find(:all, :conditions=>{:outbox => > false}, :order > => "date DESC", :limit => limit, :offset => offset) > > as well as something like this: > > @tokens = Item.find(:all, :conditions=>{:item_type => "token", :market > => true}).sort_by {|u| u.refname.downcase} > > Now all I'm getting are errors like this: > Mysql::Error: Unknown column 'item_typetokenmarkettrue' in 'where > clause': SELECT * FROM items WHERE (item_typetokenmarkettrue) > > > > I'm not sure to find how to fix this, does anyone know? Thanks for the > help. > -- > Posted via http://www.ruby-forum.com/. > Hi, there is no such thing as Ruby 2.0. I think you are talking about the framework Rails. The Mailing List can be found here: http://www.ruby-forum.com/forum/3 I have the impression that this is indeed a bug, bit the Rails guys will be able to help you. Greetings Florian Gilcher -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (Darwin) iEYEARECAAYFAkf7D6sACgkQJA/zY0IIRZZwnQCeJ/n7UAsAwlr5wyp1DyenVI/r dd8AnRd9Fw83m1P6SWGCmB+f0YZCmpB8 =VN+p -----END PGP SIGNATURE-----