#69 ✓resolved
kgiszczak

modifiers in order_by option

Reported by kgiszczak | March 23rd, 2009 @ 10:01 AM

I need to perform query like this:


  SELECT * FROM users ORDER BY lower(name)

Currently it is imposible to generate query like this(or maybe I'm missing something?). It would by nice to use medifiers in order_by options like this


  @search.order_by = :lower_of_name

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

Pages