aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/attribute_methods/time_zone_conversion.rb
diff options
context:
space:
mode:
authorkamille-321 <yuji.kmjm@gmail.com>2019-02-19 11:50:31 +0900
committerkamille-321 <yuji.kmjm@gmail.com>2019-03-11 00:51:33 +0900
commit81bc621ed01637e8305fb53c9e504b1cc46c102f (patch)
treef0404468ccf06a3df9bd8fbd6bafb55a34ecce6d /activerecord/lib/active_record/attribute_methods/time_zone_conversion.rb
parentb75d6ea5d35d61c60f2675ed956c51e71d2b07ad (diff)
downloadrails-81bc621ed01637e8305fb53c9e504b1cc46c102f.tar.gz
rails-81bc621ed01637e8305fb53c9e504b1cc46c102f.tar.bz2
rails-81bc621ed01637e8305fb53c9e504b1cc46c102f.zip
Fix query attribute method on user-defined attribute to be aware of typecasted value
change the line to check an attribute has user-defined type ref: https://github.com/rails/rails/pull/35320#discussion_r257924552 check query attribute method is working when given value does not respond to to_i method
Diffstat (limited to 'activerecord/lib/active_record/attribute_methods/time_zone_conversion.rb')
0 files changed, 0 insertions, 0 deletions