Open-Source-Access-Control-.../app/models/mac_log.rb

6 lines
125 B
Ruby

class MacLog < ActiveRecord::Base
attr_accessible :action, :ip, :mac
scope :desc, order("mac_logs.created_at DESC")
end