Skip to content

Commit

Permalink
use logger.warn for warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
tenderlove committed Jan 4, 2012
1 parent 07c192a commit da4fef8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def logger?
end

def process_removed_attributes(attrs)
logger.debug "WARNING: Can't mass-assign protected attributes: #{attrs.join(', ')}" if logger?
logger.warn "Can't mass-assign protected attributes: #{attrs.join(', ')}" if logger?
end
end

Expand Down

0 comments on commit da4fef8

Please sign in to comment.