diff --git a/README.md b/README.md index 6508a965b8a519737f35c2ca17d5564894d73cb7..6a9bae9ca59a0443ec75f03954cf4b3081b0937d 100644 --- a/README.md +++ b/README.md @@ -15,8 +15,8 @@ Compatibility * Works very well outside of Rails, you just need to install either the `json` (for MRI) or `json_pure` (for JRuby) gem. -Rails 4.1 Note --------------- +Note on Rails 4.1 and Greater +----------------------------- Due to [a change in ActiveRecord's `count` method](https://github.com/rails/rails/pull/10710) you will need to use `count(:all)` to explicitly count all columns ("*") when using a `near` scope. Using `near` and calling `count` with no argument will cause exceptions in many cases.