提交 3c100cfe 编写于 作者: J Jon Leighton

remove unused method

上级 40a711ce
......@@ -57,12 +57,6 @@ def find_least_recent
def log=(message)
audit_logs.build :message => message
end
def self.all_johns
self.with_exclusive_scope :find => where(:name => 'John') do
self.all
end
end
end
class AuditLog < ActiveRecord::Base
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册