money-rails Questions

2

Solved

I upgraded an app to Rails 6.1.0 (from 6.0.3.3, by creating a new api-only app, adding RSpec, then copying needed files over manually). I am seeing the following warning when I run RSpec: DEPRECATI...

3

Solved

I'm using the money-rails gem in my Rails application. It have worked perfectly until now, but I've recently started getting the following error: Money#== supports only zero numerics I'm not rea...
Chantay asked 15/9, 2018 at 20:9

3

Solved

I'm using the money-rails gem and want to show in my view a list of different currencies but the code I have now isn't working. I have my Price model and the fields in_cents and currency: create_ta...
Leucoma asked 15/8, 2014 at 23:28

5

Solved

In my Donations Model, I have monetized the amount_cents column I need the humanized version of the donation amount (Eg. 643.50) in the Model so I can generate and send a PDF receipt to the donor....
Rennes asked 19/8, 2015 at 4:30

3

Solved

Im trying to use monetise in my Rails 4 app (with money-rails gem). How do you allow a user to submit a number dollars only? When I input 100 I get $1 instead of $100. In my model, I have: monet...
Castanon asked 2/6, 2015 at 4:56

1

I have a model in my rails 4 app called funding. I am using Money Rails to handle money/currency components - https://github.com/RubyMoney/money-rails My funding model has 3 funding attributes ca...
Cesium asked 10/5, 2015 at 1:38

1

Solved

I am trying to use the money-rails gem in my rails 4 app. I have a participant model which has attributes for each of currency and participation_cost in it. My objective is for users to specify a ...
Sebastiansebastiano asked 3/5, 2015 at 5:31
1

© 2022 - 2024 — McMap. All rights reserved.