We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a88b7e7 + 7e58634 commit b164c37Copy full SHA for b164c37
1 file changed
lib/jsonapi/exceptions.rb
@@ -10,7 +10,7 @@ def initialize(exception)
10
end
11
12
def errors
13
- unless Rails.env.prod?
+ unless Rails.env.production?
14
meta = Hash.new
15
meta[:exception] = exception.message
16
meta[:backtrace] = exception.backtrace
0 commit comments