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

Wednesday, November 24 2010
4538 ActiveRecord.clone does not clear out timestamps was updated in Ruby on Rails
Thursday, November 18 2010
4840 to_xml doesn't work in such case: Event.select('title as t').to_xml was updated in Ruby on Rails
  • Cesario
    Cesario commented at 8:23 AM

    And here's a gist if you wanna have the patch directly

    https://gist.github.com/704770

  • Cesario
    Cesario commented at 8:09 AM

    I just can't attach any file, that's probably why I kept triggering pull requests instead of discussing the issues here last time... here's my branch on GH http...

  • Cesario
    • Tag set to rails 3.0.0, activecord, serialization, xml
    by Cesario at 8:05 AM

    Here's a patch that includes knoopx's one, and the required test.

Saturday, November 13 2010
2667 xhr clobbers id param on non-REST routes was updated in Ruby on Rails
  • Cesario
    Cesario commented at 11:56 PM

    Sam, Michael,

    Do you think this branch and especially that commit reproduces the bug you mention?

    If so, the tests pass and there's no more bug on Rails edge.

5966 Association proxy does not forward missing methods to the actual instance was updated in Ruby on Rails
  • Cesario
    • Tag set to active record, 3.0
    by Cesario at 8:21 PM

    Hi,

    Your commit makes the tests go read.

    The problem with defining method with method_missing is that @target.respond_to?(method) (in the association proxy piec...

5961 Problems when working with a model which has a non-default primary key, but s... was updated in Ruby on Rails
  • Cesario
    Cesario commented at 12:09 AM

    I just had a look at that and I believe this is actually the expected behavior.

    activerecord/attribute_methods/write.rb#L19:

      # Updates the attribute identifi...
Friday, November 12 2010
5897 exists? should not instantiate a record was updated in Ruby on Rails
  • Cesario
    Cesario commented at 9:23 PM

    No luck in trying to reproduce that one unfortunately. :/

  • Cesario
    Cesario commented at 6:19 PM

    There's an extension on the belong_to :author association but nothing more than that.
    Yes the piece of code you mention is being called.
    About the published att...

  • Cesario
    Cesario commented at 5:55 PM

    @Jose: i wanted to work on that but I can't reproduce it with

    def test_exists_with_scopes
      assert_nothing_raised do
        authors(:david).posts.containing_the_l...