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
# touch paranoia column.
# insert time to paranoia column.
# @param with_transaction [Boolean] exec with ActiveRecord Transactions.
def touch_paranoia_column(with_transaction=false)
def touch_paranoia_column
raise ActiveRecord::ReadOnlyRecord, "#{self.class} is marked as readonly" if readonly?
if persisted?
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