I am trying to test my default scope line in a model. My test is as follows: it 'orders by ascending name by default' do expect(Coaster.scoped.to_sql).to eq Coaster.order(:name).to_sql end My error is: expected: "SELECT \"coasters\".* FROM \"coasters\" ORDER BY name ASC, name" got: "SELECT \"coasters\".* FROM \"coasters\" ORDER BY name ASC" What does the , name part at the end of the first line of