supporting Rails 4
bump version to 0.3.1