amazing_print 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (88) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +35 -0
  3. data/Appraisals +60 -0
  4. data/CHANGELOG.md +2 -0
  5. data/CONTRIBUTING.md +81 -0
  6. data/Gemfile +4 -0
  7. data/LICENSE +21 -0
  8. data/README.md +356 -0
  9. data/Rakefile +23 -0
  10. data/lib/amazing_print.rb +46 -0
  11. data/lib/amazing_print/colorize.rb +25 -0
  12. data/lib/amazing_print/core_ext/awesome_method_array.rb +82 -0
  13. data/lib/amazing_print/core_ext/class.rb +23 -0
  14. data/lib/amazing_print/core_ext/kernel.rb +25 -0
  15. data/lib/amazing_print/core_ext/logger.rb +21 -0
  16. data/lib/amazing_print/core_ext/method.rb +21 -0
  17. data/lib/amazing_print/core_ext/object.rb +23 -0
  18. data/lib/amazing_print/core_ext/string.rb +42 -0
  19. data/lib/amazing_print/custom_defaults.rb +57 -0
  20. data/lib/amazing_print/ext/action_view.rb +22 -0
  21. data/lib/amazing_print/ext/active_record.rb +103 -0
  22. data/lib/amazing_print/ext/active_support.rb +45 -0
  23. data/lib/amazing_print/ext/mongo_mapper.rb +125 -0
  24. data/lib/amazing_print/ext/mongoid.rb +68 -0
  25. data/lib/amazing_print/ext/nobrainer.rb +53 -0
  26. data/lib/amazing_print/ext/nokogiri.rb +45 -0
  27. data/lib/amazing_print/ext/ostruct.rb +27 -0
  28. data/lib/amazing_print/ext/ripple.rb +71 -0
  29. data/lib/amazing_print/ext/sequel.rb +55 -0
  30. data/lib/amazing_print/formatter.rb +120 -0
  31. data/lib/amazing_print/formatters.rb +14 -0
  32. data/lib/amazing_print/formatters/array_formatter.rb +139 -0
  33. data/lib/amazing_print/formatters/base_formatter.rb +148 -0
  34. data/lib/amazing_print/formatters/class_formatter.rb +24 -0
  35. data/lib/amazing_print/formatters/dir_formatter.rb +21 -0
  36. data/lib/amazing_print/formatters/file_formatter.rb +21 -0
  37. data/lib/amazing_print/formatters/hash_formatter.rb +106 -0
  38. data/lib/amazing_print/formatters/method_formatter.rb +21 -0
  39. data/lib/amazing_print/formatters/object_formatter.rb +82 -0
  40. data/lib/amazing_print/formatters/simple_formatter.rb +20 -0
  41. data/lib/amazing_print/formatters/struct_formatter.rb +74 -0
  42. data/lib/amazing_print/indentator.rb +17 -0
  43. data/lib/amazing_print/inspector.rb +175 -0
  44. data/lib/amazing_print/version.rb +10 -0
  45. data/lib/ap.rb +10 -0
  46. data/spec/active_record_helper.rb +30 -0
  47. data/spec/colors_spec.rb +114 -0
  48. data/spec/core_ext/logger_spec.rb +44 -0
  49. data/spec/core_ext/string_spec.rb +20 -0
  50. data/spec/ext/action_view_spec.rb +17 -0
  51. data/spec/ext/active_record_spec.rb +297 -0
  52. data/spec/ext/active_support_spec.rb +26 -0
  53. data/spec/ext/mongo_mapper_spec.rb +259 -0
  54. data/spec/ext/mongoid_spec.rb +66 -0
  55. data/spec/ext/nobrainer_spec.rb +58 -0
  56. data/spec/ext/nokogiri_spec.rb +50 -0
  57. data/spec/ext/ostruct_spec.rb +22 -0
  58. data/spec/ext/ripple_spec.rb +47 -0
  59. data/spec/formats_spec.rb +779 -0
  60. data/spec/methods_spec.rb +478 -0
  61. data/spec/misc_spec.rb +245 -0
  62. data/spec/objects_spec.rb +219 -0
  63. data/spec/spec_helper.rb +106 -0
  64. data/spec/support/active_record_data.rb +20 -0
  65. data/spec/support/active_record_data/3_2_diana.txt +24 -0
  66. data/spec/support/active_record_data/3_2_diana_legacy.txt +24 -0
  67. data/spec/support/active_record_data/3_2_multi.txt +50 -0
  68. data/spec/support/active_record_data/3_2_multi_legacy.txt +50 -0
  69. data/spec/support/active_record_data/4_0_diana.txt +98 -0
  70. data/spec/support/active_record_data/4_0_multi.txt +198 -0
  71. data/spec/support/active_record_data/4_1_diana.txt +97 -0
  72. data/spec/support/active_record_data/4_1_multi.txt +196 -0
  73. data/spec/support/active_record_data/4_2_diana.txt +109 -0
  74. data/spec/support/active_record_data/4_2_diana_legacy.txt +109 -0
  75. data/spec/support/active_record_data/4_2_multi.txt +220 -0
  76. data/spec/support/active_record_data/4_2_multi_legacy.txt +220 -0
  77. data/spec/support/active_record_data/5_0_diana.txt +105 -0
  78. data/spec/support/active_record_data/5_0_multi.txt +212 -0
  79. data/spec/support/active_record_data/5_1_diana.txt +104 -0
  80. data/spec/support/active_record_data/5_1_multi.txt +210 -0
  81. data/spec/support/active_record_data/5_2_diana.txt +104 -0
  82. data/spec/support/active_record_data/5_2_multi.txt +210 -0
  83. data/spec/support/active_record_data/6_0_diana.txt +104 -0
  84. data/spec/support/active_record_data/6_0_multi.txt +210 -0
  85. data/spec/support/ext_verifier.rb +41 -0
  86. data/spec/support/mongoid_versions.rb +22 -0
  87. data/spec/support/rails_versions.rb +50 -0
  88. metadata +243 -0
