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.

fhirzall's latest activity

Saturday, December 18 2010
6187 PostgreSQL and Rails 3.0.3 migrations fail with index name length > 64 chars was updated in Ruby on Rails
  • fhirzall
    fhirzall commented at 11:52 AM

    IMO the best way to handle this is to truncate the index name and display a warning to the user. My reasoning is that an exception will break many existing apps...

Friday, December 17 2010
6187 PostgreSQL and Rails 3.0.3 migrations fail with index name length > 64 chars was updated in Ruby on Rails
  • fhirzall
    fhirzall commented at 3:14 PM

    I understand that PG cuts it off, but doesn't it make more sense that rails not throw an exception and continue running migrations? This behavior breaks several...

  • fhirzall
    fhirzall created the ticket at 1:54 PM

    As of 3.0.3, add_index fails if the generated index is longer than 64 chars: I've confirmed that rolling back to rails 3.0.1 does not cause the same problem:


    a...