Skip to content

Instantly share code, notes, and snippets.

@braidn
Last active October 21, 2016 13:54
Show Gist options
  • Save braidn/74e9206ea13a3dac6be4f4fa9df05365 to your computer and use it in GitHub Desktop.
Save braidn/74e9206ea13a3dac6be4f4fa9df05365 to your computer and use it in GitHub Desktop.
module Spree
PermittedAttributes.module_eval do
def subscription_attributes
[
:activated_at
]
end
module_function :subscription_attributes
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment