Sha256: 442b44edf30420a95eb6c7f0b95f939273afb848429bc7fe3e6376092ea645b1
Contents?: true
Size: 412 Bytes
Versions: 5
Compression:
Stored size: 412 Bytes
Contents
module ActiveRecordSurvey # Validations that should be run against a node class NodeValidation < ::ActiveRecord::Base self.table_name = "active_record_survey_node_validations" belongs_to :node, :class_name => "ActiveRecordSurvey::Node", :foreign_key => :active_record_survey_node_id # By default everything is valid! WOOO! def validate_instance_node(instance_node, node = nil) true end end end
Version data entries
5 entries across 5 versions & 1 rubygems