aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/fixtures/edges.yml
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2009-11-23 10:05:35 -0800
committerJeremy Kemper <jeremy@bitsweat.net>2009-11-23 10:42:32 -0800
commit78790e47b8603917e2f2352f973a2de7769cb74b (patch)
tree12e6eb6a7c87c7ee85f9c961eefe8b685b69402c /activerecord/test/fixtures/edges.yml
parentd0aa0cfbd76a919e536e76d65419930fb7fe31da (diff)
downloadrails-78790e47b8603917e2f2352f973a2de7769cb74b.tar.gz
rails-78790e47b8603917e2f2352f973a2de7769cb74b.tar.bz2
rails-78790e47b8603917e2f2352f973a2de7769cb74b.zip
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
Diffstat (limited to 'activerecord/test/fixtures/edges.yml')
-rw-r--r--activerecord/test/fixtures/edges.yml3
1 files changed, 1 insertions, 2 deletions
diff --git a/activerecord/test/fixtures/edges.yml b/activerecord/test/fixtures/edges.yml
index c16c70dd2f..b804f7b6a6 100644
--- a/activerecord/test/fixtures/edges.yml
+++ b/activerecord/test/fixtures/edges.yml
@@ -1,6 +1,5 @@
<% (1..4).each do |id| %>
edge_<%= id %>:
- id: <%= id %>
source_id: <%= id %>
sink_id: <%= id + 1 %>
-<% end %> \ No newline at end of file
+<% end %>