pepe wrote:
> I believe I ran into something similar once some time ago. I think
> that if you enclose the column name with quotes it might take it.

Well, actually, it has to be enclosed with ticks and then with single or 
double quotes, like this...

default_scope :order => '`when`'

or

default_scope :order => "`when`"
-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to