solidus
https://github.com/solidusio/solidus
Ruby
🛒 Solidus, the open-source eCommerce framework for industry trailblazers.
DelegateBelongsTo::ClassMethods#delegate_belongs_to
Creates methods for accessing and setting attributes on an association. Uses same default list of attributes as delegates_to_association. delegate_belongs_to :contact delegate_belongs_to :contact, [:defaults] ## same as above, and useless delegate_belongs_to :contact, [:defaults, :address, :fullname], :class_name => 'VCard'
Edit
git clone [email protected]:solidusio/solidus.git
cd solidus
open core/lib/spree/core/delegate_belongs_to.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-DelegateBelongsTo--ClassMethods-delegate_belongs_to-for-pr
# Commit to gitgit add core/lib/spree/core/delegate_belongs_to.rbgit commit -m "better docs for DelegateBelongsTo::ClassMethods#delegate_belongs_to"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-DelegateBelongsTo--ClassMethods-delegate_belongs_to-for-pr
hub pull-request
# Celebrate!