Incite
Random Internet Person · Not a member
Incite's latest activity
Tuesday, March 23 2010
3252
add_index on postgresql with long index names: migrations fail with Input str...
was updated
in Ruby on Rails
-
Incite commented at 12:23 AMYou can find PG defaults in pg_config_manual.h which should generally be available since you need postgres headers to install the gem. Specifically, NAMEDATALEN
Monday, August 25 2008
222
named_scope :order on association with :order is unintuitive
was updated
in Ruby on Rails
-
Incite commented at 10:30 PMYes, the named scope ordering beats associations/finds with my changes.
One problem being that in our tests, it's only base.rb#construct_finder_sql that calls ...
-
Incite commented at 4:07 PMHenrik,
You can get the test working by ordering by 'comments.body', and changing the add_order! function in active_record/base.rb, as attached. It assumes you...
-
Friday, August 22 2008
222
named_scope :order on association with :order is unintuitive
was updated
in Ruby on Rails
-
Incite commented at 9:58 AMI've come across similar.. in my case I didn't get a comma separated order statement, just the first order param passed in the scope chain.
The attached patch ...