Replacing Restangular with ActiveRecord