rubocop updates

This commit is contained in:
Priit Tark 2015-07-28 19:16:04 +03:00
parent f89992d120
commit 736848d70c
3 changed files with 7 additions and 0 deletions

View file

@ -1,4 +1,6 @@
# Log all active model user errors
# rubocop: disable Lint/AssignmentInCondition
# rubocop: disable Style/SignalException
module ActiveModel
class Errors
def add(attribute, message = :invalid, options = {})