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.

Jeremy Kemper's latest activity

Saturday, May 15 2010
2804 Partial collection counter variable improperly named using :as was updated in Ruby on Rails
  • Jeremy Kemper
    • Milestone changed from 3.x to 2.3.6
    by Jeremy Kemper at 6:32 PM
2377 time scaffolding uses datetime_select, stores as time was updated in Ruby on Rails
  • Jeremy Kemper
    • Milestone changed from 3.x to 2.3.6
    • State changed from verified to incomplete
    by Jeremy Kemper at 6:31 PM

    No regression test.

2520 [PATCH] ActiveRecord#touch without validations was updated in Ruby on Rails
  • Jeremy Kemper
    • State changed from wontfix to incomplete
    by Jeremy Kemper at 6:08 PM

    To be clear, +1 on grosser's suggestion of a class method that touches the record without saving other attributes. And revert the touch! method.

  • Jeremy Kemper
    Jeremy Kemper commented at 5:59 PM

    -1

    it should raise, because is not meant to act as save for other changes you made.

    Best would be to call the class method suggested which only updates this sin...

4538 ActiveRecord.clone does not clear out timestamps was updated in Ruby on Rails
  • Jeremy Kemper
    • State changed from new to open
    by Jeremy Kemper at 5:54 PM

    Perhaps dup should keep the timestamps (identical copy) and clone should not (new copy).

3419 Allow ActiveRecord's find to take a Range was updated in Ruby on Rails
  • Jeremy Kemper
    • State changed from open to wontfix
    by Jeremy Kemper at 5:52 PM
  • Jeremy Kemper
    Jeremy Kemper commented at 5:52 PM

    Reading back up, this means find(1, 5..10000) will generate a query with 9996 ids. This should use normal range query mapping instead.

  • Jeremy Kemper
    Jeremy Kemper commented at 5:37 PM

    Also, is flatten needed? That could be

    ids.sum { |id| Array.wrap(id) }.uniq
    
  • Jeremy Kemper
    Jeremy Kemper commented at 5:26 PM

    Need to use Array.wrap() since Array() complains about destructuring strings on 1.8.8. (require 'active_support/core_ext/array/wrap)

Friday, May 14 2010
4537 Add method to get to content captured with content_for from helper methods was updated in Ruby on Rails
  • Jeremy Kemper
    • Milestone set to 2.3.6
    • Tag changed from 3.0, actionview, helpers to 3.0, actionview, bugmash, helpers
    by Jeremy Kemper at 10:18 PM

    Keep meaning to but my to-dos are a mile long. Tagging for Bugmash to update docs.