Project

General

Profile

« Previous | Next » 

Revision 5d264a2d

Added by Ohad Levy over 12 years ago

  • ID 5d264a2db100fd1ba7c505697076c4072698b094

refactor - various facts cleanups

View differences:

app/models/user_fact.rb
class UserFact < ActiveRecord::Base
belongs_to :user
belongs_to :fact_name, :class_name => "Puppet::Rails::FactName"
belongs_to :fact_name
validates_inclusion_of :andor, :in => %w{and or}
validates_inclusion_of :operator, :in => %w{= != > >= < <= }

Also available in: Unified diff