aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model/type/integer.rb
diff options
context:
space:
mode:
authorBohdan Pohorilets <bohdan.pohorilets@ilabsolutions.com>2018-02-01 06:36:37 +0200
committerBohdan Pohorilets <bohdan.pohorilets@ilabsolutions.com>2018-09-26 15:31:37 +0300
commit92e024c6abac16cc5a96ec948c381bfa3f0a22df (patch)
treed09697a04b5048082258e0eeb6760e8aeb224b40 /activemodel/lib/active_model/type/integer.rb
parent29c23cc7bda5ffc0fc37f6388105bdf57f5903f0 (diff)
downloadrails-92e024c6abac16cc5a96ec948c381bfa3f0a22df.tar.gz
rails-92e024c6abac16cc5a96ec948c381bfa3f0a22df.tar.bz2
rails-92e024c6abac16cc5a96ec948c381bfa3f0a22df.zip
If association is a hash-like object preloading fails
If you pass a hash-like object to preload associations (for example ActionController::Parameters) preloader will fail with the ArgumentError. This change allows passing objects that may be converted to a Hash or String into a preloader
Diffstat (limited to 'activemodel/lib/active_model/type/integer.rb')
0 files changed, 0 insertions, 0 deletions