update gem to support activerecord 4.2