ordering collections not working

2011-02-28 Thread mmmmbeeeeer
Hi I have a strange problem which I'm hoping someone might be able to shed some light on. I have a Rails app with two (relevant) classes: class Category ActiveRecord::Base has_many :businesses has_and_belongs_to_many :features, :order = Name end and class Feature ActiveRecord::Base

Re: ordering collections not working

2011-02-28 Thread mmmmbeeeeer
Thanks Ben, It's definitely Name with an upper case 'N' ... On Mar 1, 10:56 am, Ben Scofield b...@heroku.com wrote: Postgres is case sensitive, so might it be that your column is actually name with a lowercase n? On Feb 28, 5:54 pm, ber peter.whitfi...@viz.com.au wrote: Hi I