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

6 lines
125 B
Ruby
Raw Permalink Normal View History

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