Some additional commits for rails4

Also I think we should bump the version since the AR/AS requirements is now `~> 4.0.0` due to 50a8298d6531f436de6d96a5968183e5c6b009f9 .