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

Tuesday, May 03 2011
6767 "Returning ID" does not work due to trigger was updated in Ruby on Rails
  • Kane
    Kane commented at 3:17 PM

    i dont get it. why dont you just change your trigger to return the id?

    also i dont quite get the last part

    However, I suggest that Rails should never return a ...

Wednesday, April 06 2011
4655 add _delete key for accepts_nested_attributes_for ? was updated in Ruby on Rails
  • Kane
    Kane commented at 4:26 PM

    I see.

    It would be nive if :destroy and :delete would behave exactly as calling the corresponding methods on the association.

  • Kane
    Kane commented at 12:30 AM

    alberto

    This request seems to have sense to me, since I agree with you there is no simple way

    This request does not make any sense to me.
    it does what it says...

5621 db tasks do not work with jdbcpostgresql was updated in Ruby on Rails
  • Kane
    • State changed from stale to open
    by Kane at 1:29 AM

    [state:open]

    this is still an issue.
    For example i cant drop the database, it silently fails under jruby.

    I would love to do something about it, but since i alr...

6673 Scoped uniqueness validation of associated objects was updated in Ruby on Rails
  • Kane
    Kane commented at 12:38 AM

    can you supply a failing test case?

Tuesday, March 29 2011
5494 Uniqueness validator can cause error with after_initialize callback was updated in Ruby on Rails
Sunday, March 27 2011
6629 HABTM destroy deletes record before associated records was updated in Ruby on Rails
  • Kane
    Kane commented at 6:41 PM

    I dont like the test, it has no assertions and the checking is done in the model

Wednesday, March 23 2011
6562 HABTM join tables cleared on destroy even if a before_destroy says don't was updated in Ruby on Rails
  • Kane
    Kane commented at 2:24 PM

    You are right, this is a seperate issue or should be addressed in #4386.

  • Kane
    Kane commented at 1:00 AM

    It seems this patch changes the current behavior such that the exception isn't re-raised.

    isnt this the expceted behaviour if ActiveRecord::Rollback is raised...

Thursday, October 28 2010
5861 find_each and find_in_batches assumes that primary key is a number was updated in Ruby on Rails
  • Kane
    Kane commented at 6:19 PM

    i agree with robert