make version 1.3.0 support rails 4