Hi Alan!
Why do you need to overwrite those?
I''m currently working on callbacks for associations. With that you
will be able to do for example:
class Project
has_and_belongs_to_many :developers, :after_adding =>
:notify_project_admin_of_new_developer
...
end
On 5/8/05, Alan Bullock
<liststuff-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> is it possible to overwrite collection.size and collection << in a
> has_many association?
>
> if so, could someone please post a quick example?
> thanks
>
> alan
> _______________________________________________
> Rails mailing list
> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>