Closed jlurena closed 7 months ago
Example:
MyActiveResource.where(name: 'bob').where(last_name: 'the builder')
throws an error because the previous params { name: 'bob' } is not assigned to the original_params https://github.com/rails/activeresource/blob/df28dee231f8573c18d9e091c7fd7bc6d6679263/lib/active_resource/base.rb#L1097
{ name: 'bob' }
original_params
I can also create PR if its agreed this should be fixed.
I agree, go for it.
Created PR: https://github.com/mhgbrown/cached_resource/pull/59 @mhgbrown
Additional: https://github.com/mhgbrown/cached_resource/pull/60
Example:
throws an error because the previous params
{ name: 'bob' }
is not assigned to theoriginal_params
https://github.com/rails/activeresource/blob/df28dee231f8573c18d9e091c7fd7bc6d6679263/lib/active_resource/base.rb#L1097I can also create PR if its agreed this should be fixed.