lib/postable.rb in json_api_toolbox-0.15.1 vs lib/postable.rb in json_api_toolbox-0.16.0
- old
+ new
@@ -12,10 +12,10 @@
[key, hash_value]
end
Hash[normalized_hash]
end
- private_class_method
+ private
def association_class(model, key)
association = model.reflect_on_all_associations.find do |association_i|
association_i.name.to_s == key.to_s
end