Add seconds (in fixnum format) to a datetime, Rails

Solution 1:

Don't barbeque me if this is wrong now but back when I was doing Rails you would just say Time.now + @seconds.seconds . Also @seconds.seconds.from_now

Solution 2:

Today I learned that (1.second + DateTime.now) != (DateTime.now + 1.second)

to answer your question try using Time.now + @seconds.seconds or Time.now + @seconds.to_i.seconds