aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/fixtures/traffic_lights.yml
diff options
context:
space:
mode:
authorFrancesco Rodriguez <lrodriguezsanc@gmail.com>2012-07-04 22:39:16 -0500
committerFrancesco Rodriguez <lrodriguezsanc@gmail.com>2012-07-04 22:39:16 -0500
commitb5bb35355d68eab0343637980a231c8a4eb6093c (patch)
tree03d7d01990ba871f9c7e7491832b29755ffb9b96 /activerecord/test/fixtures/traffic_lights.yml
parenta66f498955edf8e000751ffc38d42be307adcef5 (diff)
downloadrails-b5bb35355d68eab0343637980a231c8a4eb6093c.tar.gz
rails-b5bb35355d68eab0343637980a231c8a4eb6093c.tar.bz2
rails-b5bb35355d68eab0343637980a231c8a4eb6093c.zip
fix quoting for ActiveSupport::Duration instances
This patch fixes quoting for ActiveSupport::Duration instances: # before >> ActiveRecord::Base.connection.quote 30.minutes => "'--- 1800\n...\n'" # after >> ActiveRecord::Base.connection.quote 30.minutes => "1800" Also, adds a test for type casting ActiveSupport::Duration instances. Related to #1119.
Diffstat (limited to 'activerecord/test/fixtures/traffic_lights.yml')
0 files changed, 0 insertions, 0 deletions