lib/rflow/configuration/component.rb in rflow-1.0.0a1 vs lib/rflow/configuration/component.rb in rflow-1.0.0a2

- old
+ new

@@ -1,15 +1,12 @@ require 'active_record' require 'rflow/configuration/uuid_keyed' class RFlow class Configuration - class Component < ConfigDB + class Component < ConfigurationItem include UUIDKeyed include ActiveModel::Validations - - class ComponentInvalid < StandardError; end - class ComponentNotFound < StandardError; end serialize :options, Hash belongs_to :shard, :primary_key => 'uuid', :foreign_key => 'shard_uuid' has_many :input_ports, :primary_key => 'uuid', :foreign_key => 'component_uuid'