Generate ActiveRecord Aggregations and convenience methods for composing them into your models.
License
caring/composition_generator
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
CompositionGenerator ==================== Generates a composition model and a convenience method for mixing it into your models. Example ======= ./script/generate composition address street city state zip_code class Person < ActiveRecord::Base has_address end p = Person.new p.address = Address.new('1234 S. Main St.', 'Anytown', 'CA', 91234) p.address.street # => "1234 S. Main St." p.street # => "1234 S. Main St." Copyright (c) 2008 Chris Eppstein, released under the MIT license
About
Generate ActiveRecord Aggregations and convenience methods for composing them into your models.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published