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.

Jarred Nicholls's latest activity

Monday, December 21 2009
3497 JRuby - FlashHash not saving in session when storing ActiveRecord items was updated in Ruby on Rails
  • Jarred Nicholls
    Jarred Nicholls commented at 9:10 PM

    Yeah, I actually did the same thing as the attached patch, but that opened up many more cans of worms. The fundamental issue is that the flash hash ceases to (d...

Friday, December 11 2009
610 ActiveRecord to_json doesn't invoke :include's to_json was updated in Ruby on Rails
  • Jarred Nicholls
    Jarred Nicholls commented at 1:37 PM

    Well I have 2.3.5 and this was not addressed. See my solution above - I just overwrote the function that determines what attributes are serializable in ActiveSu...

Saturday, November 21 2009
3497 JRuby - FlashHash not saving in session when storing ActiveRecord items was updated in Ruby on Rails
  • Jarred Nicholls
    Jarred Nicholls commented at 9:16 PM

    Thanks Justin for sharing.  I planned to setup Memcached anyways so maybe I wouldn't have an issue with a memcached session store.  I still went back to MRI for...

Thursday, November 19 2009
3497 JRuby - FlashHash not saving in session when storing ActiveRecord items was created in Ruby on Rails
  • Jarred Nicholls
    Jarred Nicholls created the ticket at 5:44 PM

    I switched to JRuby and started to experience this issue: I store a very lightweight activerecord object into the flash store sometimes (please hold back the fl...

Tuesday, October 13 2009
610 ActiveRecord to_json doesn't invoke :include's to_json was updated in Ruby on Rails
  • Jarred Nicholls
    Jarred Nicholls commented at 3:22 PM

    Yep it is. My code above will make it work as expected if the "expected method" is used, as opposed to overriding as_json. The net effect is the same as what wa...

Wednesday, October 07 2009
610 ActiveRecord to_json doesn't invoke :include's to_json was updated in Ruby on Rails
  • Jarred Nicholls
    Jarred Nicholls commented at 11:05 PM

    While this is clearly something that wasn't thought hard about (before 2.3.3 and after 2.3.3, irregardless of the new as_json functionality), I came up a simple...

Friday, September 25 2009
2584 2.3.2 ActiveResource JSON doesn't send parameters with root node was updated in Ruby on Rails
  • Jarred Nicholls
    Jarred Nicholls commented at 3:05 AM

    I've edited the json_format.rb file to detect and load the json response appropriately when the model name is the root of the response object. Pretty simple sol...

Tuesday, September 15 2009
3078 ActionMailer 2.3.3 broke display name support in from address when using SMTP was updated in Ruby on Rails
  • Jarred Nicholls
    Jarred Nicholls commented at 5:44 AM

    Yep, good fix, thanks. Hope it's in 2.3.5 =)