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.

Alex Farrill's latest activity

Thursday, June 24 2010
4941 session is not preserved between requests in integration tests was updated in Ruby on Rails
  • Alex Farrill
    Alex Farrill commented at 4:54 PM

    Ruby versions where I observe this behavior:
    ruby 1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10.0]
    ruby 1.8.6 (2008-08-11 patchlevel 287) [universal-dar...

Wednesday, June 23 2010
4941 session is not preserved between requests in integration tests was created in Ruby on Rails
  • Alex Farrill
    Alex Farrill created the ticket at 1:26 AM

    Make an integration test:

    test "index" do

    get "/"
    s1 = @response.session[:session_id]
    
    get "/"
    s2 = @response.session[:session_id]
    
    assert_equal s1, s2
    

    end

    Pa...

Monday, March 29 2010
4288 Model.last too clever when using CONCAT_WS in order was created in Ruby on Rails
  • Alex Farrill
    Alex Farrill created the ticket at 3:46 AM

    My model has:

    default_scope :order => "CONCAT_WS(' ', last_name, first_name)"

    i.e. concat last name and first name for order

    Calling Model.last, AR calls revers...

Saturday, September 13 2008
416 caches_actions accepts cache_store options such as :expires_in was updated in Ruby on Rails