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.

Kane's latest activity

Friday, September 10 2010
5494 Uniqueness validator can cause error with after_initialize callback was updated in Ruby on Rails
  • Kane
    Kane commented at 5:24 PM

    I encountered this too and monkey patched it in my app.

    I used STI and wanted to deny instantiation of the base class (kind of abstract).
    This class had a valid...

Thursday, September 09 2010
5552 Relation fails to act like an Array on intersection was updated in Ruby on Rails
  • Kane
    Kane commented at 3:19 PM

    nice!

    this is exacly what i had in mind.
    No problems while appling it to current master.
    I think the test is straight forward, so is the implementation. +1 from...

Sunday, September 05 2010
5559 reload inconsistent in AR was created in Ruby on Rails
  • Kane
    Kane created the ticket at 5:27 PM

    ActiveRecord::Base#reload returns the record or throws ActiveRecord::RecordNotFound.
    But AssociationProxy#reload just catches this error and returns nil.

    I thin...

Saturday, September 04 2010
5552 Relation fails to act like an Array on intersection was created in Ruby on Rails
  • Kane
    Kane created the ticket at 5:12 PM

    ActivceRecord::Relations tries hard to act like an Array, but it fails when it comes to intersection (#&).

    Test appended.

5313 Rake tasks db:create and db:drop are not consistent in behaviour was updated in Ruby on Rails
  • Kane
    Kane commented at 4:40 PM

    i encountered this too, see #5382

Monday, August 23 2010
5428 establish_connection causes ActiveRecord::StatementInvalid: SQLite3::BusyExce... was updated in Ruby on Rails
  • Kane
    Kane commented at 4:59 PM

    related / duplicate to #5054

5382 rake db:create does not do what the description says was updated in Ruby on Rails
Saturday, August 21 2010
5423 Bug in before_validation "[FATAL] failed to allocate memory" was updated in Ruby on Rails
  • Kane
    Kane commented at 5:31 PM

    are you serious?

    you call "valid?" in a callback for it and wonder why you get stack level to deep?!

Sunday, August 15 2010
5216 find_by_id isn't working was updated in Ruby on Rails
  • Kane
    Kane commented at 4:15 PM

    if the dynamic finders are changed so that find_by_id works even if the primary_key is foo_id then this change should support aliasing as a whole. it would only...

5382 rake db:create does not do what the description says was created in Ruby on Rails