amazing_print 1.6.0 → 1.7.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -2
- data/lib/amazing_print/ext/active_record.rb +32 -2
- data/lib/amazing_print/ext/nobrainer.rb +2 -2
- data/lib/amazing_print/formatters/base_formatter.rb +5 -1
- data/lib/amazing_print/formatters/hash_formatter.rb +29 -9
- data/lib/amazing_print/formatters/mswin_helper.rb +4 -4
- data/lib/amazing_print/formatters/object_formatter.rb +1 -1
- data/lib/amazing_print/formatters/struct_formatter.rb +1 -1
- data/lib/amazing_print/inspector.rb +1 -1
- data/lib/amazing_print/version.rb +1 -1
- metadata +6 -63
- data/.gitignore +0 -35
- data/Appraisals +0 -66
- data/Gemfile +0 -18
- data/Gemfile.lock +0 -94
- data/LICENSE +0 -22
- data/Rakefile +0 -25
- data/spec/active_record_helper.rb +0 -43
- data/spec/colors_spec.rb +0 -120
- data/spec/core_ext/logger_spec.rb +0 -70
- data/spec/ext/action_controller_spec.rb +0 -40
- data/spec/ext/action_view_spec.rb +0 -24
- data/spec/ext/active_model_spec.rb +0 -37
- data/spec/ext/active_record_spec.rb +0 -302
- data/spec/ext/active_support_spec.rb +0 -37
- data/spec/ext/mongo_mapper_spec.rb +0 -265
- data/spec/ext/mongoid_spec.rb +0 -135
- data/spec/ext/nobrainer_spec.rb +0 -64
- data/spec/ext/nokogiri_spec.rb +0 -52
- data/spec/ext/ostruct_spec.rb +0 -24
- data/spec/ext/ripple_spec.rb +0 -53
- data/spec/ext/sequel_spec.rb +0 -45
- data/spec/formats_spec.rb +0 -795
- data/spec/methods_spec.rb +0 -520
- data/spec/misc_spec.rb +0 -206
- data/spec/objects_spec.rb +0 -225
- data/spec/sequel_helper.rb +0 -18
- data/spec/spec_helper.rb +0 -112
- data/spec/support/active_record_data/3_2_diana.txt +0 -24
- data/spec/support/active_record_data/3_2_diana_legacy.txt +0 -24
- data/spec/support/active_record_data/3_2_multi.txt +0 -50
- data/spec/support/active_record_data/3_2_multi_legacy.txt +0 -50
- data/spec/support/active_record_data/4_0_diana.txt +0 -98
- data/spec/support/active_record_data/4_0_multi.txt +0 -198
- data/spec/support/active_record_data/4_1_diana.txt +0 -97
- data/spec/support/active_record_data/4_1_multi.txt +0 -196
- data/spec/support/active_record_data/4_2_diana.txt +0 -109
- data/spec/support/active_record_data/4_2_diana_legacy.txt +0 -109
- data/spec/support/active_record_data/4_2_multi.txt +0 -220
- data/spec/support/active_record_data/4_2_multi_legacy.txt +0 -220
- data/spec/support/active_record_data/5_0_diana.txt +0 -105
- data/spec/support/active_record_data/5_0_multi.txt +0 -212
- data/spec/support/active_record_data/5_1_diana.txt +0 -104
- data/spec/support/active_record_data/5_1_multi.txt +0 -210
- data/spec/support/active_record_data/5_2_diana.txt +0 -104
- data/spec/support/active_record_data/5_2_multi.txt +0 -210
- data/spec/support/active_record_data/6_0_diana.txt +0 -104
- data/spec/support/active_record_data/6_0_multi.txt +0 -210
- data/spec/support/active_record_data/6_1_diana.txt +0 -109
- data/spec/support/active_record_data/6_1_multi.txt +0 -220
- data/spec/support/active_record_data/7_0_diana.txt +0 -110
- data/spec/support/active_record_data/7_0_multi.txt +0 -222
- data/spec/support/active_record_data.rb +0 -22
- data/spec/support/ext_verifier.rb +0 -46
- data/spec/support/mongoid_versions.rb +0 -24
- data/spec/support/rails_versions.rb +0 -62
@@ -1,109 +0,0 @@
|
|
1
|
-
#<User:placeholder_id
|
2
|
-
@_start_transaction_state = {},
|
3
|
-
@aggregation_cache = {},
|
4
|
-
@destroyed = false,
|
5
|
-
@marked_for_destruction = false,
|
6
|
-
@new_record = true,
|
7
|
-
@original_raw_attributes = {
|
8
|
-
"admin" => false,
|
9
|
-
"created_at" => 1992-10-10 12:30:00 UTC,
|
10
|
-
"name" => "Diana",
|
11
|
-
"rank" => 1
|
12
|
-
},
|
13
|
-
@readonly = false,
|
14
|
-
@transaction_state = nil,
|
15
|
-
@txn = nil,
|
16
|
-
attr_accessor :attributes = #<ActiveRecord::AttributeSet:placeholder_id
|
17
|
-
@attributes = #<ActiveRecord::LazyAttributeHash:placeholder_id
|
18
|
-
@additional_types = {},
|
19
|
-
@delegate_hash = {
|
20
|
-
"admin" => #<ActiveRecord::Attribute::FromUser:placeholder_id
|
21
|
-
attr_reader :name = "admin",
|
22
|
-
attr_reader :type = #<ActiveRecord::Type::Boolean:placeholder_id
|
23
|
-
attr_reader :limit = nil,
|
24
|
-
attr_reader :precision = nil,
|
25
|
-
attr_reader :scale = nil
|
26
|
-
>,
|
27
|
-
attr_reader :value = false,
|
28
|
-
attr_reader :value_before_type_cast = false
|
29
|
-
>,
|
30
|
-
"created_at" => #<ActiveRecord::Attribute::FromUser:placeholder_id
|
31
|
-
attr_reader :name = "created_at",
|
32
|
-
attr_reader :type = #<ActiveRecord::Type::DateTime:placeholder_id
|
33
|
-
attr_reader :limit = nil,
|
34
|
-
attr_reader :precision = nil,
|
35
|
-
attr_reader :scale = nil
|
36
|
-
>,
|
37
|
-
attr_reader :value = 1992-10-10 12:30:00 UTC,
|
38
|
-
attr_reader :value_before_type_cast = "1992-10-10 12:30:00"
|
39
|
-
>,
|
40
|
-
"name" => #<ActiveRecord::Attribute::FromUser:placeholder_id
|
41
|
-
attr_reader :name = "name",
|
42
|
-
attr_reader :type = #<ActiveRecord::Type::String:placeholder_id
|
43
|
-
attr_reader :limit = nil,
|
44
|
-
attr_reader :precision = nil,
|
45
|
-
attr_reader :scale = nil
|
46
|
-
>,
|
47
|
-
attr_reader :value = "Diana",
|
48
|
-
attr_reader :value_before_type_cast = "Diana"
|
49
|
-
>,
|
50
|
-
"rank" => #<ActiveRecord::Attribute::FromUser:placeholder_id
|
51
|
-
attr_reader :name = "rank",
|
52
|
-
attr_reader :type = #<ActiveRecord::Type::Integer:placeholder_id
|
53
|
-
@range = -2147483648...2147483648,
|
54
|
-
attr_reader :limit = nil,
|
55
|
-
attr_reader :precision = nil,
|
56
|
-
attr_reader :scale = nil
|
57
|
-
>,
|
58
|
-
attr_reader :value = 1,
|
59
|
-
attr_reader :value_before_type_cast = 1
|
60
|
-
>
|
61
|
-
},
|
62
|
-
@materialized = false,
|
63
|
-
@types = {
|
64
|
-
"admin" => #<ActiveRecord::Type::Boolean:placeholder_id
|
65
|
-
attr_reader :limit = nil,
|
66
|
-
attr_reader :precision = nil,
|
67
|
-
attr_reader :scale = nil
|
68
|
-
>,
|
69
|
-
"created_at" => #<ActiveRecord::Type::DateTime:placeholder_id
|
70
|
-
attr_reader :limit = nil,
|
71
|
-
attr_reader :precision = nil,
|
72
|
-
attr_reader :scale = nil
|
73
|
-
>,
|
74
|
-
"id" => #<ActiveRecord::Type::Integer:placeholder_id
|
75
|
-
@range = -2147483648...2147483648,
|
76
|
-
attr_reader :limit = nil,
|
77
|
-
attr_reader :precision = nil,
|
78
|
-
attr_reader :scale = nil
|
79
|
-
>,
|
80
|
-
"name" => #<ActiveRecord::Type::String:placeholder_id
|
81
|
-
attr_reader :limit = nil,
|
82
|
-
attr_reader :precision = nil,
|
83
|
-
attr_reader :scale = nil
|
84
|
-
>,
|
85
|
-
"rank" => #<ActiveRecord::Type::Integer:placeholder_id
|
86
|
-
@range = -2147483648...2147483648,
|
87
|
-
attr_reader :limit = nil,
|
88
|
-
attr_reader :precision = nil,
|
89
|
-
attr_reader :scale = nil
|
90
|
-
>
|
91
|
-
},
|
92
|
-
@values = {
|
93
|
-
"admin" => nil,
|
94
|
-
"created_at" => nil,
|
95
|
-
"id" => nil,
|
96
|
-
"name" => nil,
|
97
|
-
"rank" => nil
|
98
|
-
}
|
99
|
-
>
|
100
|
-
>,
|
101
|
-
attr_accessor :destroyed_by_association = nil,
|
102
|
-
attr_reader :association_cache = {},
|
103
|
-
attr_reader :changed_attributes = {
|
104
|
-
"admin" => nil,
|
105
|
-
"created_at" => nil,
|
106
|
-
"name" => nil,
|
107
|
-
"rank" => nil
|
108
|
-
}
|
109
|
-
>
|
@@ -1,109 +0,0 @@
|
|
1
|
-
#<User:placeholder_id
|
2
|
-
@_start_transaction_state = {},
|
3
|
-
@aggregation_cache = {},
|
4
|
-
@destroyed = false,
|
5
|
-
@marked_for_destruction = false,
|
6
|
-
@new_record = true,
|
7
|
-
@original_raw_attributes = {
|
8
|
-
"admin" => false,
|
9
|
-
"created_at" => 1992-10-10 12:30:00 UTC,
|
10
|
-
"name" => "Diana",
|
11
|
-
"rank" => 1
|
12
|
-
},
|
13
|
-
@readonly = false,
|
14
|
-
@transaction_state = nil,
|
15
|
-
@txn = nil,
|
16
|
-
attr_accessor :attributes = #<ActiveRecord::AttributeSet:placeholder_id
|
17
|
-
attr_reader :attributes = #<ActiveRecord::LazyAttributeHash:placeholder_id
|
18
|
-
@materialized = false,
|
19
|
-
attr_reader :additional_types = {},
|
20
|
-
attr_reader :delegate_hash = {
|
21
|
-
"admin" => #<ActiveRecord::Attribute::FromUser:placeholder_id
|
22
|
-
attr_reader :name = "admin",
|
23
|
-
attr_reader :type = #<ActiveRecord::Type::Boolean:placeholder_id
|
24
|
-
attr_reader :limit = nil,
|
25
|
-
attr_reader :precision = nil,
|
26
|
-
attr_reader :scale = nil
|
27
|
-
>,
|
28
|
-
attr_reader :value = false,
|
29
|
-
attr_reader :value_before_type_cast = false
|
30
|
-
>,
|
31
|
-
"created_at" => #<ActiveRecord::Attribute::FromUser:placeholder_id
|
32
|
-
attr_reader :name = "created_at",
|
33
|
-
attr_reader :type = #<ActiveRecord::Type::DateTime:placeholder_id
|
34
|
-
attr_reader :limit = nil,
|
35
|
-
attr_reader :precision = nil,
|
36
|
-
attr_reader :scale = nil
|
37
|
-
>,
|
38
|
-
attr_reader :value = 1992-10-10 12:30:00 UTC,
|
39
|
-
attr_reader :value_before_type_cast = "1992-10-10 12:30:00"
|
40
|
-
>,
|
41
|
-
"name" => #<ActiveRecord::Attribute::FromUser:placeholder_id
|
42
|
-
attr_reader :name = "name",
|
43
|
-
attr_reader :type = #<ActiveRecord::Type::String:placeholder_id
|
44
|
-
attr_reader :limit = nil,
|
45
|
-
attr_reader :precision = nil,
|
46
|
-
attr_reader :scale = nil
|
47
|
-
>,
|
48
|
-
attr_reader :value = "Diana",
|
49
|
-
attr_reader :value_before_type_cast = "Diana"
|
50
|
-
>,
|
51
|
-
"rank" => #<ActiveRecord::Attribute::FromUser:placeholder_id
|
52
|
-
attr_reader :name = "rank",
|
53
|
-
attr_reader :type = #<ActiveRecord::Type::Integer:placeholder_id
|
54
|
-
attr_reader :limit = nil,
|
55
|
-
attr_reader :precision = nil,
|
56
|
-
attr_reader :range = -2147483648...2147483648,
|
57
|
-
attr_reader :scale = nil
|
58
|
-
>,
|
59
|
-
attr_reader :value = 1,
|
60
|
-
attr_reader :value_before_type_cast = 1
|
61
|
-
>
|
62
|
-
},
|
63
|
-
attr_reader :types = {
|
64
|
-
"admin" => #<ActiveRecord::Type::Boolean:placeholder_id
|
65
|
-
attr_reader :limit = nil,
|
66
|
-
attr_reader :precision = nil,
|
67
|
-
attr_reader :scale = nil
|
68
|
-
>,
|
69
|
-
"created_at" => #<ActiveRecord::Type::DateTime:placeholder_id
|
70
|
-
attr_reader :limit = nil,
|
71
|
-
attr_reader :precision = nil,
|
72
|
-
attr_reader :scale = nil
|
73
|
-
>,
|
74
|
-
"id" => #<ActiveRecord::Type::Integer:placeholder_id
|
75
|
-
attr_reader :limit = nil,
|
76
|
-
attr_reader :precision = nil,
|
77
|
-
attr_reader :range = -2147483648...2147483648,
|
78
|
-
attr_reader :scale = nil
|
79
|
-
>,
|
80
|
-
"name" => #<ActiveRecord::Type::String:placeholder_id
|
81
|
-
attr_reader :limit = nil,
|
82
|
-
attr_reader :precision = nil,
|
83
|
-
attr_reader :scale = nil
|
84
|
-
>,
|
85
|
-
"rank" => #<ActiveRecord::Type::Integer:placeholder_id
|
86
|
-
attr_reader :limit = nil,
|
87
|
-
attr_reader :precision = nil,
|
88
|
-
attr_reader :range = -2147483648...2147483648,
|
89
|
-
attr_reader :scale = nil
|
90
|
-
>
|
91
|
-
},
|
92
|
-
attr_reader :values = {
|
93
|
-
"admin" => nil,
|
94
|
-
"created_at" => nil,
|
95
|
-
"id" => nil,
|
96
|
-
"name" => nil,
|
97
|
-
"rank" => nil
|
98
|
-
}
|
99
|
-
>
|
100
|
-
>,
|
101
|
-
attr_accessor :destroyed_by_association = nil,
|
102
|
-
attr_reader :association_cache = {},
|
103
|
-
attr_reader :changed_attributes = {
|
104
|
-
"admin" => nil,
|
105
|
-
"created_at" => nil,
|
106
|
-
"name" => nil,
|
107
|
-
"rank" => nil
|
108
|
-
}
|
109
|
-
>
|
@@ -1,220 +0,0 @@
|
|
1
|
-
[
|
2
|
-
[0] #<User:placeholder_id
|
3
|
-
@_start_transaction_state = {},
|
4
|
-
@aggregation_cache = {},
|
5
|
-
@destroyed = false,
|
6
|
-
@marked_for_destruction = false,
|
7
|
-
@new_record = true,
|
8
|
-
@original_raw_attributes = {
|
9
|
-
"admin" => false,
|
10
|
-
"created_at" => 1992-10-10 12:30:00 UTC,
|
11
|
-
"name" => "Diana",
|
12
|
-
"rank" => 1
|
13
|
-
},
|
14
|
-
@readonly = false,
|
15
|
-
@transaction_state = nil,
|
16
|
-
@txn = nil,
|
17
|
-
attr_accessor :attributes = #<ActiveRecord::AttributeSet:placeholder_id
|
18
|
-
@attributes = #<ActiveRecord::LazyAttributeHash:placeholder_id
|
19
|
-
@additional_types = {},
|
20
|
-
@delegate_hash = {
|
21
|
-
"admin" => #<ActiveRecord::Attribute::FromUser:placeholder_id
|
22
|
-
attr_reader :name = "admin",
|
23
|
-
attr_reader :type = #<ActiveRecord::Type::Boolean:placeholder_id
|
24
|
-
attr_reader :limit = nil,
|
25
|
-
attr_reader :precision = nil,
|
26
|
-
attr_reader :scale = nil
|
27
|
-
>,
|
28
|
-
attr_reader :value = false,
|
29
|
-
attr_reader :value_before_type_cast = false
|
30
|
-
>,
|
31
|
-
"created_at" => #<ActiveRecord::Attribute::FromUser:placeholder_id
|
32
|
-
attr_reader :name = "created_at",
|
33
|
-
attr_reader :type = #<ActiveRecord::Type::DateTime:placeholder_id
|
34
|
-
attr_reader :limit = nil,
|
35
|
-
attr_reader :precision = nil,
|
36
|
-
attr_reader :scale = nil
|
37
|
-
>,
|
38
|
-
attr_reader :value = 1992-10-10 12:30:00 UTC,
|
39
|
-
attr_reader :value_before_type_cast = "1992-10-10 12:30:00"
|
40
|
-
>,
|
41
|
-
"name" => #<ActiveRecord::Attribute::FromUser:placeholder_id
|
42
|
-
attr_reader :name = "name",
|
43
|
-
attr_reader :type = #<ActiveRecord::Type::String:placeholder_id
|
44
|
-
attr_reader :limit = nil,
|
45
|
-
attr_reader :precision = nil,
|
46
|
-
attr_reader :scale = nil
|
47
|
-
>,
|
48
|
-
attr_reader :value = "Diana",
|
49
|
-
attr_reader :value_before_type_cast = "Diana"
|
50
|
-
>,
|
51
|
-
"rank" => #<ActiveRecord::Attribute::FromUser:placeholder_id
|
52
|
-
attr_reader :name = "rank",
|
53
|
-
attr_reader :type = #<ActiveRecord::Type::Integer:placeholder_id
|
54
|
-
@range = -2147483648...2147483648,
|
55
|
-
attr_reader :limit = nil,
|
56
|
-
attr_reader :precision = nil,
|
57
|
-
attr_reader :scale = nil
|
58
|
-
>,
|
59
|
-
attr_reader :value = 1,
|
60
|
-
attr_reader :value_before_type_cast = 1
|
61
|
-
>
|
62
|
-
},
|
63
|
-
@materialized = false,
|
64
|
-
@types = {
|
65
|
-
"admin" => #<ActiveRecord::Type::Boolean:placeholder_id
|
66
|
-
attr_reader :limit = nil,
|
67
|
-
attr_reader :precision = nil,
|
68
|
-
attr_reader :scale = nil
|
69
|
-
>,
|
70
|
-
"created_at" => #<ActiveRecord::Type::DateTime:placeholder_id
|
71
|
-
attr_reader :limit = nil,
|
72
|
-
attr_reader :precision = nil,
|
73
|
-
attr_reader :scale = nil
|
74
|
-
>,
|
75
|
-
"id" => #<ActiveRecord::Type::Integer:placeholder_id
|
76
|
-
@range = -2147483648...2147483648,
|
77
|
-
attr_reader :limit = nil,
|
78
|
-
attr_reader :precision = nil,
|
79
|
-
attr_reader :scale = nil
|
80
|
-
>,
|
81
|
-
"name" => #<ActiveRecord::Type::String:placeholder_id
|
82
|
-
attr_reader :limit = nil,
|
83
|
-
attr_reader :precision = nil,
|
84
|
-
attr_reader :scale = nil
|
85
|
-
>,
|
86
|
-
"rank" => #<ActiveRecord::Type::Integer:placeholder_id
|
87
|
-
@range = -2147483648...2147483648,
|
88
|
-
attr_reader :limit = nil,
|
89
|
-
attr_reader :precision = nil,
|
90
|
-
attr_reader :scale = nil
|
91
|
-
>
|
92
|
-
},
|
93
|
-
@values = {
|
94
|
-
"admin" => nil,
|
95
|
-
"created_at" => nil,
|
96
|
-
"id" => nil,
|
97
|
-
"name" => nil,
|
98
|
-
"rank" => nil
|
99
|
-
}
|
100
|
-
>
|
101
|
-
>,
|
102
|
-
attr_accessor :destroyed_by_association = nil,
|
103
|
-
attr_reader :association_cache = {},
|
104
|
-
attr_reader :changed_attributes = {
|
105
|
-
"admin" => nil,
|
106
|
-
"created_at" => nil,
|
107
|
-
"name" => nil,
|
108
|
-
"rank" => nil
|
109
|
-
}
|
110
|
-
>,
|
111
|
-
[1] #<User:placeholder_id
|
112
|
-
@_start_transaction_state = {},
|
113
|
-
@aggregation_cache = {},
|
114
|
-
@destroyed = false,
|
115
|
-
@marked_for_destruction = false,
|
116
|
-
@new_record = true,
|
117
|
-
@original_raw_attributes = {
|
118
|
-
"admin" => true,
|
119
|
-
"created_at" => 2003-05-26 14:15:00 UTC,
|
120
|
-
"name" => "Laura",
|
121
|
-
"rank" => 2
|
122
|
-
},
|
123
|
-
@readonly = false,
|
124
|
-
@transaction_state = nil,
|
125
|
-
@txn = nil,
|
126
|
-
attr_accessor :attributes = #<ActiveRecord::AttributeSet:placeholder_id
|
127
|
-
@attributes = #<ActiveRecord::LazyAttributeHash:placeholder_id
|
128
|
-
@additional_types = {},
|
129
|
-
@delegate_hash = {
|
130
|
-
"admin" => #<ActiveRecord::Attribute::FromUser:placeholder_id
|
131
|
-
attr_reader :name = "admin",
|
132
|
-
attr_reader :type = #<ActiveRecord::Type::Boolean:placeholder_id
|
133
|
-
attr_reader :limit = nil,
|
134
|
-
attr_reader :precision = nil,
|
135
|
-
attr_reader :scale = nil
|
136
|
-
>,
|
137
|
-
attr_reader :value = true,
|
138
|
-
attr_reader :value_before_type_cast = true
|
139
|
-
>,
|
140
|
-
"created_at" => #<ActiveRecord::Attribute::FromUser:placeholder_id
|
141
|
-
attr_reader :name = "created_at",
|
142
|
-
attr_reader :type = #<ActiveRecord::Type::DateTime:placeholder_id
|
143
|
-
attr_reader :limit = nil,
|
144
|
-
attr_reader :precision = nil,
|
145
|
-
attr_reader :scale = nil
|
146
|
-
>,
|
147
|
-
attr_reader :value = 2003-05-26 14:15:00 UTC,
|
148
|
-
attr_reader :value_before_type_cast = "2003-05-26 14:15:00"
|
149
|
-
>,
|
150
|
-
"name" => #<ActiveRecord::Attribute::FromUser:placeholder_id
|
151
|
-
attr_reader :name = "name",
|
152
|
-
attr_reader :type = #<ActiveRecord::Type::String:placeholder_id
|
153
|
-
attr_reader :limit = nil,
|
154
|
-
attr_reader :precision = nil,
|
155
|
-
attr_reader :scale = nil
|
156
|
-
>,
|
157
|
-
attr_reader :value = "Laura",
|
158
|
-
attr_reader :value_before_type_cast = "Laura"
|
159
|
-
>,
|
160
|
-
"rank" => #<ActiveRecord::Attribute::FromUser:placeholder_id
|
161
|
-
attr_reader :name = "rank",
|
162
|
-
attr_reader :type = #<ActiveRecord::Type::Integer:placeholder_id
|
163
|
-
@range = -2147483648...2147483648,
|
164
|
-
attr_reader :limit = nil,
|
165
|
-
attr_reader :precision = nil,
|
166
|
-
attr_reader :scale = nil
|
167
|
-
>,
|
168
|
-
attr_reader :value = 2,
|
169
|
-
attr_reader :value_before_type_cast = 2
|
170
|
-
>
|
171
|
-
},
|
172
|
-
@materialized = false,
|
173
|
-
@types = {
|
174
|
-
"admin" => #<ActiveRecord::Type::Boolean:placeholder_id
|
175
|
-
attr_reader :limit = nil,
|
176
|
-
attr_reader :precision = nil,
|
177
|
-
attr_reader :scale = nil
|
178
|
-
>,
|
179
|
-
"created_at" => #<ActiveRecord::Type::DateTime:placeholder_id
|
180
|
-
attr_reader :limit = nil,
|
181
|
-
attr_reader :precision = nil,
|
182
|
-
attr_reader :scale = nil
|
183
|
-
>,
|
184
|
-
"id" => #<ActiveRecord::Type::Integer:placeholder_id
|
185
|
-
@range = -2147483648...2147483648,
|
186
|
-
attr_reader :limit = nil,
|
187
|
-
attr_reader :precision = nil,
|
188
|
-
attr_reader :scale = nil
|
189
|
-
>,
|
190
|
-
"name" => #<ActiveRecord::Type::String:placeholder_id
|
191
|
-
attr_reader :limit = nil,
|
192
|
-
attr_reader :precision = nil,
|
193
|
-
attr_reader :scale = nil
|
194
|
-
>,
|
195
|
-
"rank" => #<ActiveRecord::Type::Integer:placeholder_id
|
196
|
-
@range = -2147483648...2147483648,
|
197
|
-
attr_reader :limit = nil,
|
198
|
-
attr_reader :precision = nil,
|
199
|
-
attr_reader :scale = nil
|
200
|
-
>
|
201
|
-
},
|
202
|
-
@values = {
|
203
|
-
"admin" => nil,
|
204
|
-
"created_at" => nil,
|
205
|
-
"id" => nil,
|
206
|
-
"name" => nil,
|
207
|
-
"rank" => nil
|
208
|
-
}
|
209
|
-
>
|
210
|
-
>,
|
211
|
-
attr_accessor :destroyed_by_association = nil,
|
212
|
-
attr_reader :association_cache = {},
|
213
|
-
attr_reader :changed_attributes = {
|
214
|
-
"admin" => nil,
|
215
|
-
"created_at" => nil,
|
216
|
-
"name" => nil,
|
217
|
-
"rank" => nil
|
218
|
-
}
|
219
|
-
>
|
220
|
-
]
|
@@ -1,220 +0,0 @@
|
|
1
|
-
[
|
2
|
-
[0] #<User:placeholder_id
|
3
|
-
@_start_transaction_state = {},
|
4
|
-
@aggregation_cache = {},
|
5
|
-
@destroyed = false,
|
6
|
-
@marked_for_destruction = false,
|
7
|
-
@new_record = true,
|
8
|
-
@original_raw_attributes = {
|
9
|
-
"admin" => false,
|
10
|
-
"created_at" => 1992-10-10 12:30:00 UTC,
|
11
|
-
"name" => "Diana",
|
12
|
-
"rank" => 1
|
13
|
-
},
|
14
|
-
@readonly = false,
|
15
|
-
@transaction_state = nil,
|
16
|
-
@txn = nil,
|
17
|
-
attr_accessor :attributes = #<ActiveRecord::AttributeSet:placeholder_id
|
18
|
-
attr_reader :attributes = #<ActiveRecord::LazyAttributeHash:placeholder_id
|
19
|
-
@materialized = false,
|
20
|
-
attr_reader :additional_types = {},
|
21
|
-
attr_reader :delegate_hash = {
|
22
|
-
"admin" => #<ActiveRecord::Attribute::FromUser:placeholder_id
|
23
|
-
attr_reader :name = "admin",
|
24
|
-
attr_reader :type = #<ActiveRecord::Type::Boolean:placeholder_id
|
25
|
-
attr_reader :limit = nil,
|
26
|
-
attr_reader :precision = nil,
|
27
|
-
attr_reader :scale = nil
|
28
|
-
>,
|
29
|
-
attr_reader :value = false,
|
30
|
-
attr_reader :value_before_type_cast = false
|
31
|
-
>,
|
32
|
-
"created_at" => #<ActiveRecord::Attribute::FromUser:placeholder_id
|
33
|
-
attr_reader :name = "created_at",
|
34
|
-
attr_reader :type = #<ActiveRecord::Type::DateTime:placeholder_id
|
35
|
-
attr_reader :limit = nil,
|
36
|
-
attr_reader :precision = nil,
|
37
|
-
attr_reader :scale = nil
|
38
|
-
>,
|
39
|
-
attr_reader :value = 1992-10-10 12:30:00 UTC,
|
40
|
-
attr_reader :value_before_type_cast = "1992-10-10 12:30:00"
|
41
|
-
>,
|
42
|
-
"name" => #<ActiveRecord::Attribute::FromUser:placeholder_id
|
43
|
-
attr_reader :name = "name",
|
44
|
-
attr_reader :type = #<ActiveRecord::Type::String:placeholder_id
|
45
|
-
attr_reader :limit = nil,
|
46
|
-
attr_reader :precision = nil,
|
47
|
-
attr_reader :scale = nil
|
48
|
-
>,
|
49
|
-
attr_reader :value = "Diana",
|
50
|
-
attr_reader :value_before_type_cast = "Diana"
|
51
|
-
>,
|
52
|
-
"rank" => #<ActiveRecord::Attribute::FromUser:placeholder_id
|
53
|
-
attr_reader :name = "rank",
|
54
|
-
attr_reader :type = #<ActiveRecord::Type::Integer:placeholder_id
|
55
|
-
attr_reader :limit = nil,
|
56
|
-
attr_reader :precision = nil,
|
57
|
-
attr_reader :range = -2147483648...2147483648,
|
58
|
-
attr_reader :scale = nil
|
59
|
-
>,
|
60
|
-
attr_reader :value = 1,
|
61
|
-
attr_reader :value_before_type_cast = 1
|
62
|
-
>
|
63
|
-
},
|
64
|
-
attr_reader :types = {
|
65
|
-
"admin" => #<ActiveRecord::Type::Boolean:placeholder_id
|
66
|
-
attr_reader :limit = nil,
|
67
|
-
attr_reader :precision = nil,
|
68
|
-
attr_reader :scale = nil
|
69
|
-
>,
|
70
|
-
"created_at" => #<ActiveRecord::Type::DateTime:placeholder_id
|
71
|
-
attr_reader :limit = nil,
|
72
|
-
attr_reader :precision = nil,
|
73
|
-
attr_reader :scale = nil
|
74
|
-
>,
|
75
|
-
"id" => #<ActiveRecord::Type::Integer:placeholder_id
|
76
|
-
attr_reader :limit = nil,
|
77
|
-
attr_reader :precision = nil,
|
78
|
-
attr_reader :range = -2147483648...2147483648,
|
79
|
-
attr_reader :scale = nil
|
80
|
-
>,
|
81
|
-
"name" => #<ActiveRecord::Type::String:placeholder_id
|
82
|
-
attr_reader :limit = nil,
|
83
|
-
attr_reader :precision = nil,
|
84
|
-
attr_reader :scale = nil
|
85
|
-
>,
|
86
|
-
"rank" => #<ActiveRecord::Type::Integer:placeholder_id
|
87
|
-
attr_reader :limit = nil,
|
88
|
-
attr_reader :precision = nil,
|
89
|
-
attr_reader :range = -2147483648...2147483648,
|
90
|
-
attr_reader :scale = nil
|
91
|
-
>
|
92
|
-
},
|
93
|
-
attr_reader :values = {
|
94
|
-
"admin" => nil,
|
95
|
-
"created_at" => nil,
|
96
|
-
"id" => nil,
|
97
|
-
"name" => nil,
|
98
|
-
"rank" => nil
|
99
|
-
}
|
100
|
-
>
|
101
|
-
>,
|
102
|
-
attr_accessor :destroyed_by_association = nil,
|
103
|
-
attr_reader :association_cache = {},
|
104
|
-
attr_reader :changed_attributes = {
|
105
|
-
"admin" => nil,
|
106
|
-
"created_at" => nil,
|
107
|
-
"name" => nil,
|
108
|
-
"rank" => nil
|
109
|
-
}
|
110
|
-
>,
|
111
|
-
[1] #<User:placeholder_id
|
112
|
-
@_start_transaction_state = {},
|
113
|
-
@aggregation_cache = {},
|
114
|
-
@destroyed = false,
|
115
|
-
@marked_for_destruction = false,
|
116
|
-
@new_record = true,
|
117
|
-
@original_raw_attributes = {
|
118
|
-
"admin" => true,
|
119
|
-
"created_at" => 2003-05-26 14:15:00 UTC,
|
120
|
-
"name" => "Laura",
|
121
|
-
"rank" => 2
|
122
|
-
},
|
123
|
-
@readonly = false,
|
124
|
-
@transaction_state = nil,
|
125
|
-
@txn = nil,
|
126
|
-
attr_accessor :attributes = #<ActiveRecord::AttributeSet:placeholder_id
|
127
|
-
attr_reader :attributes = #<ActiveRecord::LazyAttributeHash:placeholder_id
|
128
|
-
@materialized = false,
|
129
|
-
attr_reader :additional_types = {},
|
130
|
-
attr_reader :delegate_hash = {
|
131
|
-
"admin" => #<ActiveRecord::Attribute::FromUser:placeholder_id
|
132
|
-
attr_reader :name = "admin",
|
133
|
-
attr_reader :type = #<ActiveRecord::Type::Boolean:placeholder_id
|
134
|
-
attr_reader :limit = nil,
|
135
|
-
attr_reader :precision = nil,
|
136
|
-
attr_reader :scale = nil
|
137
|
-
>,
|
138
|
-
attr_reader :value = true,
|
139
|
-
attr_reader :value_before_type_cast = true
|
140
|
-
>,
|
141
|
-
"created_at" => #<ActiveRecord::Attribute::FromUser:placeholder_id
|
142
|
-
attr_reader :name = "created_at",
|
143
|
-
attr_reader :type = #<ActiveRecord::Type::DateTime:placeholder_id
|
144
|
-
attr_reader :limit = nil,
|
145
|
-
attr_reader :precision = nil,
|
146
|
-
attr_reader :scale = nil
|
147
|
-
>,
|
148
|
-
attr_reader :value = 2003-05-26 14:15:00 UTC,
|
149
|
-
attr_reader :value_before_type_cast = "2003-05-26 14:15:00"
|
150
|
-
>,
|
151
|
-
"name" => #<ActiveRecord::Attribute::FromUser:placeholder_id
|
152
|
-
attr_reader :name = "name",
|
153
|
-
attr_reader :type = #<ActiveRecord::Type::String:placeholder_id
|
154
|
-
attr_reader :limit = nil,
|
155
|
-
attr_reader :precision = nil,
|
156
|
-
attr_reader :scale = nil
|
157
|
-
>,
|
158
|
-
attr_reader :value = "Laura",
|
159
|
-
attr_reader :value_before_type_cast = "Laura"
|
160
|
-
>,
|
161
|
-
"rank" => #<ActiveRecord::Attribute::FromUser:placeholder_id
|
162
|
-
attr_reader :name = "rank",
|
163
|
-
attr_reader :type = #<ActiveRecord::Type::Integer:placeholder_id
|
164
|
-
attr_reader :limit = nil,
|
165
|
-
attr_reader :precision = nil,
|
166
|
-
attr_reader :range = -2147483648...2147483648,
|
167
|
-
attr_reader :scale = nil
|
168
|
-
>,
|
169
|
-
attr_reader :value = 2,
|
170
|
-
attr_reader :value_before_type_cast = 2
|
171
|
-
>
|
172
|
-
},
|
173
|
-
attr_reader :types = {
|
174
|
-
"admin" => #<ActiveRecord::Type::Boolean:placeholder_id
|
175
|
-
attr_reader :limit = nil,
|
176
|
-
attr_reader :precision = nil,
|
177
|
-
attr_reader :scale = nil
|
178
|
-
>,
|
179
|
-
"created_at" => #<ActiveRecord::Type::DateTime:placeholder_id
|
180
|
-
attr_reader :limit = nil,
|
181
|
-
attr_reader :precision = nil,
|
182
|
-
attr_reader :scale = nil
|
183
|
-
>,
|
184
|
-
"id" => #<ActiveRecord::Type::Integer:placeholder_id
|
185
|
-
attr_reader :limit = nil,
|
186
|
-
attr_reader :precision = nil,
|
187
|
-
attr_reader :range = -2147483648...2147483648,
|
188
|
-
attr_reader :scale = nil
|
189
|
-
>,
|
190
|
-
"name" => #<ActiveRecord::Type::String:placeholder_id
|
191
|
-
attr_reader :limit = nil,
|
192
|
-
attr_reader :precision = nil,
|
193
|
-
attr_reader :scale = nil
|
194
|
-
>,
|
195
|
-
"rank" => #<ActiveRecord::Type::Integer:placeholder_id
|
196
|
-
attr_reader :limit = nil,
|
197
|
-
attr_reader :precision = nil,
|
198
|
-
attr_reader :range = -2147483648...2147483648,
|
199
|
-
attr_reader :scale = nil
|
200
|
-
>
|
201
|
-
},
|
202
|
-
attr_reader :values = {
|
203
|
-
"admin" => nil,
|
204
|
-
"created_at" => nil,
|
205
|
-
"id" => nil,
|
206
|
-
"name" => nil,
|
207
|
-
"rank" => nil
|
208
|
-
}
|
209
|
-
>
|
210
|
-
>,
|
211
|
-
attr_accessor :destroyed_by_association = nil,
|
212
|
-
attr_reader :association_cache = {},
|
213
|
-
attr_reader :changed_attributes = {
|
214
|
-
"admin" => nil,
|
215
|
-
"created_at" => nil,
|
216
|
-
"name" => nil,
|
217
|
-
"rank" => nil
|
218
|
-
}
|
219
|
-
>
|
220
|
-
]
|