action_bouncer 0.0.3 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +2 -1
- data/lib/action_bouncer.rb +1 -1
- data/lib/action_bouncer/allowance.rb +11 -2
- data/lib/action_bouncer/authorization.rb +3 -3
- data/lib/action_bouncer/version.rb +1 -1
- data/spec/controllers/except_param_controller_spec.rb +55 -0
- data/spec/dummy/log/test.log +642 -0
- data/spec/spec_helper.rb +3 -0
- metadata +4 -3
- data/lib/tasks/action_bouncer_tasks.rake +0 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 98afc04146163930bec5b7857b33476acf994968
|
4
|
+
data.tar.gz: 0c80b87b56de12a028680089928da322b989ef4b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 844c0be86c5ae2f3f643cb0391e9182d080ca40ce4676ad2369d9c1907ee9e5ab4174510b0e7c97d1575fe9ad9b00e026f3a0469e3e30f59fd8c97a4c42b505b
|
7
|
+
data.tar.gz: fa7f2f7578fecec2aa65d992b78d80d3a644415e931172fa54d4af9d0f6e18faca872ebe89bd274d085a02c6470bd834499c7e9f7261c4320207069539ae3a6b
|
data/README.md
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
# ActionBouncer
|
2
2
|
|
3
|
-
[](https://travis-ci.org/oswaldoferreira/action_bouncer)
|
4
|
+
[](https://codeclimate.com/github/oswaldoferreira/action_bouncer/coverage)
|
4
5
|
|
5
6
|
It's a dead simple Rails authorization lib for well defined authorization objects interfaces.
|
6
7
|
|
data/lib/action_bouncer.rb
CHANGED
@@ -6,9 +6,10 @@ module ActionBouncer
|
|
6
6
|
@resource_sym, @options = resource_sym, options
|
7
7
|
end
|
8
8
|
|
9
|
-
def
|
9
|
+
def allowed?(controller, action)
|
10
10
|
resource = controller.send(@resource_sym)
|
11
|
-
|
11
|
+
exception_action?(action) ||
|
12
|
+
(allowed_action?(action) && matches_resource_condition?(resource))
|
12
13
|
end
|
13
14
|
|
14
15
|
private
|
@@ -17,6 +18,10 @@ module ActionBouncer
|
|
17
18
|
allowed_actions.include?(action.to_sym) || allowed_actions.include?(:all)
|
18
19
|
end
|
19
20
|
|
21
|
+
def exception_action?(action)
|
22
|
+
exception_actions.include?(action.to_sym)
|
23
|
+
end
|
24
|
+
|
20
25
|
def matches_resource_condition?(resource)
|
21
26
|
conditions.any? { |condition| resource.send(condition).present? }
|
22
27
|
end
|
@@ -25,6 +30,10 @@ module ActionBouncer
|
|
25
30
|
Array.wrap(@options[:to])
|
26
31
|
end
|
27
32
|
|
33
|
+
def exception_actions
|
34
|
+
Array.wrap(@options[:except])
|
35
|
+
end
|
36
|
+
|
28
37
|
def conditions
|
29
38
|
Array.wrap(@options[:if])
|
30
39
|
end
|
@@ -8,14 +8,14 @@ module ActionBouncer
|
|
8
8
|
|
9
9
|
def authorize!(controller)
|
10
10
|
return if @allowances.nil?
|
11
|
-
fail Unauthorized
|
11
|
+
fail Unauthorized unless authorized?(controller)
|
12
12
|
end
|
13
13
|
|
14
14
|
private
|
15
15
|
|
16
|
-
def
|
16
|
+
def authorized?(controller)
|
17
17
|
action = controller.send(:params).fetch(:action)
|
18
|
-
@allowances.
|
18
|
+
@allowances.any? { |allowance| allowance.allowed?(controller, action) }
|
19
19
|
end
|
20
20
|
end
|
21
21
|
end
|
@@ -0,0 +1,55 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
class ExceptParamController < ActionController::Base
|
4
|
+
helper_method :current_user
|
5
|
+
|
6
|
+
include ActionBouncer
|
7
|
+
|
8
|
+
allow :current_user,
|
9
|
+
to: [:index, :new],
|
10
|
+
except: :edit,
|
11
|
+
if: :admin?
|
12
|
+
|
13
|
+
def index
|
14
|
+
render nothing: true, status: :success
|
15
|
+
end
|
16
|
+
|
17
|
+
def new
|
18
|
+
render nothing: true, status: :success
|
19
|
+
end
|
20
|
+
|
21
|
+
def edit
|
22
|
+
render nothing: true, status: :success
|
23
|
+
end
|
24
|
+
end
|
25
|
+
|
26
|
+
describe ExceptParamController do
|
27
|
+
before do
|
28
|
+
Rails.application.routes.draw do
|
29
|
+
get '/index' => 'except_param#index'
|
30
|
+
get '/new' => 'except_param#new'
|
31
|
+
get '/edit' => 'except_param#edit'
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
context 'when authorized' do
|
36
|
+
before do
|
37
|
+
allow(subject).to receive(:current_user) { OpenStruct.new(admin?: true) }
|
38
|
+
end
|
39
|
+
|
40
|
+
it { expect{ get :edit }.not_to raise_error }
|
41
|
+
it { expect{ get :index }.not_to raise_error }
|
42
|
+
it { expect{ get :new }.not_to raise_error }
|
43
|
+
end
|
44
|
+
|
45
|
+
context 'when not authorized' do
|
46
|
+
before do
|
47
|
+
allow(subject).to receive(:current_user) { OpenStruct.new(admin?: false) }
|
48
|
+
end
|
49
|
+
|
50
|
+
it { expect{ get :edit }.not_to raise_error }
|
51
|
+
it { expect{ get :index }.to raise_error{ ActionBouncer::Unauthorized } }
|
52
|
+
it { expect{ get :new }.to raise_error{ ActionBouncer::Unauthorized } }
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
data/spec/dummy/log/test.log
CHANGED
@@ -2709,3 +2709,645 @@ Processing by MultipleAllowancesController#index as HTML
|
|
2709
2709
|
Rendered text template (0.0ms)
|
2710
2710
|
Completed 500 Internal Server Error in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
2711
2711
|
[1m[35m (0.1ms)[0m rollback transaction
|
2712
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
2713
|
+
Processing by ArrayParamsController#edit as HTML
|
2714
|
+
Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
|
2715
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2716
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2717
|
+
Processing by ArrayParamsController#new as HTML
|
2718
|
+
Rendered text template (0.0ms)
|
2719
|
+
Completed 500 Internal Server Error in 9ms (Views: 8.7ms | ActiveRecord: 0.0ms)
|
2720
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2721
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2722
|
+
Processing by ArrayParamsController#index as HTML
|
2723
|
+
Rendered text template (0.0ms)
|
2724
|
+
Completed 500 Internal Server Error in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
2725
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2726
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2727
|
+
Processing by SymbolParamsController#new as HTML
|
2728
|
+
Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
|
2729
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2730
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2731
|
+
Processing by SymbolParamsController#index as HTML
|
2732
|
+
Rendered text template (0.0ms)
|
2733
|
+
Completed 500 Internal Server Error in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms)
|
2734
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2735
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2736
|
+
Processing by NoSetupController#index as HTML
|
2737
|
+
Rendered text template (0.0ms)
|
2738
|
+
Completed 500 Internal Server Error in 2ms (Views: 2.2ms | ActiveRecord: 0.0ms)
|
2739
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2740
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2741
|
+
Processing by MultipleAllowancesController#new as HTML
|
2742
|
+
Rendered text template (0.0ms)
|
2743
|
+
Completed 500 Internal Server Error in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms)
|
2744
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2745
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2746
|
+
Processing by MultipleAllowancesController#edit as HTML
|
2747
|
+
Rendered text template (0.0ms)
|
2748
|
+
Completed 500 Internal Server Error in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
2749
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2750
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2751
|
+
Processing by MultipleAllowancesController#index as HTML
|
2752
|
+
Rendered text template (0.0ms)
|
2753
|
+
Completed 500 Internal Server Error in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
2754
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2755
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2756
|
+
Processing by MultipleAllowancesController#new as HTML
|
2757
|
+
Rendered text template (0.0ms)
|
2758
|
+
Completed 500 Internal Server Error in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
2759
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2760
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2761
|
+
Processing by MultipleAllowancesController#index as HTML
|
2762
|
+
Rendered text template (0.0ms)
|
2763
|
+
Completed 500 Internal Server Error in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
2764
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2765
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2766
|
+
Processing by MultipleAllowancesController#edit as HTML
|
2767
|
+
Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
|
2768
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2769
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2770
|
+
Processing by AllParamController#index as HTML
|
2771
|
+
Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
|
2772
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2773
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2774
|
+
Processing by AllParamController#new as HTML
|
2775
|
+
Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
|
2776
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2777
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2778
|
+
Processing by AllParamController#edit as HTML
|
2779
|
+
Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
|
2780
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2781
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2782
|
+
Processing by AllParamController#index as HTML
|
2783
|
+
Rendered text template (0.0ms)
|
2784
|
+
Completed 500 Internal Server Error in 2ms (Views: 2.2ms | ActiveRecord: 0.0ms)
|
2785
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2786
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2787
|
+
Processing by AllParamController#edit as HTML
|
2788
|
+
Rendered text template (0.0ms)
|
2789
|
+
Completed 500 Internal Server Error in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
2790
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2791
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2792
|
+
Processing by AllParamController#new as HTML
|
2793
|
+
Rendered text template (0.0ms)
|
2794
|
+
Completed 500 Internal Server Error in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
2795
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2796
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
2797
|
+
Processing by ArrayParamsController#edit as HTML
|
2798
|
+
Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
|
2799
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2800
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2801
|
+
Processing by ArrayParamsController#index as HTML
|
2802
|
+
Rendered text template (0.0ms)
|
2803
|
+
Completed 500 Internal Server Error in 10ms (Views: 9.3ms | ActiveRecord: 0.0ms)
|
2804
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2805
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2806
|
+
Processing by ArrayParamsController#new as HTML
|
2807
|
+
Rendered text template (0.0ms)
|
2808
|
+
Completed 500 Internal Server Error in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
2809
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2810
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2811
|
+
Processing by AllParamController#edit as HTML
|
2812
|
+
Rendered text template (0.0ms)
|
2813
|
+
Completed 500 Internal Server Error in 3ms (Views: 3.0ms | ActiveRecord: 0.0ms)
|
2814
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2815
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2816
|
+
Processing by AllParamController#index as HTML
|
2817
|
+
Rendered text template (0.0ms)
|
2818
|
+
Completed 500 Internal Server Error in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
2819
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2820
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2821
|
+
Processing by AllParamController#new as HTML
|
2822
|
+
Rendered text template (0.0ms)
|
2823
|
+
Completed 500 Internal Server Error in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
2824
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2825
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
2826
|
+
Processing by AllParamController#index as HTML
|
2827
|
+
Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
|
2828
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2829
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2830
|
+
Processing by AllParamController#edit as HTML
|
2831
|
+
Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
|
2832
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2833
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2834
|
+
Processing by AllParamController#new as HTML
|
2835
|
+
Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
|
2836
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2837
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2838
|
+
Processing by SymbolParamsController#new as HTML
|
2839
|
+
Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
|
2840
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2841
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2842
|
+
Processing by SymbolParamsController#index as HTML
|
2843
|
+
Rendered text template (0.0ms)
|
2844
|
+
Completed 500 Internal Server Error in 2ms (Views: 2.2ms | ActiveRecord: 0.0ms)
|
2845
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2846
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2847
|
+
Processing by MultipleAllowancesController#edit as HTML
|
2848
|
+
Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
|
2849
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2850
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2851
|
+
Processing by MultipleAllowancesController#index as HTML
|
2852
|
+
Rendered text template (0.0ms)
|
2853
|
+
Completed 500 Internal Server Error in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms)
|
2854
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2855
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2856
|
+
Processing by MultipleAllowancesController#new as HTML
|
2857
|
+
Rendered text template (0.0ms)
|
2858
|
+
Completed 500 Internal Server Error in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
2859
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2860
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2861
|
+
Processing by MultipleAllowancesController#new as HTML
|
2862
|
+
Rendered text template (0.0ms)
|
2863
|
+
Completed 500 Internal Server Error in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
2864
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2865
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2866
|
+
Processing by MultipleAllowancesController#index as HTML
|
2867
|
+
Rendered text template (0.0ms)
|
2868
|
+
Completed 500 Internal Server Error in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
2869
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2870
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2871
|
+
Processing by MultipleAllowancesController#edit as HTML
|
2872
|
+
Rendered text template (0.0ms)
|
2873
|
+
Completed 500 Internal Server Error in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
2874
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2875
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2876
|
+
Processing by NoSetupController#index as HTML
|
2877
|
+
Rendered text template (0.0ms)
|
2878
|
+
Completed 500 Internal Server Error in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms)
|
2879
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2880
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
2881
|
+
Processing by ArrayParamsController#index as HTML
|
2882
|
+
Rendered text template (0.0ms)
|
2883
|
+
Completed 500 Internal Server Error in 9ms (Views: 8.5ms | ActiveRecord: 0.0ms)
|
2884
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2885
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2886
|
+
Processing by ArrayParamsController#edit as HTML
|
2887
|
+
Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
|
2888
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2889
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2890
|
+
Processing by ArrayParamsController#new as HTML
|
2891
|
+
Rendered text template (0.0ms)
|
2892
|
+
Completed 500 Internal Server Error in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
2893
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2894
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2895
|
+
Processing by MultipleAllowancesController#edit as HTML
|
2896
|
+
Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
|
2897
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2898
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2899
|
+
Processing by MultipleAllowancesController#new as HTML
|
2900
|
+
Rendered text template (0.0ms)
|
2901
|
+
Completed 500 Internal Server Error in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms)
|
2902
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2903
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2904
|
+
Processing by MultipleAllowancesController#edit as HTML
|
2905
|
+
Rendered text template (0.0ms)
|
2906
|
+
Completed 500 Internal Server Error in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
2907
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2908
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2909
|
+
Processing by MultipleAllowancesController#index as HTML
|
2910
|
+
Rendered text template (0.0ms)
|
2911
|
+
Completed 500 Internal Server Error in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
2912
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2913
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2914
|
+
Processing by MultipleAllowancesController#new as HTML
|
2915
|
+
Rendered text template (0.0ms)
|
2916
|
+
Completed 500 Internal Server Error in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
2917
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2918
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2919
|
+
Processing by MultipleAllowancesController#index as HTML
|
2920
|
+
Rendered text template (0.0ms)
|
2921
|
+
Completed 500 Internal Server Error in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
2922
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2923
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2924
|
+
Processing by SymbolParamsController#new as HTML
|
2925
|
+
Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
|
2926
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2927
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2928
|
+
Processing by SymbolParamsController#index as HTML
|
2929
|
+
Rendered text template (0.0ms)
|
2930
|
+
Completed 500 Internal Server Error in 3ms (Views: 3.3ms | ActiveRecord: 0.0ms)
|
2931
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2932
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
2933
|
+
Processing by AllParamController#new as HTML
|
2934
|
+
Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
|
2935
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2936
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2937
|
+
Processing by AllParamController#index as HTML
|
2938
|
+
Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
|
2939
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2940
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2941
|
+
Processing by AllParamController#edit as HTML
|
2942
|
+
Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
|
2943
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2944
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2945
|
+
Processing by AllParamController#new as HTML
|
2946
|
+
Rendered text template (0.0ms)
|
2947
|
+
Completed 500 Internal Server Error in 2ms (Views: 2.2ms | ActiveRecord: 0.0ms)
|
2948
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2949
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2950
|
+
Processing by AllParamController#index as HTML
|
2951
|
+
Rendered text template (0.0ms)
|
2952
|
+
Completed 500 Internal Server Error in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
2953
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2954
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2955
|
+
Processing by AllParamController#edit as HTML
|
2956
|
+
Rendered text template (0.0ms)
|
2957
|
+
Completed 500 Internal Server Error in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
2958
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2959
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2960
|
+
Processing by NoSetupController#index as HTML
|
2961
|
+
Rendered text template (0.0ms)
|
2962
|
+
Completed 500 Internal Server Error in 2ms (Views: 2.2ms | ActiveRecord: 0.0ms)
|
2963
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2964
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
2965
|
+
Processing by MultipleAllowancesController#index as HTML
|
2966
|
+
Rendered text template (0.0ms)
|
2967
|
+
Completed 500 Internal Server Error in 9ms (Views: 8.5ms | ActiveRecord: 0.0ms)
|
2968
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2969
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2970
|
+
Processing by MultipleAllowancesController#new as HTML
|
2971
|
+
Rendered text template (0.0ms)
|
2972
|
+
Completed 500 Internal Server Error in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
2973
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2974
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2975
|
+
Processing by MultipleAllowancesController#edit as HTML
|
2976
|
+
Rendered text template (0.0ms)
|
2977
|
+
Completed 500 Internal Server Error in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
2978
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2979
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2980
|
+
Processing by MultipleAllowancesController#index as HTML
|
2981
|
+
Rendered text template (0.0ms)
|
2982
|
+
Completed 500 Internal Server Error in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
2983
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2984
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2985
|
+
Processing by MultipleAllowancesController#new as HTML
|
2986
|
+
Rendered text template (0.0ms)
|
2987
|
+
Completed 500 Internal Server Error in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
2988
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2989
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2990
|
+
Processing by MultipleAllowancesController#edit as HTML
|
2991
|
+
Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
|
2992
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2993
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2994
|
+
Processing by ArrayParamsController#new as HTML
|
2995
|
+
Rendered text template (0.0ms)
|
2996
|
+
Completed 500 Internal Server Error in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)
|
2997
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2998
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2999
|
+
Processing by ArrayParamsController#edit as HTML
|
3000
|
+
Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
|
3001
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3002
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3003
|
+
Processing by ArrayParamsController#index as HTML
|
3004
|
+
Rendered text template (0.0ms)
|
3005
|
+
Completed 500 Internal Server Error in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
3006
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3007
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3008
|
+
Processing by SymbolParamsController#index as HTML
|
3009
|
+
Rendered text template (0.0ms)
|
3010
|
+
Completed 500 Internal Server Error in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms)
|
3011
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3012
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3013
|
+
Processing by SymbolParamsController#new as HTML
|
3014
|
+
Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
|
3015
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3016
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3017
|
+
Processing by NoSetupController#index as HTML
|
3018
|
+
Rendered text template (0.0ms)
|
3019
|
+
Completed 500 Internal Server Error in 2ms (Views: 2.2ms | ActiveRecord: 0.0ms)
|
3020
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
3021
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3022
|
+
Processing by AllParamController#index as HTML
|
3023
|
+
Rendered text template (0.0ms)
|
3024
|
+
Completed 500 Internal Server Error in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)
|
3025
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3026
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3027
|
+
Processing by AllParamController#edit as HTML
|
3028
|
+
Rendered text template (0.0ms)
|
3029
|
+
Completed 500 Internal Server Error in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
3030
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3031
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3032
|
+
Processing by AllParamController#new as HTML
|
3033
|
+
Rendered text template (0.0ms)
|
3034
|
+
Completed 500 Internal Server Error in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
3035
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3036
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3037
|
+
Processing by AllParamController#index as HTML
|
3038
|
+
Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
|
3039
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3040
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3041
|
+
Processing by AllParamController#edit as HTML
|
3042
|
+
Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
|
3043
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3044
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3045
|
+
Processing by AllParamController#new as HTML
|
3046
|
+
Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
|
3047
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3048
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
3049
|
+
Processing by SymbolParamsController#new as HTML
|
3050
|
+
Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
|
3051
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3052
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3053
|
+
Processing by SymbolParamsController#index as HTML
|
3054
|
+
Rendered text template (0.0ms)
|
3055
|
+
Completed 500 Internal Server Error in 9ms (Views: 9.1ms | ActiveRecord: 0.0ms)
|
3056
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3057
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3058
|
+
Processing by MultipleAllowancesController#edit as HTML
|
3059
|
+
Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
|
3060
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3061
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3062
|
+
Processing by MultipleAllowancesController#index as HTML
|
3063
|
+
Rendered text template (0.0ms)
|
3064
|
+
Completed 500 Internal Server Error in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)
|
3065
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3066
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3067
|
+
Processing by MultipleAllowancesController#edit as HTML
|
3068
|
+
Rendered text template (0.0ms)
|
3069
|
+
Completed 500 Internal Server Error in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
3070
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3071
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3072
|
+
Processing by MultipleAllowancesController#new as HTML
|
3073
|
+
Rendered text template (0.0ms)
|
3074
|
+
Completed 500 Internal Server Error in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
3075
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3076
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3077
|
+
Processing by MultipleAllowancesController#index as HTML
|
3078
|
+
Rendered text template (0.0ms)
|
3079
|
+
Completed 500 Internal Server Error in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
3080
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3081
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3082
|
+
Processing by MultipleAllowancesController#new as HTML
|
3083
|
+
Rendered text template (0.0ms)
|
3084
|
+
Completed 500 Internal Server Error in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
3085
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3086
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3087
|
+
Processing by NoSetupController#index as HTML
|
3088
|
+
Rendered text template (0.0ms)
|
3089
|
+
Completed 500 Internal Server Error in 2ms (Views: 2.2ms | ActiveRecord: 0.0ms)
|
3090
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3091
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3092
|
+
Processing by AllParamController#new as HTML
|
3093
|
+
Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
|
3094
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3095
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3096
|
+
Processing by AllParamController#edit as HTML
|
3097
|
+
Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
|
3098
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3099
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3100
|
+
Processing by AllParamController#index as HTML
|
3101
|
+
Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
|
3102
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3103
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3104
|
+
Processing by AllParamController#index as HTML
|
3105
|
+
Rendered text template (0.0ms)
|
3106
|
+
Completed 500 Internal Server Error in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms)
|
3107
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3108
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3109
|
+
Processing by AllParamController#new as HTML
|
3110
|
+
Rendered text template (0.0ms)
|
3111
|
+
Completed 500 Internal Server Error in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
3112
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3113
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3114
|
+
Processing by AllParamController#edit as HTML
|
3115
|
+
Rendered text template (0.0ms)
|
3116
|
+
Completed 500 Internal Server Error in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
3117
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3118
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3119
|
+
Processing by ArrayParamsController#new as HTML
|
3120
|
+
Rendered text template (0.0ms)
|
3121
|
+
Completed 500 Internal Server Error in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)
|
3122
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
3123
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3124
|
+
Processing by ArrayParamsController#edit as HTML
|
3125
|
+
Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
|
3126
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3127
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3128
|
+
Processing by ArrayParamsController#index as HTML
|
3129
|
+
Rendered text template (0.0ms)
|
3130
|
+
Completed 500 Internal Server Error in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
3131
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3132
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
3133
|
+
Processing by NoSetupController#index as HTML
|
3134
|
+
Rendered text template (0.0ms)
|
3135
|
+
Completed 500 Internal Server Error in 8ms (Views: 8.2ms | ActiveRecord: 0.0ms)
|
3136
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3137
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3138
|
+
Processing by ArrayParamsController#index as HTML
|
3139
|
+
Rendered text template (0.0ms)
|
3140
|
+
Completed 500 Internal Server Error in 2ms (Views: 2.3ms | ActiveRecord: 0.0ms)
|
3141
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3142
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3143
|
+
Processing by ArrayParamsController#new as HTML
|
3144
|
+
Rendered text template (0.1ms)
|
3145
|
+
Completed 500 Internal Server Error in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
3146
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3147
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3148
|
+
Processing by ArrayParamsController#edit as HTML
|
3149
|
+
Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
|
3150
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3151
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3152
|
+
Processing by MultipleAllowancesController#edit as HTML
|
3153
|
+
Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
|
3154
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3155
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3156
|
+
Processing by MultipleAllowancesController#new as HTML
|
3157
|
+
Rendered text template (0.0ms)
|
3158
|
+
Completed 500 Internal Server Error in 2ms (Views: 2.2ms | ActiveRecord: 0.0ms)
|
3159
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3160
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3161
|
+
Processing by MultipleAllowancesController#index as HTML
|
3162
|
+
Rendered text template (0.0ms)
|
3163
|
+
Completed 500 Internal Server Error in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
3164
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3165
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3166
|
+
Processing by MultipleAllowancesController#index as HTML
|
3167
|
+
Rendered text template (0.0ms)
|
3168
|
+
Completed 500 Internal Server Error in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
3169
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3170
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3171
|
+
Processing by MultipleAllowancesController#edit as HTML
|
3172
|
+
Rendered text template (0.0ms)
|
3173
|
+
Completed 500 Internal Server Error in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
3174
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3175
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3176
|
+
Processing by MultipleAllowancesController#new as HTML
|
3177
|
+
Rendered text template (0.0ms)
|
3178
|
+
Completed 500 Internal Server Error in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
3179
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3180
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3181
|
+
Processing by AllParamController#index as HTML
|
3182
|
+
Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
|
3183
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3184
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3185
|
+
Processing by AllParamController#new as HTML
|
3186
|
+
Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
|
3187
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3188
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3189
|
+
Processing by AllParamController#edit as HTML
|
3190
|
+
Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
|
3191
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3192
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3193
|
+
Processing by AllParamController#index as HTML
|
3194
|
+
Rendered text template (0.1ms)
|
3195
|
+
Completed 500 Internal Server Error in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)
|
3196
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3197
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3198
|
+
Processing by AllParamController#new as HTML
|
3199
|
+
Rendered text template (0.0ms)
|
3200
|
+
Completed 500 Internal Server Error in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
3201
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3202
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3203
|
+
Processing by AllParamController#edit as HTML
|
3204
|
+
Rendered text template (0.1ms)
|
3205
|
+
Completed 500 Internal Server Error in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
3206
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3207
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3208
|
+
Processing by SymbolParamsController#index as HTML
|
3209
|
+
Rendered text template (0.0ms)
|
3210
|
+
Completed 500 Internal Server Error in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms)
|
3211
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3212
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3213
|
+
Processing by SymbolParamsController#new as HTML
|
3214
|
+
Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
|
3215
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3216
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
3217
|
+
Processing by AllParamController#index as HTML
|
3218
|
+
Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
|
3219
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3220
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3221
|
+
Processing by AllParamController#new as HTML
|
3222
|
+
Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
|
3223
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3224
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3225
|
+
Processing by AllParamController#edit as HTML
|
3226
|
+
Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
|
3227
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3228
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3229
|
+
Processing by AllParamController#edit as HTML
|
3230
|
+
Rendered text template (0.0ms)
|
3231
|
+
Completed 500 Internal Server Error in 7ms (Views: 6.7ms | ActiveRecord: 0.0ms)
|
3232
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3233
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3234
|
+
Processing by AllParamController#new as HTML
|
3235
|
+
Rendered text template (0.0ms)
|
3236
|
+
Completed 500 Internal Server Error in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
3237
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3238
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3239
|
+
Processing by AllParamController#index as HTML
|
3240
|
+
Rendered text template (0.0ms)
|
3241
|
+
Completed 500 Internal Server Error in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
3242
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3243
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
3244
|
+
Processing by ArrayParamsController#index as HTML
|
3245
|
+
Rendered text template (0.0ms)
|
3246
|
+
Completed 500 Internal Server Error in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)
|
3247
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3248
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3249
|
+
Processing by ArrayParamsController#edit as HTML
|
3250
|
+
Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
|
3251
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3252
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3253
|
+
Processing by ArrayParamsController#new as HTML
|
3254
|
+
Rendered text template (0.0ms)
|
3255
|
+
Completed 500 Internal Server Error in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
3256
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3257
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3258
|
+
Processing by MultipleAllowancesController#edit as HTML
|
3259
|
+
Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
|
3260
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3261
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3262
|
+
Processing by MultipleAllowancesController#index as HTML
|
3263
|
+
Rendered text template (0.0ms)
|
3264
|
+
Completed 500 Internal Server Error in 4ms (Views: 3.2ms | ActiveRecord: 0.0ms)
|
3265
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3266
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3267
|
+
Processing by MultipleAllowancesController#new as HTML
|
3268
|
+
Rendered text template (0.0ms)
|
3269
|
+
Completed 500 Internal Server Error in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
3270
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3271
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3272
|
+
Processing by MultipleAllowancesController#edit as HTML
|
3273
|
+
Rendered text template (0.0ms)
|
3274
|
+
Completed 500 Internal Server Error in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
3275
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3276
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3277
|
+
Processing by MultipleAllowancesController#index as HTML
|
3278
|
+
Rendered text template (0.0ms)
|
3279
|
+
Completed 500 Internal Server Error in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
3280
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3281
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3282
|
+
Processing by MultipleAllowancesController#new as HTML
|
3283
|
+
Rendered text template (0.0ms)
|
3284
|
+
Completed 500 Internal Server Error in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
3285
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3286
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3287
|
+
Processing by NoSetupController#index as HTML
|
3288
|
+
Rendered text template (0.0ms)
|
3289
|
+
Completed 500 Internal Server Error in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)
|
3290
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3291
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3292
|
+
Processing by SymbolParamsController#new as HTML
|
3293
|
+
Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
|
3294
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3295
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3296
|
+
Processing by SymbolParamsController#index as HTML
|
3297
|
+
Rendered text template (0.0ms)
|
3298
|
+
Completed 500 Internal Server Error in 2ms (Views: 2.2ms | ActiveRecord: 0.0ms)
|
3299
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3300
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
3301
|
+
Processing by AllParamController#index as HTML
|
3302
|
+
Rendered text template (0.0ms)
|
3303
|
+
Completed 500 Internal Server Error in 10ms (Views: 9.2ms | ActiveRecord: 0.0ms)
|
3304
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3305
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3306
|
+
Processing by AllParamController#edit as HTML
|
3307
|
+
Rendered text template (0.0ms)
|
3308
|
+
Completed 500 Internal Server Error in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
3309
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3310
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
3311
|
+
Processing by AllParamController#new as HTML
|
3312
|
+
Rendered text template (0.0ms)
|
3313
|
+
Completed 500 Internal Server Error in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
3314
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3315
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3316
|
+
Processing by AllParamController#new as HTML
|
3317
|
+
Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
|
3318
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3319
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3320
|
+
Processing by AllParamController#edit as HTML
|
3321
|
+
Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
|
3322
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3323
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3324
|
+
Processing by AllParamController#index as HTML
|
3325
|
+
Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
|
3326
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3327
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
3328
|
+
Processing by AllParamController#edit as HTML
|
3329
|
+
Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
|
3330
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3331
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3332
|
+
Processing by AllParamController#index as HTML
|
3333
|
+
Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
|
3334
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3335
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3336
|
+
Processing by AllParamController#new as HTML
|
3337
|
+
Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
|
3338
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3339
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3340
|
+
Processing by AllParamController#new as HTML
|
3341
|
+
Rendered text template (0.0ms)
|
3342
|
+
Completed 500 Internal Server Error in 8ms (Views: 7.1ms | ActiveRecord: 0.0ms)
|
3343
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3344
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3345
|
+
Processing by AllParamController#index as HTML
|
3346
|
+
Rendered text template (0.0ms)
|
3347
|
+
Completed 500 Internal Server Error in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
3348
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3349
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3350
|
+
Processing by AllParamController#edit as HTML
|
3351
|
+
Rendered text template (0.0ms)
|
3352
|
+
Completed 500 Internal Server Error in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
3353
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
data/spec/spec_helper.rb
CHANGED
@@ -1,6 +1,9 @@
|
|
1
1
|
# Configure Rails Environment
|
2
2
|
ENV["RAILS_ENV"] = "test"
|
3
3
|
|
4
|
+
require "codeclimate-test-reporter"
|
5
|
+
CodeClimate::TestReporter.start
|
6
|
+
|
4
7
|
require File.expand_path("../../spec/dummy/config/environment.rb", __FILE__)
|
5
8
|
require "action_controller"
|
6
9
|
require "rspec/rails"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: action_bouncer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Oswaldo Ferreira
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-05-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -66,9 +66,9 @@ files:
|
|
66
66
|
- lib/action_bouncer/allowance.rb
|
67
67
|
- lib/action_bouncer/authorization.rb
|
68
68
|
- lib/action_bouncer/version.rb
|
69
|
-
- lib/tasks/action_bouncer_tasks.rake
|
70
69
|
- spec/controllers/all_param_controller_spec.rb
|
71
70
|
- spec/controllers/array_params_controller_spec.rb
|
71
|
+
- spec/controllers/except_param_controller_spec.rb
|
72
72
|
- spec/controllers/multiple_allowances_controller_spec.rb
|
73
73
|
- spec/controllers/no_setup_controller_spec.rb
|
74
74
|
- spec/controllers/symbol_params_controller_spec.rb
|
@@ -138,6 +138,7 @@ summary: Dead simple rails authorization
|
|
138
138
|
test_files:
|
139
139
|
- spec/controllers/all_param_controller_spec.rb
|
140
140
|
- spec/controllers/array_params_controller_spec.rb
|
141
|
+
- spec/controllers/except_param_controller_spec.rb
|
141
142
|
- spec/controllers/multiple_allowances_controller_spec.rb
|
142
143
|
- spec/controllers/no_setup_controller_spec.rb
|
143
144
|
- spec/controllers/symbol_params_controller_spec.rb
|