Combine the address and netmask for an ACL in one column
[rails.git] / app / models / acl.rb
1 class Acl < ActiveRecord::Base
2   scope :address, lambda { |address| where("address >> ?", address) }
3 end