2009/8/31 zambezi <[email protected]>:
>
> Hi Colin,
>
> I added the table reference for the indexes, reran everything and the
> migration went through fine.  Thank you for spotting the problem and
> thanks to you and Dhruva for bearing with me.

Glad to be of help, I should have spotted it earlier really.  I don't
know why the error did not specify a line number which would have
helped, normally I would expect a stack trace that would have shown
this.

>
> As for my antiquated syntax, there is a lot of that.  I appreciate the
> pointer and assume you mean:
>
> t.string  :name
>
> instead of
>
> t.column :name, :string

Yes, to be honest I found the earlier syntax more intuitive but this
seems to be the recommended way so I decided to switch over to it.  No
need to change existing code though.

Colin

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