ruby

A collection of 8 posts

Jul 23, 2014

Weirdness of Bigdecimal.new

Recently i was bitten by this weirdness of BigDecimal in Ruby.BigDecimal.new excepts initial value and number of significant digits. In one of my app, BigDecimal.new was called with string initial

Dec 21, 2013

Enable minitest again

If you have skipped minitest/test-unit while creating a rails app with -T or want to move to minitest from rspec or want to start with minitest in an existing rails project without