Fix some deprecation warnings
This commit is contained in:
parent
22cd2314e5
commit
1f4d48eaf3
10 changed files with 74 additions and 72 deletions
|
@ -4,7 +4,7 @@ module Redactable
|
|||
def self.included(base)
|
||||
# this is used to extend activerecord bases, as these aren't
|
||||
# in scope for the module itself.
|
||||
base.scope :unredacted, -> { base.where(:redaction_id => nil) }
|
||||
base.scope :unredacted, -> { where(:redaction_id => nil) }
|
||||
end
|
||||
|
||||
def redacted?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue