Monday, January 7, 2013

[Rails] Single table inheritance introduce on mid of development.

Hi Folks,

1. I converting existing model to STI
2. Existing model CtctContact
3. ctct_contacts rename as contacts and add column called type in table.
4. In model modified base class(CtctContact < Contact) during migration it's show contacts table not found like that.

Any idea how to fix.

Thanks,
Dhamodharan.N

--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate