Displaying 1 result from an estimated 1 matches for "opens_at".
Did you mean:
open_at
2012 Feb 29
1
can't convert Fixnum into String in relativity
good day i read about relativity gem but when i try to use it and make
a test file and build it gives me an error
=test.rb=
<pre>
require ''relativity''
opens_at = DayTime.new(9) #=> 09:00:00
closes_at = DayTime.new(12,30) #=> 12:30:00
</pre>
<pre>
/home/start/.rvm/gems/ruby-1.9.2-p290/gems/relativity-0.0.8/lib/
relativity/day_time/new.rb:24:in `BigDecimal'': can''t convert Fixnum
into String (TypeError)
from /home/start...