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.

Cesario's latest activity

Saturday, October 23 2010
5855 HABTM relation & update_attributes was updated in Ruby on Rails
  • Cesario
    • Tag set to activerecord 3.0, 3.0
    by Cesario at 1:51 PM
  • Cesario
    Cesario commented at 1:50 PM

    Hi Phil,
    I can't reproduce this behavior locally. Do you have specific validation method somewhere that could be interesting to look at?

Saturday, May 15 2010
4538 ActiveRecord.clone does not clear out timestamps was updated in Ruby on Rails
  • Cesario
    Cesario commented at 6:29 PM

    Jeremy: dup is already preserving the timestamps (it's not using initialize_copy).

  • Cesario
    Cesario commented at 7:54 AM

    Here's a more complete patch, that takes into account the comment made by pleax.

    Neeraj, from what I've learned so far, AR::Base does not override clone (or dup...

Friday, May 14 2010
4538 ActiveRecord.clone does not clear out timestamps was updated in Ruby on Rails
  • Cesario
    • Tag changed from activerecord, bugmash, patch to 3.0.0.beta3, activerecord, bugmash, patch
    by Cesario at 8:50 AM
Saturday, May 08 2010
4538 ActiveRecord.clone does not clear out timestamps was updated in Ruby on Rails
  • Cesario
    • Tag set to activerecord, patch
    by Cesario at 11:48 AM

    Here's a patch against master. It's forcing updated_at, updated_on, created_at and created_on to nil on the clone object.

Friday, April 09 2010
4353 Router feature request was updated in Ruby on Rails
  • Cesario
    Cesario commented at 8:28 AM

    Could you give a shot with ":as" ?

    MyApp::Application.routes.draw do |map|
      resources :nodes, :as => 'n'
    end
    
Thursday, April 08 2010
4263 Unit test fails when using non-standard table names was updated in Ruby on Rails
  • Cesario
    Cesario commented at 5:07 PM

    I tried to update the documentation with this patch. Tell me if this is enough.