Expand Rails gem to be ~> 4.0.0

Fixes #298, Fixes #303