support activerecord up to 4.1
develop with ruby-2.1.2