[api] some random preparations for rails4