mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-25 07:16:49 +00:00
remove safe guard per discussion with steveklabnik
This commit is contained in:
parent
08a182d743
commit
710c375088
@ -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:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user