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.

Peter Nash's latest activity

Thursday, September 17 2009
3222 ActiveResource is not extracting errors from an XML response if the Content-T... was created in Ruby on Rails
Saturday, April 04 2009
1927 Connection pool timeout in production mode with AR sessions was updated in Ruby on Rails
  • Peter Nash
    Peter Nash commented at 3:57 PM

    .... that should have been "with the 2.3.2" .....

  • Peter Nash
    Peter Nash commented at 3:55 PM

    Hi Ryan

    I'm not seeing the problem the the 2.3.2 gem version of Rails. I've tested against the two apps where I originally saw this in production mode and all l...

Monday, March 09 2009
2175 Mongel "--prefix" option breaks in 2.3.1 was updated in Ruby on Rails
Thursday, February 26 2009
2073 :attr_accessible nil breaks AR session store was updated in Ruby on Rails
  • Peter Nash
    Peter Nash commented at 12:01 AM

    I meant to add that using ActiveRecord::Base.send(:attr_accessible, nil) to enforce the use of attr_accessible in models used to work fine in 2.1, 2.2 and 2.3RC...

Wednesday, February 25 2009
2073 :attr_accessible nil breaks AR session store was updated in Ruby on Rails
  • Peter Nash
    Peter Nash commented at 10:29 PM

    The reason for adding ActiveRecord::Base.send(:attr_accessible, nil) is so that the default behaviour of all application model classes is to NOT allow updates t...

  • Peter Nash
    Peter Nash created the ticket at 3:41 PM

    I'm not sure if this is a bug as such but it's a change that's arisen in edge but wasn't in 2.3 RC1 and earlier.

    If you configure your session store as :active_...

1927 Connection pool timeout in production mode with AR sessions was updated in Ruby on Rails
  • Peter Nash
    Peter Nash commented at 3:48 PM

    Thanks - that's fixed it.

Tuesday, February 10 2009
1927 Connection pool timeout in production mode with AR sessions was created in Ruby on Rails
  • Peter Nash
    Peter Nash created the ticket at 10:07 AM

    It would appear that in Production mode with ActiveRecord session store enabled there is a timeout (default 5 seconds) when the connection pool is full when usi...