[api] initial port to rails 4.1