On Nov 7, 9:06 am, Phillip Koebbe <[EMAIL PROTECTED]>
wrote:
> You don't need a class since you're just building a sql statement. You
> need to deal with tables and columns, not classes. Look back at how I
> defined foreign_key and delete_foreign_key. delete_foreign_key assumes a
> naming convention that is used in foreign_key. If you use a different
> naming convention for your foreign keys, adjust both methods
> accordingly.
So I put both methods on one files and load them in the environment?
That's it.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---