Age | Commit message (Collapse) | Author |
|
|
|
|
|
The billing address as well as the interval and end date can now be
set directly on the subscription, so we need to permit those attributes
by default.
|
|
|
|
We are going to support multiple items per subscription. This commit
changes the subscription -> subscription_line_item relationship from a
has_one to a has_many.
Most of the changes here are simply pluralization changes. Somethat are
not:
Api params now take:
`line_items_attributes instead` of `line_item_attributes` for nested params
to a subscription
`subscription_line_items_attributes` instead of
`subscription_line_item_attributes`
Only the interval of the first subscription_line_item is considered
|
|
|
|
Instead of overriding Spree::PermittedAttributes in various decorators,
group this override together in its own module.
At least now this is all happening in the same place
|