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.

Laurent Farcy's latest activity

Monday, January 03 2011
6247 ActiveSupport::JSON.decode fails on long unicode sequence with default YAML-b... was created in Ruby on Rails
  • Laurent Farcy
    Laurent Farcy created the ticket at 1:13 PM

    Here's a reply received from the Twitter API (users/show call) that the YAML-based JSON decoder is unable to parse.

    {"profile_background_tile":true,"time_zone"...
Thursday, July 29 2010
2972 Mongrel does not properly release db connections was updated in Ruby on Rails
  • Laurent Farcy
    Laurent Farcy commented at 2:54 PM

    Mike,

    I don't know for Ian but on my side, it's been solved once I worked around the 'flaw' of the SQL Session store by re-arranging the middleware stack. Actua...

Friday, July 31 2009
2972 Mongrel does not properly release db connections was updated in Ruby on Rails
  • Laurent Farcy
    Laurent Farcy commented at 11:21 AM

    Ian,

    I'm not used to the usage of the after_initialize callback in the context of environment.rb. No more to the alias_method_chain directive.

    To release db con...

Thursday, July 30 2009
2972 Mongrel does not properly release db connections was updated in Ruby on Rails
  • Laurent Farcy
    Laurent Farcy commented at 3:40 PM

    Ian,

    After fixing the middleware stack for the Sql Session Store, we simply decreased the pool to a single connection and since then, everything goes fine so fa...

  • Laurent Farcy
    Laurent Farcy commented at 10:40 AM

    Ian,

    I think I know why you must set your pool to 2. When your Rails app needs a connecion to initialize, it is never released unless you do it explicitly. We m...

  • Laurent Farcy
    Laurent Farcy commented at 10:18 AM

    Ian,

    Thanks for continuing the discussion. We definitely discuss the same topic but have experienced different issues.

    On my side, I am now sure that the sql_se...

Wednesday, July 29 2009
2972 Mongrel does not properly release db connections was updated in Ruby on Rails
  • Laurent Farcy
    Laurent Farcy commented at 5:37 PM

    Sorry for the wrong formatting.

    # Specifies gem version of Rails to use when vendor/rails is not present
    RAILS_GEM_VERSION = '2.3.2' unless defined? RAILS_GEM_...
  • Laurent Farcy
    • Tag changed from 2.3.2, connection_pooling, mongrel to 2.3.2, connection_pooling, mongrel, sql_session_store
    by Laurent Farcy at 5:34 PM

    Ian,

    Thank you so much for sharing your experience with Mongrel and connection pooling.

    On our side, we also got caught by surprise with the default pool size b...

  • Laurent Farcy
    Laurent Farcy created the ticket at 10:56 AM

    Hi,

    I recently upgraded my application from Rails 2.0.5 to 2.3.2. Since then, I detected an issue when running it with Mongrel in production mode.

    If I set the ...

Wednesday, July 22 2009
2727 local error page does not show session was updated in Ruby on Rails
  • Laurent Farcy
    Laurent Farcy commented at 3:27 PM

    I fixed a similar issue with the exception_notification plugin by replacing

    • session id: <%= @request.session.instance_variable_get(:@session_id).inspect %>
    • dat...