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.

Jamie Hill's latest activity

Friday, January 07 2011
5146 ActionPack 2.3.8 gem declares incompatibility with rack 1.2 was updated in Ruby on Rails
  • Jamie Hill
    Jamie Hill commented at 2:58 PM

    Has this been resolved yet as after installing Rails 3.0.3 on a server where many other Rails 2.3.5 running, all 2.3.5 apps have died! I'm not seeing why this p...

Wednesday, August 11 2010
5199 respond_with returns " " on PUT and DELETE verb was updated in Ruby on Rails
  • Jamie Hill
    Jamie Hill commented at 10:06 PM

    Sorry, should have said that to get around this I am currently using this for the json response:

    render :text => '{}', :status => :ok
    

    This is the only way to ...

  • Jamie Hill
    Jamie Hill commented at 10:03 PM

    Sorry to resurrect this ticket but what is the solution here? As far as I can see both update and destroy should return something for say a json response as oth...

Monday, June 28 2010
4997 [PATCH] Make redirect_to accept a symbol following the convention used with r... was updated in Ruby on Rails
  • Jamie Hill
    Jamie Hill commented at 9:33 PM

    Will do, thanks.

  • Jamie Hill
    Jamie Hill commented at 9:29 PM

    Okay, no problem. It's probably just me being lazy not wanting to type "redirect_to :action => 'my_action'" every time.

  • Jamie Hill
    • Assigned user set to José Valim
    by Jamie Hill at 7:16 PM
  • Jamie Hill
    Jamie Hill created the ticket at 6:34 PM

    This patch allows a symbol to be supplied to "redirect_to" following the same convention used with "render", whereby the a symbol is assumed to be an action e.g...

Sunday, January 17 2010
3058 [PATCH] Sexy Validations was updated in Ruby on Rails
  • Jamie Hill
    Jamie Hill commented at 4:25 AM

    José,

    I've just noticed a problem in the additional code you added, I am getting:

    NoMethodError: undefined method `slice!' for {:presence=>true}:Hash
            f...
Thursday, January 07 2010
3058 [PATCH] Sexy Validations was updated in Ruby on Rails
  • Jamie Hill
    Jamie Hill commented at 1:13 AM

    Added some comments, new patch attached.

  • Jamie Hill
    Jamie Hill commented at 1:06 AM

    New diff attached which uses setup hook instead of virtual_attributes as well as adding _merge_attributes private method. Also added further documentation for s...