rails/activerecord/test/fixtures/edges.yml
Jeremy Kemper 78790e47b8 Revert "Revert "Assert primary key does not exist in habtm when the association is defined, instead of doing that everytime a record is inserted.""
This reverts commit 2b82708b0efb3a3458e8177beab58f0c585788ae.

[#3128 state:resolved]

Conflicts:

	activerecord/lib/active_record/associations.rb
	activerecord/lib/active_record/associations/has_and_belongs_to_many_association.rb
2009-11-23 10:42:32 -08:00

6 lines
100 B
YAML

<% (1..4).each do |id| %>
edge_<%= id %>:
source_id: <%= id %>
sink_id: <%= id + 1 %>
<% end %>