On Thu, 5 Jul 2007, Ron wrote:
Is there a way to create the db schema completely through the ruby
syntax in a migration?
If i want a relation between table there doesnt seem a way to create
it when having the environment table set to :ruby instead of :sql and
I asked this one recently, so I can answer this:
You need the plugin called fixture_references. There’s not a whole lot
of documentation for it yet, so I quote the patch I sent them for an
— INSTALL (revision 0)
+++ INSTALL (revision 0)
@@ -0,0 +1,5 @@
+# Change directory to the RAILS_ROOT for your project.
+# Then do:
+./script/plugin install http://svn.pluginaweek.org/trunk/plug
More docs, well, discussion about how to use it at: