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.

Bob Lail's latest activity

Saturday, January 22 2011
5875 render_to_string :json (or :xml or :update) before render results in DoubleRe... was updated in Ruby on Rails
  • Bob Lail
    Bob Lail commented at 6:52 PM

    (oops. Good call, José.)

  • Bob Lail
    Bob Lail commented at 6:52 PM

    (oops. Good call, José.)

Tuesday, January 11 2011
6109 ActiveRecord serialization throws SerializationTypeMismatch if I try to seria... was updated in Ruby on Rails
  • Bob Lail
    Bob Lail commented at 5:15 PM

    BTW, a short test for the problem is:

    YAML.load "--- \n- &id001 !ruby/object:MonthlyOccurrence \n errors: !ruby/object:ActiveModel::Errors\n base: *id001\n hash...

  • Bob Lail
    • Tag set to workaround yaml serialize 3.0.3 issue
    by Bob Lail at 5:12 PM

    A workaround for Rails 3.0.3:

    I spent a while scanning through commit between July 28 and December 4 and could not find a patch that atomically fixed this.

    If y...

Thursday, December 30 2010
5875 render_to_string :json (or :xml or :update) before render results in DoubleRe... was updated in Ruby on Rails
  • Bob Lail
    • Tag set to actioncontroller workaround doublerendererror render bug
    by Bob Lail at 8:31 PM

    Although abstract_controller/rendering.rb:91 would lead you to believe that response_body is only set when you call render (and not when you call render_to_str...

5646 validates_associated throws 'can't modify frozen object' error was updated in Ruby on Rails
Wednesday, June 09 2010
4814 Rails 3.0b3 and 3.0b4: :as option in resource router fails was created in Ruby on Rails
  • Bob Lail
    Bob Lail created the ticket at 7:35 PM

    In Rails 2.3.5,

    1. create an app
    2. ./script/generate scaffold Post title:string body:string
    3. In routes.rb, add :as => :widgets to map.resources :posts
    4. http://localho...
Friday, April 30 2010
4411 rails.js on body.observe('submit',...) but submit doesn't bubble in IE was updated in Ruby on Rails
  • Bob Lail
    Bob Lail commented at 2:58 AM

    Sorry for the delay --- I finally got some free time to double-check --- the solution does work for a form containing nothing but a button in IE8 and in IE8 run...

Friday, April 23 2010
4411 rails.js on body.observe('submit',...) but submit doesn't bubble in IE was updated in Ruby on Rails
  • Bob Lail
    Bob Lail commented at 7:20 PM

    Mislav,

    I'm pretty sure one of my tests was with a button_to --- and 'focusin' was fired before 'click' and 'submit'. But I'll double-check. I'll post back in a...

Saturday, April 17 2010
4411 rails.js on body.observe('submit',...) but submit doesn't bubble in IE was updated in Ruby on Rails
  • Bob Lail
    Bob Lail commented at 3:11 PM

    Fixed a syntax error in the previous patch.