Jeremy Kemper
Account member
Jeremy Kemper's latest activity
Saturday, May 15 2010
-
- Milestone changed from 3.x to 2.3.6
- State changed from verified to incomplete
No regression test.
-
- State changed from wontfix to incomplete
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 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...
-
- State changed from new to open
Perhaps
dupshould keep the timestamps (identical copy) andcloneshould not (new copy).
-
-
Jeremy Kemper commented at 5:52 PMReading 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 commented at 5:37 PMAlso, is flatten needed? That could be
ids.sum { |id| Array.wrap(id) }.uniq -
Jeremy Kemper commented at 5:26 PMNeed to use
Array.wrap()sinceArray()complains about destructuring strings on 1.8.8. (require 'active_support/core_ext/array/wrap)
Friday, May 14 2010
-
- Milestone set to 2.3.6
- Tag changed from 3.0, actionview, helpers to 3.0, actionview, bugmash, helpers
Keep meaning to but my to-dos are a mile long. Tagging for Bugmash to update docs.