money gem question

38 views
Skip to first unread message

Roelof Wobben

unread,
Sep 27, 2014, 3:35:27 PM9/27/14
to rubyonra...@googlegroups.com
Hello,

If I use the money gem for storing amounts of money which can be payed by a user, can I also do calculations  on it .

Roelof

Colin Law

unread,
Sep 27, 2014, 4:13:41 PM9/27/14
to rubyonra...@googlegroups.com
Does the documentation for the gem help [1]?
It does not seem to me that it 'stores' amounts of money.

[1] http://rubymoney.github.io/money/

Colin

Roelof Wobben

unread,
Sep 28, 2014, 3:18:43 AM9/28/14
to rubyonra...@googlegroups.com
Hello Colin,

Sorry for the confusion but I mean this one : https://github.com/RubyMoney/money-rails

Roelof


Op zaterdag 27 september 2014 22:13:41 UTC+2 schreef Colin Law:

Colin Law

unread,
Sep 28, 2014, 3:50:43 AM9/28/14
to rubyonra...@googlegroups.com
On 28 September 2014 08:18, Roelof Wobben <rwo...@hotmail.com> wrote:
> Hello Colin,
>
> Sorry for the confusion but I mean this one :
> https://github.com/RubyMoney/money-rails

The first line of the introduction says that it provides integration
with Rails for the gem that I linked to.

Colin

>
> Roelof
>
>
> Op zaterdag 27 september 2014 22:13:41 UTC+2 schreef Colin Law:
>>
>> On 27 September 2014 20:35, Roelof Wobben <rwo...@hotmail.com> wrote:
>> > Hello,
>> >
>> > If I use the money gem for storing amounts of money which can be payed
>> > by a
>> > user, can I also do calculations on it .
>>
>> Does the documentation for the gem help [1]?
>> It does not seem to me that it 'stores' amounts of money.
>>
>> [1] http://rubymoney.github.io/money/
>>
>> Colin
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to rubyonrails-ta...@googlegroups.com.
> To post to this group, send email to rubyonra...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/rubyonrails-talk/fa65e675-347e-4c4e-a326-1d039b4896d6%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.

Roelof Wobben

unread,
Sep 28, 2014, 4:03:45 AM9/28/14
to rubyonra...@googlegroups.com
Oke,

So first the first one I can make my model and save it and with the second I can do the calculation ?

Roelof


Op zondag 28 september 2014 09:50:43 UTC+2 schreef Colin Law:

Colin Law

unread,
Sep 28, 2014, 5:19:41 AM9/28/14
to rubyonra...@googlegroups.com
On 28 September 2014 09:03, Roelof Wobben <rwo...@hotmail.com> wrote:
> Oke,
>
> So first the first one I can make my model and save it and with the second I
> can do the calculation ?

Please don't top post, insert your comments at appropriate point(s) in
previous message. Thanks.

I have never used them, I have just spent one minute looking at the
docs. The answer appears to be yes. What is it in the docs that is
not clear to you?

Colin
> https://groups.google.com/d/msgid/rubyonrails-talk/a7e9172d-0ee7-43e7-a06c-c438a67f68d8%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages