venkat blog
Pages
Home
About Me
Tuesday, January 11, 2011
Association on rails
Briefly, Association Proxies are functions defined on an association. For example, in a library example, a Patron might have many books. This would look like
class
Patron
<
ActiveRecord
::
Base
has_many
:books
end
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment