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.

Tom Ward's latest activity

Wednesday, May 20 2009
2682 Vendorised gems (e.g. rspec-rails) not recognised as being installed was updated in Ruby on Rails
  • Tom Ward
    Tom Ward commented at 3:14 PM

    I've encountered this issue too. Giving a warning is the least I'd expect. The patch looks good to me, so +1.

Tuesday, September 16 2008
1021 rake db:migrate doesn't detect new migration was updated in Ruby on Rails
  • Tom Ward
    Tom Ward commented at 11:20 AM

    According to http://stackoverflow.com/questio... it appears this may be caused by a VERSION environment variable already being set.

  • Tom Ward
    • Tag changed from activerecord, migration to activerecord, migration
    by Tom Ward at 10:51 AM

    Rollo,

    Could you tell me what OS/Database/Version of Ruby you are using? It will help in trying to recreate the issue.

    Tom

Tuesday, August 19 2008
860 coerce blank strings to nil values for boolean and integer fields was updated in Ruby on Rails
  • Tom Ward
    Tom Ward commented at 11:28 PM

    Coercing blank strings to nil for non-string columns makes a whole load of sense to me. A definite +1.

859 Initializer should load files in parent directories before subdirectories to ... was updated in Ruby on Rails
  • Tom Ward
    • Tag changed from dependencies, eager_loading to dependencies, eager_loading, patch
    by Tom Ward at 1:29 PM

    I've written a patch (with tests) which sorts the globbed files. Having thought about this in some depth, I'm convinced that eager loading should load parents ...

  • Tom Ward
    Tom Ward created the ticket at 12:12 PM

    The problem

    I have the following files:

    app/models/zoo.rb

    
    class Zoo < ActiveRecord::Base
      include HippoManangement
    end
    

    app/models/zoo/hippo_management.rb

    ...
Friday, August 15 2008
836 PATCH: assign collection_size local variable in partials was updated in Ruby on Rails
  • Tom Ward
    Tom Ward commented at 2:52 PM

    Might it be nicer to automatically provide a helper method/instance variable to indicate whether the first or last records in the collection are being passed?

Monday, August 11 2008
796 A small modification at ActiveRecord's calculations.rb was updated in Ruby on Rails
  • Tom Ward
    • Tag set to activerecord, patch, tiny
    by Tom Ward at 3:00 PM

    I've created a patch with Michalis' change (for which he should get the credit), and tested against sqlite3 and mysql. As this fixes a problem in a non-core ad...

Saturday, July 26 2008
615 ActiveRecord exists? won't work with keyless tables was updated in Ruby on Rails
  • Tom Ward
    Tom Ward commented at 10:55 AM

    Can you provide a failing test case? The solution is pretty simple (select 1 rather than select primary_key), but in what circumstance would you actually have...

608 Dirty checking is broken for string join was updated in Ruby on Rails
  • Tom Ward
    Tom Ward commented at 10:30 AM

    What does t.title.contact(33) do?

    If you set the title to the same value it was before, changed? will return false.

    If you set it to a new value, it should r...