Skip to content

Commit

Permalink
Remove forgotten debug statement
Browse files Browse the repository at this point in the history
  • Loading branch information
byroot committed Apr 11, 2024
1 parent b5c18df commit d5896ab
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions lib/active_model/serializer/association.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,7 @@ class Serializer
class Association
def initialize(name, options={})
if options.has_key?(:include)
puts '-' * 40
puts caller
ActiveSupport::Deprecation.warn <<-WARN
** Notice: include was renamed to embed_in_root. **
WARN
ActiveSupport::Deprecation.warn("** Notice: include was renamed to embed_in_root. **")
end

@name = name.to_s
Expand Down

0 comments on commit d5896ab

Please sign in to comment.