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

7 lines
195 B
Ruby
Raw Permalink Normal View History

class Mac < ActiveRecord::Base
belongs_to :user
2013-02-01 05:39:33 +00:00
attr_accessible :active, :ip, :mac, :refreshed, :since, :hidden, :note, :user_id
validates_uniqueness_of :mac, :case_sensitive => false
end