On 7 December 2012 01:30, renu mehta <lists@ruby-forum.com> wrote:
> Hello,
>
> If I have a model A as :
>
> name
> address
> phone
>
> and model B as:
>
> name
> address
> email
My first suggestion would be that maybe the database design could be
improved. If there are tables with common fields then possibly the
common data should be moved to a separate table, or perhaps even the
two original tables should be merged. It is a nightmare trying to
keep tables with common data in sync.
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 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.
No comments:
Post a Comment