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.

There was a problem

You must be a member of this account.

Karl Alexandre's latest activity

Tuesday, April 27 2010
4427 Strange behaviour in exception display was updated in Ruby on Rails
  • Karl Alexandre
    Karl Alexandre commented at 3:20 PM

    All,

    The cause of the problem is that _request_and_response.erb template inspects the current controller throught request.env["action_controller.instance"]

    In m...

  • Karl Alexandre
    Karl Alexandre commented at 1:45 PM

    Anil,

    I don't get this exact trace, but that's the point.

    Two interresing points :
    - First, the association gets loaded even if not used (in my example), - Seco...

  • Karl Alexandre
    Karl Alexandre commented at 12:06 PM

    Ryan,
    The first request is always OK. Try two requests in a row, and tell me the result of the second one.

    I'm digging deeper and what I see now is that ActionD...

  • Karl Alexandre
    Karl Alexandre commented at 11:13 AM

    Steven,
    It seems you don't have the database populated with at least one item. Did you run rake db:seed ?

  • Karl Alexandre
    • Tag changed from actiondispatch, activerecord, exception to activerecord rails3, actiondispatch, activerecord, exception
    by Karl Alexandre at 9:32 AM

    Santiago,

    Sorry for late reply,

    In your app you have Subitems.all in the controller, it works ok with it.
    Now try Item.first.subitems , it fails on the second r...

Friday, April 23 2010
4427 Strange behaviour in exception display was updated in Ruby on Rails
  • Karl Alexandre
    Karl Alexandre commented at 8:01 AM

    Santigo,

    Run this script and tell me the result on your side.

    Karl.

Thursday, April 22 2010
4427 Strange behaviour in exception display was updated in Ruby on Rails
  • Karl Alexandre
    Karl Alexandre commented at 9:20 PM
  • Karl Alexandre
    Karl Alexandre commented at 9:14 PM

    Santiago,

    I bundled edge rails and still have the problem somehow.
    The first request (step2) renders the exception, all the following render a 500.
    The log file...

Saturday, April 17 2010
4427 Strange behaviour in exception display was updated in Ruby on Rails