ocean-rails 1.15.2 → 1.15.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ocean/ocean_application_controller.rb +1 -1
- data/lib/ocean/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6afb3d4bcadf67703c87d2cc0516f48466bc8f05
|
4
|
+
data.tar.gz: 5f6dd9ee89a954857b4e62c82c49d98bb4cc4eee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8bd89ed2bec9419ce0b9796c5244f6ab77b9f2ca7362761a2a82e544982e017fbd94f3b4fd6851cb79134fd39e83ab0b631d5061c83d35021863dd6af17f2b81
|
7
|
+
data.tar.gz: 4f8d1f5b5ce471f81aeb9f3219b3766aa8453faebeebae99b5eede9ec45b439e0a094e251c7041e17b5ebf24a1148dab51e1b0a57d72745e1be0a9de42c72ae9
|
@@ -130,7 +130,7 @@ module OceanApplicationController
|
|
130
130
|
def render_validation_errors(r, except: [])
|
131
131
|
except = [except] unless except.is_a?(Array)
|
132
132
|
except = except.collect(&:to_sym)
|
133
|
-
render json: r.errors.messages.except(except), :status => 422
|
133
|
+
render json: r.errors.messages.except(*except), :status => 422
|
134
134
|
end
|
135
135
|
|
136
136
|
#
|
data/lib/ocean/version.rb
CHANGED