Commit 86be201e by John Hawthorn

Merge pull request #216 from sergey-alekseev/patch-1

remove unused parameter
parents c0d8a2f8 4e695964
...@@ -95,8 +95,7 @@ module Paranoia ...@@ -95,8 +95,7 @@ module Paranoia
# touch paranoia column. # touch paranoia column.
# insert time to paranoia column. # insert time to paranoia column.
# @param with_transaction [Boolean] exec with ActiveRecord Transactions. def touch_paranoia_column
def touch_paranoia_column(with_transaction=false)
raise ActiveRecord::ReadOnlyRecord, "#{self.class} is marked as readonly" if readonly? raise ActiveRecord::ReadOnlyRecord, "#{self.class} is marked as readonly" if readonly?
if persisted? if persisted?
touch(paranoia_column) touch(paranoia_column)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment