mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-25 15:23:06 +00:00
remove safe guard per discussion with steveklabnik
This commit is contained in:
@@ -94,10 +94,6 @@ module ActiveModel
|
|||||||
|
|
||||||
define_include_method attr
|
define_include_method attr
|
||||||
|
|
||||||
if self.method_defined? :_fast_attributes
|
|
||||||
undef :_fast_attributes
|
|
||||||
end
|
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def associate(klass, attrs) #:nodoc:
|
def associate(klass, attrs) #:nodoc:
|
||||||
|
|||||||
Reference in New Issue
Block a user