* Fix for ActiveRecord 4.1.9
  * scope error