Displaying 2 results from an estimated 2 matches for "predecessor_id".
2006 Apr 27
0
last stupid question today
...ok.
This is what I''m doing: Tasks can have a predecessor relationship with each
other. My Task class has this:
has_and_belongs_to_many :predecessors,
:class_name => "Task",
:join_table => "predecessor",
:association_foreign_key => "predecessor_id",
:foreign_key => "task_id"
The join table predecessor looks like this:
CREATE TABLE predecessor (
predecessor_id BIGINT NOT NULL,
task_id BIGINT NOT NULL
);
if I create two tasks t1 and t2 and make t2 a predecessor of t1 (like so:
t1.predecessors << t2),...
2010 Oct 27
1
reading multiple XML files into an R table
...able for the market.
<?xml version="1.0" encoding="ISO-8859-1" ?>
- <#> <participant_umm>
<effect_after>100</effect_after>
<station>Vinje</station>
<affected_units>G1, G2, G3</affected_units>
- <#> <umm predecessor_id="*0*" parent_id="*5244*" new_followup="*New*"u_id
="*5244*">
<event_start>19.07.04 hour 11:15</event_start>
<registered>19.07.04 hour 11:15</registered>
<event_type>Production failure</event_type>
<status&...