Add rails support, bump to 0.1.2