Frederick Cheung wrote in post #960395:
> On Nov 9, 6:38pm, "Tau C." <[email protected]> wrote:
>> I am very new to ROR. (Ruby 1.8.7, rails 2.1.1, rack
>> 0.8.7, mysql 5.1.41)
>>
>> I has my_app/lib/migration_helpers.rb file:
>> module MigrationHelpers
>>  def self.foreign_key(from_table, from_column, to_table)
>>   constraint_name = "fk_#{from_table}_#{to_table}"
>>
>
> this should probably be just def foreign_key(...)
>
> Fred

It is working!.  You're a live saver,  Thank you so much for your time.

Tau.

-- 
Posted via http://www.ruby-forum.com/.

-- 
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.

Reply via email to