Sha256: 8cc5993fb7e076a7fc89823fea12a47c7afb72d7e004ecf549d131636edbf4b8
Contents?: true
Size: 307 Bytes
Versions: 8
Compression:
Stored size: 307 Bytes
Contents
require 'acts_as_list' module Ominous class WarningCloser < ActiveRecord::Base attr_accessible :warning_id, :closer_id, :position belongs_to :closer belongs_to :warning acts_as_list :scope => :warning validates_uniqueness_of :closer_id, :scope => :warning_id end end
Version data entries
8 entries across 8 versions & 1 rubygems