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

7 lines
195 B
Ruby
Executable File

class Mac < ActiveRecord::Base
belongs_to :user
attr_accessible :active, :ip, :mac, :refreshed, :since, :hidden, :note, :user_id
validates_uniqueness_of :mac, :case_sensitive => false
end