Hi Pankaj,
has_many creates quite a few other methods and you could remove them
all but
the usual and easiest way is to ignore and not to use them.
Or, of course, change the design of your models.
ciao, tom
On Jan 29, 5:41 am, pankaj
<pankajbhage...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> The student class should not inherit the has_many :abc relationship.
> How can we override it? Is there a way to remove an association in the
> derived class?
--~--~---------~--~----~------------~-------~--~----~
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---