updates for travis testing rails 4 and 3