Open-Source-Access-Control-.../app/models/mac_log.rb
2014-02-09 00:56:48 -07:00

6 lines
125 B
Ruby
Executable File

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