Displaying 2 results from an estimated 2 matches for "collector_id".
Did you mean:
collection_id
2007 Nov 14
1
has_many_polymorphs and acts_as_list ?
...lass Page <
ActiveRecord::Base
2 has_many :fragments
3 end
1 class Fragment <
ActiveRecord::Base
2 belongs_to :page
3 end
1 class Belonging <
ActiveRecord::Base
2 belongs_to :collector,
3 :class_name => "Collection",
4 :foreign_key => "collector_id"
5 belongs_to :element, :polymorphic => true
6 acts_as_list :scope => ''element_id=#{element_id} and
element_type=#{quote_value element_type}''
7 end
The belongings database table structure:
collector_id (integer) ; element_id (integer) ; element_type
(string)...
2012 Sep 10
0
Announce: PuppetDB 0.11.0 Available
...em
not to as well. Also, removing the user and not all files owned by it
can cause problems if another service later usurps the user id.
Compatibility with legacy storeconfigs behavior for duplicate resources
Prior to this commit, the puppetdb resource terminus was not
setting a value for "collector_id" on collected resources. This field
is used by puppet to detect duplicate resources (exported by multiple
nodes) and cause a run to fail. Hence, the semantics around duplicate
resources were ill-specified and could cause problems. This fix adds
code to set the collector id based on node name +...