amazing_print 1.5.0 → 1.7.2

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