[api] switch to rails 4.0.3