Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

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
    Incite commented at 12:23 AM

    You 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
    Incite commented at 10:30 PM

    Yes, 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
    Incite commented at 4:07 PM

    Henrik,

    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...

  • Incite
    Incite commented at 2:12 AM

    Here are some tests.

Friday, August 22 2008
222 named_scope :order on association with :order is unintuitive was updated in Ruby on Rails
  • Incite
    Incite commented at 9:58 AM

    I'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 ...