Define your error with status code. Raise it and you will get formatted response with i18nized message.
语言:Ruby · GitHub 星标:60 · Fork:2
话题:rails · ruby
在 GitHub 上查看原仓库