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.

Mike Breen's latest activity

Saturday, October 24 2009
3419 Allow ActiveRecord's find to take a Range was updated in Ruby on Rails
  • Mike Breen
    Mike Breen commented at 8:13 PM

    @Mislav - Thanks for the feedback. I guess it would be better to handle anything that has a to_a:

    ids.inject([]) {|m,o| m << (o.respond_to? :to_a ? o.to_a : o)...
  • Mike Breen
    Mike Breen created the ticket at 5:58 PM

    This patch will allow you to pass a Range of IDs to find:

    Person.find(1..5)
    Person.find(1, 3..8)
    
Saturday, September 26 2009
1211 reset_counter_cache was updated in Ruby on Rails
  • Mike Breen
    • Tag changed from active_record, counter_cache, patch to active_record, bugmash, counter_cache, patch
    by Mike Breen at 2:15 PM
Thursday, August 13 2009
2318 accepts_nested_attributes_for raises NoMethodError when saving polymorphic be... was updated in Ruby on Rails
  • Mike Breen
    Mike Breen commented at 12:35 AM

    @eloy Is there a reason we wouldn't put this in master also?

2501 :any_blank and :all_blank options for accepts_nested_attributes_for :reject_if was updated in Ruby on Rails
  • Mike Breen
    Mike Breen commented at 12:24 AM

    Is there a reason we can't get this patch into 2-3-stable. It applies cleanly.

Monday, August 10 2009
1249 New Feature - grouped_collection_select was updated in Ruby on Rails
  • Mike Breen
    Mike Breen commented at 1:24 AM

    sorry, this does not apply cleanly to master:

    error: patch failed: actionpack/test/template/form_options_helper_test.rb:681
    error: actionpack/test/template/form...

  • Mike Breen
    • Assigned user set to Pratik
    • Tag changed from actionview, enhancement, formoptionshelper, patch to actionview, bugmash, enhancement, formoptionshelper, patch
    by Mike Breen at 1:12 AM

    +1 for this change and I have verified that this patch applies cleanly to master.

2132 Confusing behavior with attr_readonly was updated in Ruby on Rails
  • Mike Breen
    Mike Breen commented at 1:18 AM

    +1 verified Elad's patch applies cleanly to master. all tests are green

1729 rename attributes= to merge_attributes was updated in Ruby on Rails
  • Mike Breen
    Mike Breen commented at 1:14 AM

    same for master:

    error: patch failed: activerecord/lib/active_record/attribute_methods.rb:224
    error: activerecord/lib/active_record/attribute_methods.rb: patch ...

  • Mike Breen
    • Tag changed from activerecord, patch to activerecord, bugmash, patch
    by Mike Breen at 1:03 AM

    +1 for the change but I have verified that the patch does not apply cleanly:

    activerecord/../merge-attributes-rename-with-deprecation.diff:161: trailing whites...