restful_json 3.4.1 → 3.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/README.md +831 -831
- data/lib/restful_json/default_controller.rb +0 -6
- data/lib/restful_json/version.rb +1 -1
- metadata +2 -2
@@ -7,12 +7,6 @@ module RestfulJson
|
|
7
7
|
include ::ActionController::StrongParameters
|
8
8
|
include ::TwinTurbo::Controller
|
9
9
|
include ::RestfulJson::Controller
|
10
|
-
|
11
|
-
rescue_from Exception, :with => :render_error
|
12
|
-
rescue_from ActiveRecord::RecordNotFound, :with => :render_not_found
|
13
|
-
rescue_from ActionController::RoutingError, :with => :render_not_found
|
14
|
-
rescue_from ActionController::UnknownController, :with => :render_not_found
|
15
|
-
rescue_from AbstractController::ActionNotFound, :with => :render_not_found
|
16
10
|
end
|
17
11
|
end
|
18
12
|
end
|
data/lib/restful_json/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: restful_json
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.4.
|
4
|
+
version: 3.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gary S. Weaver
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-04-
|
12
|
+
date: 2013-04-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|