aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorDavid Chelimsky <dchelimsky@gmail.com>2013-08-28 05:07:18 +0200
committerDavid Chelimsky <dchelimsky@gmail.com>2013-09-11 15:28:38 +0200
commitb16b08ebde636dd530afeeb00ca32f6d49fda819 (patch)
tree3e65b000939fe8e50d3e5df772ddbf4e868faec5 /activerecord
parent744ed5c39381cb3e58eba6fab21f42b3408dce53 (diff)
downloadrails-b16b08ebde636dd530afeeb00ca32f6d49fda819.tar.gz
rails-b16b08ebde636dd530afeeb00ca32f6d49fda819.tar.bz2
rails-b16b08ebde636dd530afeeb00ca32f6d49fda819.zip
Reduce Duration#inspect to a single series of transformations
* eliminates need for temp Hash Also added a couple of examples to DurationTest to specify: * duration can be defined with units out of order e.g. 1.month + 1.year + 1.second + 1.day * equality with a Fixnum works regardless of which operand is on which side of the operator
Diffstat (limited to 'activerecord')
0 files changed, 0 insertions, 0 deletions