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.

John Barnette's latest activity

Monday, February 09 2009
1913 Use #to_param in generated controller tests. was updated in Ruby on Rails
  • John Barnette
    John Barnette commented at 9:14 PM

    Also, looks like the call to to_param makes the log dump of the request parameters in test a lot easier to read. I'm +1 on this change, not that it's needed at ...

  • John Barnette
    John Barnette commented at 6:41 PM

    Doesn't to_param get called automatically? What about:

    def test_should_get_show
      get :show, :id => articles(:one)
    end
    
    

    Or have I been Doing It Wrong all this...

Saturday, April 26 2008
50 Rails.vendor_rails? doesn't exist in older boot.rb files was created in Ruby on Rails
  • John Barnette
    John Barnette created the ticket at 6:44 AM

    The initializer uses vendor_rails? to decide whether or not to install gem stubs, but it's not guaranteed to be there during upgrades. I've patched the initial...

Tuesday, April 22 2008
2 rake rails:freeze:edge on windows was updated in Ruby on Rails
  • John Barnette
    • Title changed from [PATCH] rake rails:freeze:edge on windows to rake rails:freeze:edge on windows
    by John Barnette at 8:25 AM
12 Bounded params in find(...:from) was updated in Ruby on Rails
  • John Barnette
    • Title changed from [PATCH] bounded params in find(...:from) to Bounded params in find(...:from)
    by John Barnette at 8:25 AM
26 Fix for change_column :null => true in migrations was updated in Ruby on Rails
  • John Barnette
    • Title changed from [PATCH] Fix for change_column :null => true in migrations to Fix for change_column :null => true in migrations
    by John Barnette at 8:24 AM