Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot set currency #43

Open
francisneedham opened this issue Aug 5, 2016 · 2 comments
Open

cannot set currency #43

francisneedham opened this issue Aug 5, 2016 · 2 comments

Comments

@francisneedham
Copy link

Hi,
I'm using the GEM on a rails 5 project.
Everything is working perfectly but i cannot change the currency to eur.

i have in my MoneyRails initializer
config.default_currency = :eur

but still does not work.

Thanks !

Francis

@francisneedham
Copy link
Author

Right now this is my solution

before_validation :set_currency

def set_currency
 self.price_currency = "EUR"
end

@softr8
Copy link

softr8 commented Aug 8, 2016

Have you tried the most recent version? https://github.com/dabit/acts_as_shopping_cart

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants