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.

barunio's latest activity

Friday, June 05 2009
2765 after_create callback not working as it should was created in Ruby on Rails
  • barunio
    barunio created the ticket at 3:55 AM

    I'm seeing some really weird behavior when dealing with an after_create callback in the case of polymorphic associations. I've created a really trivial applicat...

Saturday, March 28 2009
360 Dirty tracking on serialized columns is broken was updated in Ruby on Rails
  • barunio
    barunio commented at 12:01 AM

    Why was this ticket changed to 'invalid'? This is still broken as far as I can tell (yes, AR knows if the field went from nil to an array, but it still can't te...

Wednesday, January 28 2009
1810 migrations load environment twice was created in Ruby on Rails
  • barunio
    barunio created the ticket at 9:35 PM

    I've noticed that running rake:db:migrate loads the environment.rb file twice. I'm not sure if this has always been the case, or if this is intentional, but it ...

Wednesday, December 17 2008
1522 render_to_string doesn't use :locals option was updated in Ruby on Rails
  • barunio
    barunio commented at 7:46 AM

    actually, locals is accepted when rendering a template as well as a partial - but not for rendering an action, apparently. as reference, from the api docs:

    Rend...

Wednesday, December 10 2008
1522 render_to_string doesn't use :locals option was updated in Ruby on Rails
  • barunio
    barunio commented at 9:41 PM

    i thought maybe there was a change in rails 2.2 that would have made this work, but i just updated to 2.2.2 and this is still not working for me. here is some v...

Sunday, December 07 2008
1522 render_to_string doesn't use :locals option was created in Ruby on Rails
  • barunio
    barunio created the ticket at 3:35 AM

    The Rails API says of render_to_string "Renders according to the same rules as render, but returns the result in a string instead of sending it as the response ...

Tuesday, July 01 2008
519 Migration error with rails 2.1 and drop_table -- still looking for schema_info was updated in Ruby on Rails
  • barunio
    barunio commented at 2:48 AM

    hm, strange. well i just tried it again and still get that error with the exact code i've provided. are you trying this from a new rails project? (i wonder ...

  • barunio
    barunio created the ticket at 1:03 AM

    After upgrading to Rails 2.1 I noticed that migrations are broken in this way:

    I created a new migration as follows:

    class TestMigration < ActiveRecord::Mi...