diff options
author | José Valim <jose.valim@gmail.com> | 2009-09-01 13:11:15 +0200 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2009-09-01 10:15:23 -0700 |
commit | da636809daca9c338200811d3590e446f57c8e81 (patch) | |
tree | ac2a678c61836fa695542343591fbbc145c3d7d5 /activerecord/test/fixtures/edges.yml | |
parent | c5f6e038daf2221ddd5a7534e68f4158d84a5975 (diff) | |
download | rails-da636809daca9c338200811d3590e446f57c8e81.tar.gz rails-da636809daca9c338200811d3590e446f57c8e81.tar.bz2 rails-da636809daca9c338200811d3590e446f57c8e81.zip |
Assert primary key does not exist in habtm when the association is defined, instead of doing that everytime a record is inserted.
[#3128 state:committed]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Diffstat (limited to 'activerecord/test/fixtures/edges.yml')
-rw-r--r-- | activerecord/test/fixtures/edges.yml | 3 |
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 %> |