@@ -0,0 +1,97 @@
1
+ #<User:placeholder_id
2
+ @_start_transaction_state = {},
3
+ @aggregation_cache = {},
4
+ @attributes_cache = {},
5
+ @column_types = {
6
+ "admin" => #<ActiveRecord::ConnectionAdapters::SQLite3Column:placeholder_id
7
+ attr_accessor :coder = nil,
8
+ attr_accessor :primary = false,
9
+ attr_reader :default = nil,
10
+ attr_reader :default_function = nil,
11
+ attr_reader :limit = nil,
12
+ attr_reader :name = "admin",
13
+ attr_reader :null = true,
14
+ attr_reader :precision = nil,
15
+ attr_reader :scale = nil,
16
+ attr_reader :sql_type = "boolean",
17
+ attr_reader :type = :boolean
18
+ >,
19
+ "created_at" => #<ActiveRecord::ConnectionAdapters::SQLite3Column:placeholder_id
20
+ attr_accessor :coder = nil,
21
+ attr_accessor :primary = false,
22
+ attr_reader :default = nil,
23
+ attr_reader :default_function = nil,
24
+ attr_reader :limit = nil,
25
+ attr_reader :name = "created_at",
26
+ attr_reader :null = true,
27
+ attr_reader :precision = nil,
28
+ attr_reader :scale = nil,
29
+ attr_reader :sql_type = "datetime",
30
+ attr_reader :type = :datetime
31
+ >,
32
+ "id" => #<ActiveRecord::ConnectionAdapters::SQLite3Column:placeholder_id
33
+ attr_accessor :coder = nil,
34
+ attr_accessor :primary = true,
35
+ attr_reader :default = nil,
36
+ attr_reader :default_function = nil,
37
+ attr_reader :limit = nil,
38
+ attr_reader :name = "id",
39
+ attr_reader :null = false,
40
+ attr_reader :precision = nil,
41
+ attr_reader :scale = nil,
42
+ attr_reader :sql_type = "INTEGER",
43
+ attr_reader :type = :integer
44
+ >,
45
+ "name" => #<ActiveRecord::ConnectionAdapters::SQLite3Column:placeholder_id
46
+ attr_accessor :coder = nil,
47
+ attr_accessor :primary = false,
48
+ attr_reader :default = nil,
49
+ attr_reader :default_function = nil,
50
+ attr_reader :limit = 255,
51
+ attr_reader :name = "name",
52
+ attr_reader :null = true,
53
+ attr_reader :precision = nil,
54
+ attr_reader :scale = nil,
55
+ attr_reader :sql_type = "varchar(255)",
56
+ attr_reader :type = :string
57
+ >,
58
+ "rank" => #<ActiveRecord::ConnectionAdapters::SQLite3Column:placeholder_id
59
+ attr_accessor :coder = nil,
60
+ attr_accessor :primary = false,
61
+ attr_reader :default = nil,
62
+ attr_reader :default_function = nil,
63
+ attr_reader :limit = nil,
64
+ attr_reader :name = "rank",
65
+ attr_reader :null = true,
66
+ attr_reader :precision = nil,
67
+ attr_reader :scale = nil,
68
+ attr_reader :sql_type = "integer",
69
+ attr_reader :type = :integer
70
+ >
71
+ },
72
+ @column_types_override = nil,
73
+ @destroyed = false,
74
+ @marked_for_destruction = false,
75
+ @new_record = true,
76
+ @readonly = false,
77
+ @reflects_state = [
78
+ [0] false
79
+ ],
80
+ @transaction_state = nil,
81
+ @txn = nil,
82
+ attr_accessor :attributes = {
83
+ "admin" => false,
84
+ "created_at" => "1992-10-10 12:30:00",
85
+ "id" => nil,
86
+ "name" => "Diana",
87
+ "rank" => 1
88
+ },
89
+ attr_accessor :destroyed_by_association = nil,
90
+ attr_reader :association_cache = {},
91
+ attr_reader :changed_attributes = {
92
+ "admin" => nil,
93
+ "created_at" => nil,
94
+ "name" => nil,
95
+ "rank" => nil
96
+ }
97
+ >
@@ -0,0 +1,196 @@
1
+ [
2
+ [0] #<User:placeholder_id
3
+ @_start_transaction_state = {},
4
+ @aggregation_cache = {},
5
+ @attributes_cache = {},
6
+ @column_types = {
7
+ "admin" => #<ActiveRecord::ConnectionAdapters::SQLite3Column:placeholder_id
8
+ attr_accessor :coder = nil,
9
+ attr_accessor :primary = false,
10
+ attr_reader :default = nil,
11
+ attr_reader :default_function = nil,
12
+ attr_reader :limit = nil,
13
+ attr_reader :name = "admin",
14
+ attr_reader :null = true,
15
+ attr_reader :precision = nil,
16
+ attr_reader :scale = nil,
17
+ attr_reader :sql_type = "boolean",
18
+ attr_reader :type = :boolean
19
+ >,
20
+ "created_at" => #<ActiveRecord::ConnectionAdapters::SQLite3Column:placeholder_id
21
+ attr_accessor :coder = nil,
22
+ attr_accessor :primary = false,
23
+ attr_reader :default = nil,
24
+ attr_reader :default_function = nil,
25
+ attr_reader :limit = nil,
26
+ attr_reader :name = "created_at",
27
+ attr_reader :null = true,
28
+ attr_reader :precision = nil,
29
+ attr_reader :scale = nil,
30
+ attr_reader :sql_type = "datetime",
31
+ attr_reader :type = :datetime
32
+ >,
33
+ "id" => #<ActiveRecord::ConnectionAdapters::SQLite3Column:placeholder_id
34
+ attr_accessor :coder = nil,
35
+ attr_accessor :primary = true,
36
+ attr_reader :default = nil,
37
+ attr_reader :default_function = nil,
38
+ attr_reader :limit = nil,
39
+ attr_reader :name = "id",
40
+ attr_reader :null = false,
41
+ attr_reader :precision = nil,
42
+ attr_reader :scale = nil,
43
+ attr_reader :sql_type = "INTEGER",
44
+ attr_reader :type = :integer
45
+ >,
46
+ "name" => #<ActiveRecord::ConnectionAdapters::SQLite3Column:placeholder_id
47
+ attr_accessor :coder = nil,
48
+ attr_accessor :primary = false,
49
+ attr_reader :default = nil,
50
+ attr_reader :default_function = nil,
51
+ attr_reader :limit = 255,
52
+ attr_reader :name = "name",
53
+ attr_reader :null = true,
54
+ attr_reader :precision = nil,
55
+ attr_reader :scale = nil,
56
+ attr_reader :sql_type = "varchar(255)",
57
+ attr_reader :type = :string
58
+ >,
59
+ "rank" => #<ActiveRecord::ConnectionAdapters::SQLite3Column:placeholder_id
60
+ attr_accessor :coder = nil,
61
+ attr_accessor :primary = false,
62
+ attr_reader :default = nil,
63
+ attr_reader :default_function = nil,
64
+ attr_reader :limit = nil,
65
+ attr_reader :name = "rank",
66
+ attr_reader :null = true,
67
+ attr_reader :precision = nil,
68
+ attr_reader :scale = nil,
69
+ attr_reader :sql_type = "integer",
70
+ attr_reader :type = :integer
71
+ >
72
+ },
73
+ @column_types_override = nil,
74
+ @destroyed = false,
75
+ @marked_for_destruction = false,
76
+ @new_record = true,
77
+ @readonly = false,
78
+ @reflects_state = [
79
+ [0] false
80
+ ],
81
+ @transaction_state = nil,
82
+ @txn = nil,
83
+ attr_accessor :attributes = {
84
+ "admin" => false,
85
+ "created_at" => "1992-10-10 12:30:00",
86
+ "id" => nil,
87
+ "name" => "Diana",
88
+ "rank" => 1
89
+ },
90
+ attr_accessor :destroyed_by_association = nil,
91
+ attr_reader :association_cache = {},
92
+ attr_reader :changed_attributes = {
93
+ "admin" => nil,
94
+ "created_at" => nil,
95
+ "name" => nil,
96
+ "rank" => nil
97
+ }
98
+ >,
99
+ [1] #<User:placeholder_id
100
+ @_start_transaction_state = {},
101
+ @aggregation_cache = {},
102
+ @attributes_cache = {},
103
+ @column_types = {
104
+ "admin" => #<ActiveRecord::ConnectionAdapters::SQLite3Column:placeholder_id
105
+ attr_accessor :coder = nil,
106
+ attr_accessor :primary = false,
107
+ attr_reader :default = nil,
108
+ attr_reader :default_function = nil,
109
+ attr_reader :limit = nil,
110
+ attr_reader :name = "admin",
111
+ attr_reader :null = true,
112
+ attr_reader :precision = nil,
113
+ attr_reader :scale = nil,
114
+ attr_reader :sql_type = "boolean",
115
+ attr_reader :type = :boolean
116
+ >,
117
+ "created_at" => #<ActiveRecord::ConnectionAdapters::SQLite3Column:placeholder_id
118
+ attr_accessor :coder = nil,
119
+ attr_accessor :primary = false,
120
+ attr_reader :default = nil,
121
+ attr_reader :default_function = nil,
122
+ attr_reader :limit = nil,
123
+ attr_reader :name = "created_at",
124
+ attr_reader :null = true,
125
+ attr_reader :precision = nil,
126
+ attr_reader :scale = nil,
127
+ attr_reader :sql_type = "datetime",
128
+ attr_reader :type = :datetime
129
+ >,
130
+ "id" => #<ActiveRecord::ConnectionAdapters::SQLite3Column:placeholder_id
131
+ attr_accessor :coder = nil,
132
+ attr_accessor :primary = true,
133
+ attr_reader :default = nil,
134
+ attr_reader :default_function = nil,
135
+ attr_reader :limit = nil,
136
+ attr_reader :name = "id",
137
+ attr_reader :null = false,
138
+ attr_reader :precision = nil,
139
+ attr_reader :scale = nil,
140
+ attr_reader :sql_type = "INTEGER",
141
+ attr_reader :type = :integer
142
+ >,
143
+ "name" => #<ActiveRecord::ConnectionAdapters::SQLite3Column:placeholder_id
144
+ attr_accessor :coder = nil,
145
+ attr_accessor :primary = false,
146
+ attr_reader :default = nil,
147
+ attr_reader :default_function = nil,
148
+ attr_reader :limit = 255,
149
+ attr_reader :name = "name",
150
+ attr_reader :null = true,
151
+ attr_reader :precision = nil,
152
+ attr_reader :scale = nil,
153
+ attr_reader :sql_type = "varchar(255)",
154
+ attr_reader :type = :string
155
+ >,
156
+ "rank" => #<ActiveRecord::ConnectionAdapters::SQLite3Column:placeholder_id
157
+ attr_accessor :coder = nil,
158
+ attr_accessor :primary = false,
159
+ attr_reader :default = nil,
160
+ attr_reader :default_function = nil,
161
+ attr_reader :limit = nil,
162
+ attr_reader :name = "rank",
163
+ attr_reader :null = true,
164
+ attr_reader :precision = nil,
165
+ attr_reader :scale = nil,
166
+ attr_reader :sql_type = "integer",
167
+ attr_reader :type = :integer
168
+ >
169
+ },
170
+ @column_types_override = nil,
171
+ @destroyed = false,
172
+ @marked_for_destruction = false,
173
+ @new_record = true,
174
+ @readonly = false,
175
+ @reflects_state = [
176
+ [0] false
177
+ ],
178
+ @transaction_state = nil,
179
+ @txn = nil,
180
+ attr_accessor :attributes = {
181
+ "admin" => true,
182
+ "created_at" => "2003-05-26 14:15:00",
183
+ "id" => nil,
184
+ "name" => "Laura",
185
+ "rank" => 2
186
+ },
187
+ attr_accessor :destroyed_by_association = nil,
188
+ attr_reader :association_cache = {},
189
+ attr_reader :changed_attributes = {
190
+ "admin" => nil,
191
+ "created_at" => nil,
192
+ "name" => nil,
193
+ "rank" => nil
194
+ }
195
+ >
196
+ ]
@@ -0,0 +1,109 @@
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
+ >
@@ -0,0 +1,109 @@
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
+ >