Skip to content

Commit d5896ab

Browse files
committed
Remove forgotten debug statement
1 parent b5c18df commit d5896ab

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

lib/active_model/serializer/association.rb

+1-5
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,7 @@ class Serializer
99
class Association
1010
def initialize(name, options={})
1111
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
12+
ActiveSupport::Deprecation.warn("** Notice: include was renamed to embed_in_root. **")
1713
end
1814

1915
@name = name.to_s

0 commit comments

Comments
 (0)