We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b5c18df commit d5896abCopy full SHA for d5896ab
lib/active_model/serializer/association.rb
@@ -9,11 +9,7 @@ class Serializer
9
class Association
10
def initialize(name, options={})
11
if options.has_key?(:include)
12
- puts '-' * 40
13
- puts caller
14
- ActiveSupport::Deprecation.warn <<-WARN
15
-** Notice: include was renamed to embed_in_root. **
16
- WARN
+ ActiveSupport::Deprecation.warn("** Notice: include was renamed to embed_in_root. **")
17
end
18
19
@name = name.to_s
0 commit comments