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.

MatthewRudy's latest activity

Wednesday, October 28 2009
3433 Make ActionMailer delivery_method plugin-able was updated in Ruby on Rails
Tuesday, October 27 2009
3433 Make ActionMailer delivery_method plugin-able was updated in Ruby on Rails
Sunday, October 25 2009
3419 Allow ActiveRecord's find to take a Range was updated in Ruby on Rails
  • MatthewRudy
    MatthewRudy commented at 9:46 AM

    in 1.9 we still get;

    Array(2)    # => [2]
    Array(4..6) # => [4, 5, 6]
    
    so
    ids.map{|id| Array(id)}.flatten.compact.uniq
    
Wednesday, August 05 2009
1664 javascript_include_tag shouldn't append a ".js" onto external urls was updated in Ruby on Rails
  • MatthewRudy
    MatthewRudy commented at 3:49 PM

    Ok,
    here is it fixed for edge.

    BOOM!!

  • MatthewRudy
    MatthewRudy commented at 3:18 PM

    this just bit me again yesterday.

    I should build a patch.

Friday, July 31 2009
2974 Add find :unique to ActiveRecord was updated in Ruby on Rails
  • MatthewRudy
    MatthewRudy commented at 11:54 AM

    is this really the proposed implementation?

    def find_unique(options)
      records = find_every(options)
      if records.size > 0 then

    raise ActiveRecordError, ...
Wednesday, February 25 2009
1429 [PATCH] Add singular version of named_scope that returns first object was updated in Ruby on Rails
  • MatthewRudy
    MatthewRudy commented at 3:56 PM

    (I need to have just one lighthouse user)