All the attr_readers together

This commit is contained in:
Santiago Pastorino 2013-05-16 17:26:38 -07:00
parent 1c3f14407c
commit cd9e106640

View File

@ -45,7 +45,7 @@ module ActiveModel
private
attr_reader :object, :embed, :embed_key, :serializer
attr_reader :object, :embed, :embed_key, :serializer, :options, :serializer_options
def find_serializable(object)
if serializer
@ -56,8 +56,6 @@ module ActiveModel
object
end
end
attr_reader :options, :serializer_options
end
class HasMany < Base #:nodoc: