lib/simplabs/excellent/checks/rails/attr_protected_check.rb in excellent-1.7.2 vs lib/simplabs/excellent/checks/rails/attr_protected_check.rb in excellent-2.0.0
- old
+ new
@@ -17,10 +17,10 @@
# ==== Applies to
#
# * +ActiveRecord+ models
class AttrProtectedCheck < Base
- def initialize #:nodoc:
+ def initialize(options = {}) #:nodoc:
super
@interesting_contexts = [Parsing::ClassContext]
end
def evaluate(context) #:nodoc: