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.

David Trasbo's latest activity

Monday, April 12 2010
3121 ActiveRecord::Base.find mixed array of Strings and Symbols for :joins option was updated in Ruby on Rails
  • David Trasbo
    David Trasbo commented at 10:44 AM

    +1

    I can definitely see cases where this patch would come in handy. Also, it makes the :joins option behave like you would expect it.

4339 params are strings IRL, integers in test was updated in Ruby on Rails
  • David Trasbo
    David Trasbo commented at 10:36 AM

    This can be duplicated on edge Rails:

    class TestsController < ApplicationController
      def show
        render :text => params[:id].class.to_s
      end
    end
    
    require '...
Sunday, April 11 2010
3099 ActiveRecord::ObjectMap - Identity Map for AR was updated in Ruby on Rails
  • David Trasbo
    • Assigned user set to Ryan Bigg
    by David Trasbo at 9:30 PM

    The repository that Jamie links to doesn't exist anymore. This ticket can be closed, unless you want to re-create the repository and show us your work, Jamie?

4167 ActiveRecord - named_scope using ':columns' as the name is buggered was updated in Ruby on Rails
  • David Trasbo
    • Assigned user set to Ryan Bigg
    by David Trasbo at 9:19 PM

    In edge Rails you will be warned if defining a scope results in a method being overridden. This ticket can be closed.

2807 ActionView::Helpers::DateHelper problem in rails 2.2 was updated in Ruby on Rails
  • David Trasbo
    • Assigned user set to Ryan Bigg
    by David Trasbo at 9:00 PM

    I wasn't able to duplicate this issue either.

    ➜  code  rails -v
    Rails 2.3.5
    ➜  code  rails date_select
    ...
    ➜  code  cd date_select 
    ➜  date_select  script/gene...
3196 Action Controller requires ActiveSupport Inheritable Attributes was updated in Ruby on Rails
  • David Trasbo
    • Assigned user changed from Yehuda Katz (wycats) to Ryan Bigg
    by David Trasbo at 8:22 PM

    As per this commit requiring the mentioned core extension is not necessary.

    This ticket can safely be marked as invalid.

3365 Action Caching is returning wrong page was updated in Ruby on Rails
  • David Trasbo
    • Assigned user set to Ryan Bigg
    by David Trasbo at 7:10 PM

    Jeremy,

    I was unable to duplicate this issue on Rails 2.3.5:

    ➜  code  rails -v
    Rails 2.3.5
    ➜  code  rails action_caching
    ...
    ➜  code  cd action_caching 
    ➜  act...
3546 Absolute file-path in windows get leading './' was updated in Ruby on Rails
2313 "rails {app} -g" doesn't work was updated in Ruby on Rails
  • David Trasbo
    David Trasbo commented at 12:40 PM

    It's another case of "works on my machine" but my theory is that it's because I'm running Ruby 1.8.7 and you're running 1.9.1, as far as I can tell from the sta...

Saturday, April 10 2010
2313 "rails {app} -g" doesn't work was updated in Ruby on Rails
  • David Trasbo
    David Trasbo commented at 8:25 PM

    Your patch no longer applies. I've made a new one that does a git init unless the --skip-git option is specified.