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.

Michał Łomnicki's latest activity

Saturday, February 05 2011
6378 PostgreSQL support for bulk alter table was created in Ruby on Rails
  • Michał Łomnicki
    Michał Łomnicki created the ticket at 7:55 PM

    Bulk alter table allows to do multiple schema changes using one statement. This is both atomic and more efficient than traditional method.

    @@@sql
    ALTER TABLE u...
Thursday, January 13 2011
6282 PostgreSQL and functional indexes was updated in Ruby on Rails
  • Michał Łomnicki
    Michał Łomnicki commented at 9:14 AM

    It's not ActiveRecord issue. You should use config.active_record.schema_format = :sql when using expressions like (lower((email)::text)).

    You would also take a ...

Wednesday, January 12 2011
4347 Add foreign key support to migrations and schema.rb dump was updated in Ruby on Rails
  • Michał Łomnicki
    Michał Łomnicki commented at 11:39 AM

    +1 for foreign keys

    It is absolute must-have for ActiveRecord. Foreign keys are the only way to keep relations consistent as validations are prone to race condi...

Monday, December 20 2010
6199 has_many :dependent => :deny was updated in Ruby on Rails
Sunday, December 12 2010
6089 Can't overwrite select for has_many through was updated in Ruby on Rails
  • Michał Łomnicki
    • Tag changed from activerecord rails3, has_many_through, select to activerecord rails3, has_many_through, patch, select
    by Michał Łomnicki at 12:50 AM

    I've prepared patch and test case for this issue

Tuesday, November 30 2010
4317 Inconsistent method_defined? behaviour was updated in Ruby on Rails
  • Michał Łomnicki
    • Title changed from Inconsistent method_defined? bevahiour to Inconsistent method_defined? behaviour
    by Michał Łomnicki at 12:30 PM
6089 Can't overwrite select for has_many through was created in Ruby on Rails
  • Michał Łomnicki
    Michał Łomnicki created the ticket at 12:25 PM

    rails 3.0.3
    ruby 1.9.2p53

    Using association.select('...') for has_many through appends columns instead of overwriting them. With rails 2.3 it works as intended

    ...
Saturday, April 03 2010
4317 Inconsistent method_defined? bevahiour was updated in Ruby on Rails
  • Michał Łomnicki
    Michał Łomnicki commented at 3:03 AM

    Please change typo in the title if it's possible

  • Michał Łomnicki
    Michał Łomnicki created the ticket at 1:25 AM

    Attribute methods of ActiveRecord classes are created via method_missing but take care only for handling respond_to? properly.
    For example method_defined? or in...