#105 ✓resolved
Devin Christensen

Association ordering fails from search object

Reported by Devin Christensen | July 23rd, 2009 @ 08:01 PM

The following test fails.

  it "should work as an option passed to search" do

%w(bjohnson zelnog thunt).each { |username| Order.create!(:user => User.create!(:username => username)) }
Order.search(:order => 'descend_by_user_username').all.should == Order.descend_by_user_username.all




Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Provides common named scopes and object based searching.

People watching this ticket