ruby on rails - When to use association extensions vs named scopes? -
With a cursory glance, they see only two different perspectives in the same set of problems, except that the designated Scope is series, while there are no extensions extensions.
Can anyone explain, or provide an example which would be more suitable for a union expansion than the nominated area?
The association is very useful for creating custom methods for creating, updating etc. (not necessarily Search).
Because you have a good hook in Proxy_owner, proxy_reflection, proxy_target, your relationship.
Look at the Association Extensions section of Rail Documents:
Comments
Post a Comment