[api] more porting to rails 4 - removing deprecated calls
[api] use full rails instead of rails-api (for now at least)