gpi-active_model_serializers 0.8.3.alpha2 → 0.8.3.rc1
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,3 @@
|
|
1
|
-
|
2
|
-
puts "LOADING ASSOCIATIONS!!"
|
3
|
-
|
4
|
-
|
5
1
|
module ActiveModel
|
6
2
|
class Serializer
|
7
3
|
class Association #:nodoc:
|
@@ -75,7 +71,6 @@ module ActiveModel
|
|
75
71
|
|
76
72
|
serializer_class.new(object, options)
|
77
73
|
elsif object.respond_to?(:active_model_serializer) && (ams = object.active_model_serializer)
|
78
|
-
|
79
74
|
options = serializer_options.except(:only, :include)
|
80
75
|
|
81
76
|
if serializer_options[:include].present? && serializer_options[:include][name].present?
|