Displaying 4 results from an estimated 4 matches for "redhillonrails_cor".
Did you mean:
redhillonrails_core
2006 Nov 10
2
Testing with foreign keys
I''m looking for a plugin/whatever for preloading fixtures, to run
tests with FKs defined.
Specifying load order just doesn''t work for me, I need to purge the
test db, load all fixtures, and only then create the FK constraints.
Any suggestions?
Isak
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
2009 Jun 25
7
Join Tables
...rder, separated by an underscore.
2.The foreign key fields are named with the name of the table they are
referencing, with _id appended.
3.The foreign key is referencing a single element in that table, so it
uses the singular name.
However, I''ve installed both of the following plugins:
redhillonrails_core
foreign_key_migrations
So, as an example, let''s say I created 32 tables with the following type
of information:
def self.up
create_table :rushing_offenses do |t|
t.integer :team_id
t.string :name
t.integer :games
t.integer :carries
t.integer :net...
2006 Dec 17
0
Help - I broke RadRails
Hello all,
I was trying to install the foreign_key_migration plugin. It seemingly worked, but I got a message stating that I needed to install the redhillonrails_core pluging (which isn''t in the list). Now I can''t generate migrations at all. Is there some setting in RadRails where I can tell it where to find the redhillonrails plugin? Or is there something I can do on the commandline to get it and fix it?
Oh, by the way, I''m running...
2007 Jul 22
18
db:fixtures:load order
I was trying to deal with foreign key issues related to order of
fixture loading when I came across this:
http://techpolesen.blogspot.com/2007/04/rails-fixture-tips.html
This got me looking deeper into rails and I noticed that
db:fixtures:load calls Fixtures.create_fixtures once for each fixture
file. However, Fixtures.create_fixtures is capable of taking multiple
files and also handle the