mirror of
https://github.com/awesome-print/awesome_print
synced 2023-03-27 23:22:34 -04:00
Remove no longer required active record stubs
This commit is contained in:
parent
a45b2ac5d7
commit
5eb57ad555
13 changed files with 1 additions and 1416 deletions
|
@ -1,24 +0,0 @@
|
|||
#<User:placeholder_id
|
||||
@aggregation_cache = {},
|
||||
@attributes_cache = {},
|
||||
@destroyed = false,
|
||||
@marked_for_destruction = false,
|
||||
@mass_assignment_options = nil,
|
||||
@new_record = true,
|
||||
@previously_changed = {},
|
||||
@readonly = false,
|
||||
attr_accessor :attributes = {
|
||||
"admin" => false,
|
||||
"created_at" => "1992-10-10 12:30:00",
|
||||
"id" => nil,
|
||||
"name" => "Diana",
|
||||
"rank" => 1
|
||||
},
|
||||
attr_reader :association_cache = {},
|
||||
attr_reader :changed_attributes = {
|
||||
"admin" => nil,
|
||||
"created_at" => nil,
|
||||
"name" => nil,
|
||||
"rank" => nil
|
||||
}
|
||||
>
|
|
@ -1,24 +0,0 @@
|
|||
#<User:placeholder_id
|
||||
@aggregation_cache = {},
|
||||
@attributes_cache = {},
|
||||
@destroyed = false,
|
||||
@marked_for_destruction = false,
|
||||
@new_record = true,
|
||||
@previously_changed = {},
|
||||
@readonly = false,
|
||||
attr_accessor :attributes = {
|
||||
"admin" => false,
|
||||
"created_at" => "1992-10-10 12:30:00",
|
||||
"id" => nil,
|
||||
"name" => "Diana",
|
||||
"rank" => 1
|
||||
},
|
||||
attr_reader :association_cache = {},
|
||||
attr_reader :changed_attributes = {
|
||||
"admin" => nil,
|
||||
"created_at" => nil,
|
||||
"name" => nil,
|
||||
"rank" => nil
|
||||
},
|
||||
attr_reader :mass_assignment_options = nil
|
||||
>
|
|
@ -1,50 +0,0 @@
|
|||
[
|
||||
[0] #<User:placeholder_id
|
||||
@aggregation_cache = {},
|
||||
@attributes_cache = {},
|
||||
@destroyed = false,
|
||||
@marked_for_destruction = false,
|
||||
@mass_assignment_options = nil,
|
||||
@new_record = true,
|
||||
@previously_changed = {},
|
||||
@readonly = false,
|
||||
attr_accessor :attributes = {
|
||||
"admin" => false,
|
||||
"created_at" => "1992-10-10 12:30:00",
|
||||
"id" => nil,
|
||||
"name" => "Diana",
|
||||
"rank" => 1
|
||||
},
|
||||
attr_reader :association_cache = {},
|
||||
attr_reader :changed_attributes = {
|
||||
"admin" => nil,
|
||||
"created_at" => nil,
|
||||
"name" => nil,
|
||||
"rank" => nil
|
||||
}
|
||||
>,
|
||||
[1] #<User:placeholder_id
|
||||
@aggregation_cache = {},
|
||||
@attributes_cache = {},
|
||||
@destroyed = false,
|
||||
@marked_for_destruction = false,
|
||||
@mass_assignment_options = nil,
|
||||
@new_record = true,
|
||||
@previously_changed = {},
|
||||
@readonly = false,
|
||||
attr_accessor :attributes = {
|
||||
"admin" => true,
|
||||
"created_at" => "2003-05-26 14:15:00",
|
||||
"id" => nil,
|
||||
"name" => "Laura",
|
||||
"rank" => 2
|
||||
},
|
||||
attr_reader :association_cache = {},
|
||||
attr_reader :changed_attributes = {
|
||||
"admin" => nil,
|
||||
"created_at" => nil,
|
||||
"name" => nil,
|
||||
"rank" => nil
|
||||
}
|
||||
>
|
||||
]
|
|
@ -1,50 +0,0 @@
|
|||
[
|
||||
[0] #<User:placeholder_id
|
||||
@aggregation_cache = {},
|
||||
@attributes_cache = {},
|
||||
@destroyed = false,
|
||||
@marked_for_destruction = false,
|
||||
@new_record = true,
|
||||
@previously_changed = {},
|
||||
@readonly = false,
|
||||
attr_accessor :attributes = {
|
||||
"admin" => false,
|
||||
"created_at" => "1992-10-10 12:30:00",
|
||||
"id" => nil,
|
||||
"name" => "Diana",
|
||||
"rank" => 1
|
||||
},
|
||||
attr_reader :association_cache = {},
|
||||
attr_reader :changed_attributes = {
|
||||
"admin" => nil,
|
||||
"created_at" => nil,
|
||||
"name" => nil,
|
||||
"rank" => nil
|
||||
},
|
||||
attr_reader :mass_assignment_options = nil
|
||||
>,
|
||||
[1] #<User:placeholder_id
|
||||
@aggregation_cache = {},
|
||||
@attributes_cache = {},
|
||||
@destroyed = false,
|
||||
@marked_for_destruction = false,
|
||||
@new_record = true,
|
||||
@previously_changed = {},
|
||||
@readonly = false,
|
||||
attr_accessor :attributes = {
|
||||
"admin" => true,
|
||||
"created_at" => "2003-05-26 14:15:00",
|
||||
"id" => nil,
|
||||
"name" => "Laura",
|
||||
"rank" => 2
|
||||
},
|
||||
attr_reader :association_cache = {},
|
||||
attr_reader :changed_attributes = {
|
||||
"admin" => nil,
|
||||
"created_at" => nil,
|
||||
"name" => nil,
|
||||
"rank" => nil
|
||||
},
|
||||
attr_reader :mass_assignment_options = nil
|
||||
>
|
||||
]
|
|
@ -1,98 +0,0 @@
|
|||
#<User:placeholder_id
|
||||
@_start_transaction_state = {},
|
||||
@aggregation_cache = {},
|
||||
@attributes_cache = {},
|
||||
@column_types = {
|
||||
"admin" => #<ActiveRecord::ConnectionAdapters::SQLite3Column:placeholder_id
|
||||
attr_accessor :coder = nil,
|
||||
attr_accessor :primary = false,
|
||||
attr_reader :default = nil,
|
||||
attr_reader :default_function = nil,
|
||||
attr_reader :limit = nil,
|
||||
attr_reader :name = "admin",
|
||||
attr_reader :null = true,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :scale = nil,
|
||||
attr_reader :sql_type = "boolean",
|
||||
attr_reader :type = :boolean
|
||||
>,
|
||||
"created_at" => #<ActiveRecord::ConnectionAdapters::SQLite3Column:placeholder_id
|
||||
attr_accessor :coder = nil,
|
||||
attr_accessor :primary = false,
|
||||
attr_reader :default = nil,
|
||||
attr_reader :default_function = nil,
|
||||
attr_reader :limit = nil,
|
||||
attr_reader :name = "created_at",
|
||||
attr_reader :null = true,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :scale = nil,
|
||||
attr_reader :sql_type = "datetime",
|
||||
attr_reader :type = :datetime
|
||||
>,
|
||||
"id" => #<ActiveRecord::ConnectionAdapters::SQLite3Column:placeholder_id
|
||||
attr_accessor :coder = nil,
|
||||
attr_accessor :primary = true,
|
||||
attr_reader :default = nil,
|
||||
attr_reader :default_function = nil,
|
||||
attr_reader :limit = nil,
|
||||
attr_reader :name = "id",
|
||||
attr_reader :null = false,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :scale = nil,
|
||||
attr_reader :sql_type = "INTEGER",
|
||||
attr_reader :type = :integer
|
||||
>,
|
||||
"name" => #<ActiveRecord::ConnectionAdapters::SQLite3Column:placeholder_id
|
||||
attr_accessor :coder = nil,
|
||||
attr_accessor :primary = false,
|
||||
attr_reader :default = nil,
|
||||
attr_reader :default_function = nil,
|
||||
attr_reader :limit = 255,
|
||||
attr_reader :name = "name",
|
||||
attr_reader :null = true,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :scale = nil,
|
||||
attr_reader :sql_type = "varchar(255)",
|
||||
attr_reader :type = :string
|
||||
>,
|
||||
"rank" => #<ActiveRecord::ConnectionAdapters::SQLite3Column:placeholder_id
|
||||
attr_accessor :coder = nil,
|
||||
attr_accessor :primary = false,
|
||||
attr_reader :default = nil,
|
||||
attr_reader :default_function = nil,
|
||||
attr_reader :limit = nil,
|
||||
attr_reader :name = "rank",
|
||||
attr_reader :null = true,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :scale = nil,
|
||||
attr_reader :sql_type = "integer",
|
||||
attr_reader :type = :integer
|
||||
>
|
||||
},
|
||||
@column_types_override = nil,
|
||||
@destroyed = false,
|
||||
@marked_for_destruction = false,
|
||||
@new_record = true,
|
||||
@previously_changed = {},
|
||||
@readonly = false,
|
||||
@reflects_state = [
|
||||
[0] false
|
||||
],
|
||||
@transaction_state = nil,
|
||||
@txn = nil,
|
||||
attr_accessor :attributes = {
|
||||
"admin" => false,
|
||||
"created_at" => "1992-10-10 12:30:00",
|
||||
"id" => nil,
|
||||
"name" => "Diana",
|
||||
"rank" => 1
|
||||
},
|
||||
attr_accessor :destroyed_by_association = nil,
|
||||
attr_reader :association_cache = {},
|
||||
attr_reader :changed_attributes = {
|
||||
"admin" => nil,
|
||||
"created_at" => nil,
|
||||
"name" => nil,
|
||||
"rank" => nil
|
||||
}
|
||||
>
|
|
@ -1,198 +0,0 @@
|
|||
[
|
||||
[0] #<User:placeholder_id
|
||||
@_start_transaction_state = {},
|
||||
@aggregation_cache = {},
|
||||
@attributes_cache = {},
|
||||
@column_types = {
|
||||
"admin" => #<ActiveRecord::ConnectionAdapters::SQLite3Column:placeholder_id
|
||||
attr_accessor :coder = nil,
|
||||
attr_accessor :primary = false,
|
||||
attr_reader :default = nil,
|
||||
attr_reader :default_function = nil,
|
||||
attr_reader :limit = nil,
|
||||
attr_reader :name = "admin",
|
||||
attr_reader :null = true,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :scale = nil,
|
||||
attr_reader :sql_type = "boolean",
|
||||
attr_reader :type = :boolean
|
||||
>,
|
||||
"created_at" => #<ActiveRecord::ConnectionAdapters::SQLite3Column:placeholder_id
|
||||
attr_accessor :coder = nil,
|
||||
attr_accessor :primary = false,
|
||||
attr_reader :default = nil,
|
||||
attr_reader :default_function = nil,
|
||||
attr_reader :limit = nil,
|
||||
attr_reader :name = "created_at",
|
||||
attr_reader :null = true,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :scale = nil,
|
||||
attr_reader :sql_type = "datetime",
|
||||
attr_reader :type = :datetime
|
||||
>,
|
||||
"id" => #<ActiveRecord::ConnectionAdapters::SQLite3Column:placeholder_id
|
||||
attr_accessor :coder = nil,
|
||||
attr_accessor :primary = true,
|
||||
attr_reader :default = nil,
|
||||
attr_reader :default_function = nil,
|
||||
attr_reader :limit = nil,
|
||||
attr_reader :name = "id",
|
||||
attr_reader :null = false,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :scale = nil,
|
||||
attr_reader :sql_type = "INTEGER",
|
||||
attr_reader :type = :integer
|
||||
>,
|
||||
"name" => #<ActiveRecord::ConnectionAdapters::SQLite3Column:placeholder_id
|
||||
attr_accessor :coder = nil,
|
||||
attr_accessor :primary = false,
|
||||
attr_reader :default = nil,
|
||||
attr_reader :default_function = nil,
|
||||
attr_reader :limit = 255,
|
||||
attr_reader :name = "name",
|
||||
attr_reader :null = true,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :scale = nil,
|
||||
attr_reader :sql_type = "varchar(255)",
|
||||
attr_reader :type = :string
|
||||
>,
|
||||
"rank" => #<ActiveRecord::ConnectionAdapters::SQLite3Column:placeholder_id
|
||||
attr_accessor :coder = nil,
|
||||
attr_accessor :primary = false,
|
||||
attr_reader :default = nil,
|
||||
attr_reader :default_function = nil,
|
||||
attr_reader :limit = nil,
|
||||
attr_reader :name = "rank",
|
||||
attr_reader :null = true,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :scale = nil,
|
||||
attr_reader :sql_type = "integer",
|
||||
attr_reader :type = :integer
|
||||
>
|
||||
},
|
||||
@column_types_override = nil,
|
||||
@destroyed = false,
|
||||
@marked_for_destruction = false,
|
||||
@new_record = true,
|
||||
@previously_changed = {},
|
||||
@readonly = false,
|
||||
@reflects_state = [
|
||||
[0] false
|
||||
],
|
||||
@transaction_state = nil,
|
||||
@txn = nil,
|
||||
attr_accessor :attributes = {
|
||||
"admin" => false,
|
||||
"created_at" => "1992-10-10 12:30:00",
|
||||
"id" => nil,
|
||||
"name" => "Diana",
|
||||
"rank" => 1
|
||||
},
|
||||
attr_accessor :destroyed_by_association = nil,
|
||||
attr_reader :association_cache = {},
|
||||
attr_reader :changed_attributes = {
|
||||
"admin" => nil,
|
||||
"created_at" => nil,
|
||||
"name" => nil,
|
||||
"rank" => nil
|
||||
}
|
||||
>,
|
||||
[1] #<User:placeholder_id
|
||||
@_start_transaction_state = {},
|
||||
@aggregation_cache = {},
|
||||
@attributes_cache = {},
|
||||
@column_types = {
|
||||
"admin" => #<ActiveRecord::ConnectionAdapters::SQLite3Column:placeholder_id
|
||||
attr_accessor :coder = nil,
|
||||
attr_accessor :primary = false,
|
||||
attr_reader :default = nil,
|
||||
attr_reader :default_function = nil,
|
||||
attr_reader :limit = nil,
|
||||
attr_reader :name = "admin",
|
||||
attr_reader :null = true,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :scale = nil,
|
||||
attr_reader :sql_type = "boolean",
|
||||
attr_reader :type = :boolean
|
||||
>,
|
||||
"created_at" => #<ActiveRecord::ConnectionAdapters::SQLite3Column:placeholder_id
|
||||
attr_accessor :coder = nil,
|
||||
attr_accessor :primary = false,
|
||||
attr_reader :default = nil,
|
||||
attr_reader :default_function = nil,
|
||||
attr_reader :limit = nil,
|
||||
attr_reader :name = "created_at",
|
||||
attr_reader :null = true,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :scale = nil,
|
||||
attr_reader :sql_type = "datetime",
|
||||
attr_reader :type = :datetime
|
||||
>,
|
||||
"id" => #<ActiveRecord::ConnectionAdapters::SQLite3Column:placeholder_id
|
||||
attr_accessor :coder = nil,
|
||||
attr_accessor :primary = true,
|
||||
attr_reader :default = nil,
|
||||
attr_reader :default_function = nil,
|
||||
attr_reader :limit = nil,
|
||||
attr_reader :name = "id",
|
||||
attr_reader :null = false,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :scale = nil,
|
||||
attr_reader :sql_type = "INTEGER",
|
||||
attr_reader :type = :integer
|
||||
>,
|
||||
"name" => #<ActiveRecord::ConnectionAdapters::SQLite3Column:placeholder_id
|
||||
attr_accessor :coder = nil,
|
||||
attr_accessor :primary = false,
|
||||
attr_reader :default = nil,
|
||||
attr_reader :default_function = nil,
|
||||
attr_reader :limit = 255,
|
||||
attr_reader :name = "name",
|
||||
attr_reader :null = true,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :scale = nil,
|
||||
attr_reader :sql_type = "varchar(255)",
|
||||
attr_reader :type = :string
|
||||
>,
|
||||
"rank" => #<ActiveRecord::ConnectionAdapters::SQLite3Column:placeholder_id
|
||||
attr_accessor :coder = nil,
|
||||
attr_accessor :primary = false,
|
||||
attr_reader :default = nil,
|
||||
attr_reader :default_function = nil,
|
||||
attr_reader :limit = nil,
|
||||
attr_reader :name = "rank",
|
||||
attr_reader :null = true,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :scale = nil,
|
||||
attr_reader :sql_type = "integer",
|
||||
attr_reader :type = :integer
|
||||
>
|
||||
},
|
||||
@column_types_override = nil,
|
||||
@destroyed = false,
|
||||
@marked_for_destruction = false,
|
||||
@new_record = true,
|
||||
@previously_changed = {},
|
||||
@readonly = false,
|
||||
@reflects_state = [
|
||||
[0] false
|
||||
],
|
||||
@transaction_state = nil,
|
||||
@txn = nil,
|
||||
attr_accessor :attributes = {
|
||||
"admin" => true,
|
||||
"created_at" => "2003-05-26 14:15:00",
|
||||
"id" => nil,
|
||||
"name" => "Laura",
|
||||
"rank" => 2
|
||||
},
|
||||
attr_accessor :destroyed_by_association = nil,
|
||||
attr_reader :association_cache = {},
|
||||
attr_reader :changed_attributes = {
|
||||
"admin" => nil,
|
||||
"created_at" => nil,
|
||||
"name" => nil,
|
||||
"rank" => nil
|
||||
}
|
||||
>
|
||||
]
|
|
@ -1,97 +0,0 @@
|
|||
#<User:placeholder_id
|
||||
@_start_transaction_state = {},
|
||||
@aggregation_cache = {},
|
||||
@attributes_cache = {},
|
||||
@column_types = {
|
||||
"admin" => #<ActiveRecord::ConnectionAdapters::SQLite3Column:placeholder_id
|
||||
attr_accessor :coder = nil,
|
||||
attr_accessor :primary = false,
|
||||
attr_reader :default = nil,
|
||||
attr_reader :default_function = nil,
|
||||
attr_reader :limit = nil,
|
||||
attr_reader :name = "admin",
|
||||
attr_reader :null = true,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :scale = nil,
|
||||
attr_reader :sql_type = "boolean",
|
||||
attr_reader :type = :boolean
|
||||
>,
|
||||
"created_at" => #<ActiveRecord::ConnectionAdapters::SQLite3Column:placeholder_id
|
||||
attr_accessor :coder = nil,
|
||||
attr_accessor :primary = false,
|
||||
attr_reader :default = nil,
|
||||
attr_reader :default_function = nil,
|
||||
attr_reader :limit = nil,
|
||||
attr_reader :name = "created_at",
|
||||
attr_reader :null = true,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :scale = nil,
|
||||
attr_reader :sql_type = "datetime",
|
||||
attr_reader :type = :datetime
|
||||
>,
|
||||
"id" => #<ActiveRecord::ConnectionAdapters::SQLite3Column:placeholder_id
|
||||
attr_accessor :coder = nil,
|
||||
attr_accessor :primary = true,
|
||||
attr_reader :default = nil,
|
||||
attr_reader :default_function = nil,
|
||||
attr_reader :limit = nil,
|
||||
attr_reader :name = "id",
|
||||
attr_reader :null = false,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :scale = nil,
|
||||
attr_reader :sql_type = "INTEGER",
|
||||
attr_reader :type = :integer
|
||||
>,
|
||||
"name" => #<ActiveRecord::ConnectionAdapters::SQLite3Column:placeholder_id
|
||||
attr_accessor :coder = nil,
|
||||
attr_accessor :primary = false,
|
||||
attr_reader :default = nil,
|
||||
attr_reader :default_function = nil,
|
||||
attr_reader :limit = 255,
|
||||
attr_reader :name = "name",
|
||||
attr_reader :null = true,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :scale = nil,
|
||||
attr_reader :sql_type = "varchar(255)",
|
||||
attr_reader :type = :string
|
||||
>,
|
||||
"rank" => #<ActiveRecord::ConnectionAdapters::SQLite3Column:placeholder_id
|
||||
attr_accessor :coder = nil,
|
||||
attr_accessor :primary = false,
|
||||
attr_reader :default = nil,
|
||||
attr_reader :default_function = nil,
|
||||
attr_reader :limit = nil,
|
||||
attr_reader :name = "rank",
|
||||
attr_reader :null = true,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :scale = nil,
|
||||
attr_reader :sql_type = "integer",
|
||||
attr_reader :type = :integer
|
||||
>
|
||||
},
|
||||
@column_types_override = nil,
|
||||
@destroyed = false,
|
||||
@marked_for_destruction = false,
|
||||
@new_record = true,
|
||||
@readonly = false,
|
||||
@reflects_state = [
|
||||
[0] false
|
||||
],
|
||||
@transaction_state = nil,
|
||||
@txn = nil,
|
||||
attr_accessor :attributes = {
|
||||
"admin" => false,
|
||||
"created_at" => "1992-10-10 12:30:00",
|
||||
"id" => nil,
|
||||
"name" => "Diana",
|
||||
"rank" => 1
|
||||
},
|
||||
attr_accessor :destroyed_by_association = nil,
|
||||
attr_reader :association_cache = {},
|
||||
attr_reader :changed_attributes = {
|
||||
"admin" => nil,
|
||||
"created_at" => nil,
|
||||
"name" => nil,
|
||||
"rank" => nil
|
||||
}
|
||||
>
|
|
@ -1,196 +0,0 @@
|
|||
[
|
||||
[0] #<User:placeholder_id
|
||||
@_start_transaction_state = {},
|
||||
@aggregation_cache = {},
|
||||
@attributes_cache = {},
|
||||
@column_types = {
|
||||
"admin" => #<ActiveRecord::ConnectionAdapters::SQLite3Column:placeholder_id
|
||||
attr_accessor :coder = nil,
|
||||
attr_accessor :primary = false,
|
||||
attr_reader :default = nil,
|
||||
attr_reader :default_function = nil,
|
||||
attr_reader :limit = nil,
|
||||
attr_reader :name = "admin",
|
||||
attr_reader :null = true,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :scale = nil,
|
||||
attr_reader :sql_type = "boolean",
|
||||
attr_reader :type = :boolean
|
||||
>,
|
||||
"created_at" => #<ActiveRecord::ConnectionAdapters::SQLite3Column:placeholder_id
|
||||
attr_accessor :coder = nil,
|
||||
attr_accessor :primary = false,
|
||||
attr_reader :default = nil,
|
||||
attr_reader :default_function = nil,
|
||||
attr_reader :limit = nil,
|
||||
attr_reader :name = "created_at",
|
||||
attr_reader :null = true,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :scale = nil,
|
||||
attr_reader :sql_type = "datetime",
|
||||
attr_reader :type = :datetime
|
||||
>,
|
||||
"id" => #<ActiveRecord::ConnectionAdapters::SQLite3Column:placeholder_id
|
||||
attr_accessor :coder = nil,
|
||||
attr_accessor :primary = true,
|
||||
attr_reader :default = nil,
|
||||
attr_reader :default_function = nil,
|
||||
attr_reader :limit = nil,
|
||||
attr_reader :name = "id",
|
||||
attr_reader :null = false,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :scale = nil,
|
||||
attr_reader :sql_type = "INTEGER",
|
||||
attr_reader :type = :integer
|
||||
>,
|
||||
"name" => #<ActiveRecord::ConnectionAdapters::SQLite3Column:placeholder_id
|
||||
attr_accessor :coder = nil,
|
||||
attr_accessor :primary = false,
|
||||
attr_reader :default = nil,
|
||||
attr_reader :default_function = nil,
|
||||
attr_reader :limit = 255,
|
||||
attr_reader :name = "name",
|
||||
attr_reader :null = true,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :scale = nil,
|
||||
attr_reader :sql_type = "varchar(255)",
|
||||
attr_reader :type = :string
|
||||
>,
|
||||
"rank" => #<ActiveRecord::ConnectionAdapters::SQLite3Column:placeholder_id
|
||||
attr_accessor :coder = nil,
|
||||
attr_accessor :primary = false,
|
||||
attr_reader :default = nil,
|
||||
attr_reader :default_function = nil,
|
||||
attr_reader :limit = nil,
|
||||
attr_reader :name = "rank",
|
||||
attr_reader :null = true,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :scale = nil,
|
||||
attr_reader :sql_type = "integer",
|
||||
attr_reader :type = :integer
|
||||
>
|
||||
},
|
||||
@column_types_override = nil,
|
||||
@destroyed = false,
|
||||
@marked_for_destruction = false,
|
||||
@new_record = true,
|
||||
@readonly = false,
|
||||
@reflects_state = [
|
||||
[0] false
|
||||
],
|
||||
@transaction_state = nil,
|
||||
@txn = nil,
|
||||
attr_accessor :attributes = {
|
||||
"admin" => false,
|
||||
"created_at" => "1992-10-10 12:30:00",
|
||||
"id" => nil,
|
||||
"name" => "Diana",
|
||||
"rank" => 1
|
||||
},
|
||||
attr_accessor :destroyed_by_association = nil,
|
||||
attr_reader :association_cache = {},
|
||||
attr_reader :changed_attributes = {
|
||||
"admin" => nil,
|
||||
"created_at" => nil,
|
||||
"name" => nil,
|
||||
"rank" => nil
|
||||
}
|
||||
>,
|
||||
[1] #<User:placeholder_id
|
||||
@_start_transaction_state = {},
|
||||
@aggregation_cache = {},
|
||||
@attributes_cache = {},
|
||||
@column_types = {
|
||||
"admin" => #<ActiveRecord::ConnectionAdapters::SQLite3Column:placeholder_id
|
||||
attr_accessor :coder = nil,
|
||||
attr_accessor :primary = false,
|
||||
attr_reader :default = nil,
|
||||
attr_reader :default_function = nil,
|
||||
attr_reader :limit = nil,
|
||||
attr_reader :name = "admin",
|
||||
attr_reader :null = true,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :scale = nil,
|
||||
attr_reader :sql_type = "boolean",
|
||||
attr_reader :type = :boolean
|
||||
>,
|
||||
"created_at" => #<ActiveRecord::ConnectionAdapters::SQLite3Column:placeholder_id
|
||||
attr_accessor :coder = nil,
|
||||
attr_accessor :primary = false,
|
||||
attr_reader :default = nil,
|
||||
attr_reader :default_function = nil,
|
||||
attr_reader :limit = nil,
|
||||
attr_reader :name = "created_at",
|
||||
attr_reader :null = true,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :scale = nil,
|
||||
attr_reader :sql_type = "datetime",
|
||||
attr_reader :type = :datetime
|
||||
>,
|
||||
"id" => #<ActiveRecord::ConnectionAdapters::SQLite3Column:placeholder_id
|
||||
attr_accessor :coder = nil,
|
||||
attr_accessor :primary = true,
|
||||
attr_reader :default = nil,
|
||||
attr_reader :default_function = nil,
|
||||
attr_reader :limit = nil,
|
||||
attr_reader :name = "id",
|
||||
attr_reader :null = false,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :scale = nil,
|
||||
attr_reader :sql_type = "INTEGER",
|
||||
attr_reader :type = :integer
|
||||
>,
|
||||
"name" => #<ActiveRecord::ConnectionAdapters::SQLite3Column:placeholder_id
|
||||
attr_accessor :coder = nil,
|
||||
attr_accessor :primary = false,
|
||||
attr_reader :default = nil,
|
||||
attr_reader :default_function = nil,
|
||||
attr_reader :limit = 255,
|
||||
attr_reader :name = "name",
|
||||
attr_reader :null = true,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :scale = nil,
|
||||
attr_reader :sql_type = "varchar(255)",
|
||||
attr_reader :type = :string
|
||||
>,
|
||||
"rank" => #<ActiveRecord::ConnectionAdapters::SQLite3Column:placeholder_id
|
||||
attr_accessor :coder = nil,
|
||||
attr_accessor :primary = false,
|
||||
attr_reader :default = nil,
|
||||
attr_reader :default_function = nil,
|
||||
attr_reader :limit = nil,
|
||||
attr_reader :name = "rank",
|
||||
attr_reader :null = true,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :scale = nil,
|
||||
attr_reader :sql_type = "integer",
|
||||
attr_reader :type = :integer
|
||||
>
|
||||
},
|
||||
@column_types_override = nil,
|
||||
@destroyed = false,
|
||||
@marked_for_destruction = false,
|
||||
@new_record = true,
|
||||
@readonly = false,
|
||||
@reflects_state = [
|
||||
[0] false
|
||||
],
|
||||
@transaction_state = nil,
|
||||
@txn = nil,
|
||||
attr_accessor :attributes = {
|
||||
"admin" => true,
|
||||
"created_at" => "2003-05-26 14:15:00",
|
||||
"id" => nil,
|
||||
"name" => "Laura",
|
||||
"rank" => 2
|
||||
},
|
||||
attr_accessor :destroyed_by_association = nil,
|
||||
attr_reader :association_cache = {},
|
||||
attr_reader :changed_attributes = {
|
||||
"admin" => nil,
|
||||
"created_at" => nil,
|
||||
"name" => nil,
|
||||
"rank" => nil
|
||||
}
|
||||
>
|
||||
]
|
|
@ -1,109 +0,0 @@
|
|||
#<User:placeholder_id
|
||||
@_start_transaction_state = {},
|
||||
@aggregation_cache = {},
|
||||
@destroyed = false,
|
||||
@marked_for_destruction = false,
|
||||
@new_record = true,
|
||||
@original_raw_attributes = {
|
||||
"admin" => false,
|
||||
"created_at" => 1992-10-10 12:30:00 UTC,
|
||||
"name" => "Diana",
|
||||
"rank" => 1
|
||||
},
|
||||
@readonly = false,
|
||||
@transaction_state = nil,
|
||||
@txn = nil,
|
||||
attr_accessor :attributes = #<ActiveRecord::AttributeSet:placeholder_id
|
||||
@attributes = #<ActiveRecord::LazyAttributeHash:placeholder_id
|
||||
@additional_types = {},
|
||||
@delegate_hash = {
|
||||
"admin" => #<ActiveRecord::Attribute::FromUser:placeholder_id
|
||||
attr_reader :name = "admin",
|
||||
attr_reader :type = #<ActiveRecord::Type::Boolean:placeholder_id
|
||||
attr_reader :limit = nil,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :scale = nil
|
||||
>,
|
||||
attr_reader :value = false,
|
||||
attr_reader :value_before_type_cast = false
|
||||
>,
|
||||
"created_at" => #<ActiveRecord::Attribute::FromUser:placeholder_id
|
||||
attr_reader :name = "created_at",
|
||||
attr_reader :type = #<ActiveRecord::Type::DateTime:placeholder_id
|
||||
attr_reader :limit = nil,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :scale = nil
|
||||
>,
|
||||
attr_reader :value = 1992-10-10 12:30:00 UTC,
|
||||
attr_reader :value_before_type_cast = "1992-10-10 12:30:00"
|
||||
>,
|
||||
"name" => #<ActiveRecord::Attribute::FromUser:placeholder_id
|
||||
attr_reader :name = "name",
|
||||
attr_reader :type = #<ActiveRecord::Type::String:placeholder_id
|
||||
attr_reader :limit = nil,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :scale = nil
|
||||
>,
|
||||
attr_reader :value = "Diana",
|
||||
attr_reader :value_before_type_cast = "Diana"
|
||||
>,
|
||||
"rank" => #<ActiveRecord::Attribute::FromUser:placeholder_id
|
||||
attr_reader :name = "rank",
|
||||
attr_reader :type = #<ActiveRecord::Type::Integer:placeholder_id
|
||||
@range = -2147483648...2147483648,
|
||||
attr_reader :limit = nil,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :scale = nil
|
||||
>,
|
||||
attr_reader :value = 1,
|
||||
attr_reader :value_before_type_cast = 1
|
||||
>
|
||||
},
|
||||
@materialized = false,
|
||||
@types = {
|
||||
"admin" => #<ActiveRecord::Type::Boolean:placeholder_id
|
||||
attr_reader :limit = nil,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :scale = nil
|
||||
>,
|
||||
"created_at" => #<ActiveRecord::Type::DateTime:placeholder_id
|
||||
attr_reader :limit = nil,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :scale = nil
|
||||
>,
|
||||
"id" => #<ActiveRecord::Type::Integer:placeholder_id
|
||||
@range = -2147483648...2147483648,
|
||||
attr_reader :limit = nil,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :scale = nil
|
||||
>,
|
||||
"name" => #<ActiveRecord::Type::String:placeholder_id
|
||||
attr_reader :limit = nil,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :scale = nil
|
||||
>,
|
||||
"rank" => #<ActiveRecord::Type::Integer:placeholder_id
|
||||
@range = -2147483648...2147483648,
|
||||
attr_reader :limit = nil,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :scale = nil
|
||||
>
|
||||
},
|
||||
@values = {
|
||||
"admin" => nil,
|
||||
"created_at" => nil,
|
||||
"id" => nil,
|
||||
"name" => nil,
|
||||
"rank" => nil
|
||||
}
|
||||
>
|
||||
>,
|
||||
attr_accessor :destroyed_by_association = nil,
|
||||
attr_reader :association_cache = {},
|
||||
attr_reader :changed_attributes = {
|
||||
"admin" => nil,
|
||||
"created_at" => nil,
|
||||
"name" => nil,
|
||||
"rank" => nil
|
||||
}
|
||||
>
|
|
@ -1,109 +0,0 @@
|
|||
#<User:placeholder_id
|
||||
@_start_transaction_state = {},
|
||||
@aggregation_cache = {},
|
||||
@destroyed = false,
|
||||
@marked_for_destruction = false,
|
||||
@new_record = true,
|
||||
@original_raw_attributes = {
|
||||
"admin" => false,
|
||||
"created_at" => 1992-10-10 12:30:00 UTC,
|
||||
"name" => "Diana",
|
||||
"rank" => 1
|
||||
},
|
||||
@readonly = false,
|
||||
@transaction_state = nil,
|
||||
@txn = nil,
|
||||
attr_accessor :attributes = #<ActiveRecord::AttributeSet:placeholder_id
|
||||
attr_reader :attributes = #<ActiveRecord::LazyAttributeHash:placeholder_id
|
||||
@materialized = false,
|
||||
attr_reader :additional_types = {},
|
||||
attr_reader :delegate_hash = {
|
||||
"admin" => #<ActiveRecord::Attribute::FromUser:placeholder_id
|
||||
attr_reader :name = "admin",
|
||||
attr_reader :type = #<ActiveRecord::Type::Boolean:placeholder_id
|
||||
attr_reader :limit = nil,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :scale = nil
|
||||
>,
|
||||
attr_reader :value = false,
|
||||
attr_reader :value_before_type_cast = false
|
||||
>,
|
||||
"created_at" => #<ActiveRecord::Attribute::FromUser:placeholder_id
|
||||
attr_reader :name = "created_at",
|
||||
attr_reader :type = #<ActiveRecord::Type::DateTime:placeholder_id
|
||||
attr_reader :limit = nil,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :scale = nil
|
||||
>,
|
||||
attr_reader :value = 1992-10-10 12:30:00 UTC,
|
||||
attr_reader :value_before_type_cast = "1992-10-10 12:30:00"
|
||||
>,
|
||||
"name" => #<ActiveRecord::Attribute::FromUser:placeholder_id
|
||||
attr_reader :name = "name",
|
||||
attr_reader :type = #<ActiveRecord::Type::String:placeholder_id
|
||||
attr_reader :limit = nil,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :scale = nil
|
||||
>,
|
||||
attr_reader :value = "Diana",
|
||||
attr_reader :value_before_type_cast = "Diana"
|
||||
>,
|
||||
"rank" => #<ActiveRecord::Attribute::FromUser:placeholder_id
|
||||
attr_reader :name = "rank",
|
||||
attr_reader :type = #<ActiveRecord::Type::Integer:placeholder_id
|
||||
attr_reader :limit = nil,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :range = -2147483648...2147483648,
|
||||
attr_reader :scale = nil
|
||||
>,
|
||||
attr_reader :value = 1,
|
||||
attr_reader :value_before_type_cast = 1
|
||||
>
|
||||
},
|
||||
attr_reader :types = {
|
||||
"admin" => #<ActiveRecord::Type::Boolean:placeholder_id
|
||||
attr_reader :limit = nil,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :scale = nil
|
||||
>,
|
||||
"created_at" => #<ActiveRecord::Type::DateTime:placeholder_id
|
||||
attr_reader :limit = nil,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :scale = nil
|
||||
>,
|
||||
"id" => #<ActiveRecord::Type::Integer:placeholder_id
|
||||
attr_reader :limit = nil,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :range = -2147483648...2147483648,
|
||||
attr_reader :scale = nil
|
||||
>,
|
||||
"name" => #<ActiveRecord::Type::String:placeholder_id
|
||||
attr_reader :limit = nil,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :scale = nil
|
||||
>,
|
||||
"rank" => #<ActiveRecord::Type::Integer:placeholder_id
|
||||
attr_reader :limit = nil,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :range = -2147483648...2147483648,
|
||||
attr_reader :scale = nil
|
||||
>
|
||||
},
|
||||
attr_reader :values = {
|
||||
"admin" => nil,
|
||||
"created_at" => nil,
|
||||
"id" => nil,
|
||||
"name" => nil,
|
||||
"rank" => nil
|
||||
}
|
||||
>
|
||||
>,
|
||||
attr_accessor :destroyed_by_association = nil,
|
||||
attr_reader :association_cache = {},
|
||||
attr_reader :changed_attributes = {
|
||||
"admin" => nil,
|
||||
"created_at" => nil,
|
||||
"name" => nil,
|
||||
"rank" => nil
|
||||
}
|
||||
>
|
|
@ -1,220 +0,0 @@
|
|||
[
|
||||
[0] #<User:placeholder_id
|
||||
@_start_transaction_state = {},
|
||||
@aggregation_cache = {},
|
||||
@destroyed = false,
|
||||
@marked_for_destruction = false,
|
||||
@new_record = true,
|
||||
@original_raw_attributes = {
|
||||
"admin" => false,
|
||||
"created_at" => 1992-10-10 12:30:00 UTC,
|
||||
"name" => "Diana",
|
||||
"rank" => 1
|
||||
},
|
||||
@readonly = false,
|
||||
@transaction_state = nil,
|
||||
@txn = nil,
|
||||
attr_accessor :attributes = #<ActiveRecord::AttributeSet:placeholder_id
|
||||
@attributes = #<ActiveRecord::LazyAttributeHash:placeholder_id
|
||||
@additional_types = {},
|
||||
@delegate_hash = {
|
||||
"admin" => #<ActiveRecord::Attribute::FromUser:placeholder_id
|
||||
attr_reader :name = "admin",
|
||||
attr_reader :type = #<ActiveRecord::Type::Boolean:placeholder_id
|
||||
attr_reader :limit = nil,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :scale = nil
|
||||
>,
|
||||
attr_reader :value = false,
|
||||
attr_reader :value_before_type_cast = false
|
||||
>,
|
||||
"created_at" => #<ActiveRecord::Attribute::FromUser:placeholder_id
|
||||
attr_reader :name = "created_at",
|
||||
attr_reader :type = #<ActiveRecord::Type::DateTime:placeholder_id
|
||||
attr_reader :limit = nil,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :scale = nil
|
||||
>,
|
||||
attr_reader :value = 1992-10-10 12:30:00 UTC,
|
||||
attr_reader :value_before_type_cast = "1992-10-10 12:30:00"
|
||||
>,
|
||||
"name" => #<ActiveRecord::Attribute::FromUser:placeholder_id
|
||||
attr_reader :name = "name",
|
||||
attr_reader :type = #<ActiveRecord::Type::String:placeholder_id
|
||||
attr_reader :limit = nil,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :scale = nil
|
||||
>,
|
||||
attr_reader :value = "Diana",
|
||||
attr_reader :value_before_type_cast = "Diana"
|
||||
>,
|
||||
"rank" => #<ActiveRecord::Attribute::FromUser:placeholder_id
|
||||
attr_reader :name = "rank",
|
||||
attr_reader :type = #<ActiveRecord::Type::Integer:placeholder_id
|
||||
@range = -2147483648...2147483648,
|
||||
attr_reader :limit = nil,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :scale = nil
|
||||
>,
|
||||
attr_reader :value = 1,
|
||||
attr_reader :value_before_type_cast = 1
|
||||
>
|
||||
},
|
||||
@materialized = false,
|
||||
@types = {
|
||||
"admin" => #<ActiveRecord::Type::Boolean:placeholder_id
|
||||
attr_reader :limit = nil,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :scale = nil
|
||||
>,
|
||||
"created_at" => #<ActiveRecord::Type::DateTime:placeholder_id
|
||||
attr_reader :limit = nil,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :scale = nil
|
||||
>,
|
||||
"id" => #<ActiveRecord::Type::Integer:placeholder_id
|
||||
@range = -2147483648...2147483648,
|
||||
attr_reader :limit = nil,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :scale = nil
|
||||
>,
|
||||
"name" => #<ActiveRecord::Type::String:placeholder_id
|
||||
attr_reader :limit = nil,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :scale = nil
|
||||
>,
|
||||
"rank" => #<ActiveRecord::Type::Integer:placeholder_id
|
||||
@range = -2147483648...2147483648,
|
||||
attr_reader :limit = nil,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :scale = nil
|
||||
>
|
||||
},
|
||||
@values = {
|
||||
"admin" => nil,
|
||||
"created_at" => nil,
|
||||
"id" => nil,
|
||||
"name" => nil,
|
||||
"rank" => nil
|
||||
}
|
||||
>
|
||||
>,
|
||||
attr_accessor :destroyed_by_association = nil,
|
||||
attr_reader :association_cache = {},
|
||||
attr_reader :changed_attributes = {
|
||||
"admin" => nil,
|
||||
"created_at" => nil,
|
||||
"name" => nil,
|
||||
"rank" => nil
|
||||
}
|
||||
>,
|
||||
[1] #<User:placeholder_id
|
||||
@_start_transaction_state = {},
|
||||
@aggregation_cache = {},
|
||||
@destroyed = false,
|
||||
@marked_for_destruction = false,
|
||||
@new_record = true,
|
||||
@original_raw_attributes = {
|
||||
"admin" => true,
|
||||
"created_at" => 2003-05-26 14:15:00 UTC,
|
||||
"name" => "Laura",
|
||||
"rank" => 2
|
||||
},
|
||||
@readonly = false,
|
||||
@transaction_state = nil,
|
||||
@txn = nil,
|
||||
attr_accessor :attributes = #<ActiveRecord::AttributeSet:placeholder_id
|
||||
@attributes = #<ActiveRecord::LazyAttributeHash:placeholder_id
|
||||
@additional_types = {},
|
||||
@delegate_hash = {
|
||||
"admin" => #<ActiveRecord::Attribute::FromUser:placeholder_id
|
||||
attr_reader :name = "admin",
|
||||
attr_reader :type = #<ActiveRecord::Type::Boolean:placeholder_id
|
||||
attr_reader :limit = nil,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :scale = nil
|
||||
>,
|
||||
attr_reader :value = true,
|
||||
attr_reader :value_before_type_cast = true
|
||||
>,
|
||||
"created_at" => #<ActiveRecord::Attribute::FromUser:placeholder_id
|
||||
attr_reader :name = "created_at",
|
||||
attr_reader :type = #<ActiveRecord::Type::DateTime:placeholder_id
|
||||
attr_reader :limit = nil,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :scale = nil
|
||||
>,
|
||||
attr_reader :value = 2003-05-26 14:15:00 UTC,
|
||||
attr_reader :value_before_type_cast = "2003-05-26 14:15:00"
|
||||
>,
|
||||
"name" => #<ActiveRecord::Attribute::FromUser:placeholder_id
|
||||
attr_reader :name = "name",
|
||||
attr_reader :type = #<ActiveRecord::Type::String:placeholder_id
|
||||
attr_reader :limit = nil,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :scale = nil
|
||||
>,
|
||||
attr_reader :value = "Laura",
|
||||
attr_reader :value_before_type_cast = "Laura"
|
||||
>,
|
||||
"rank" => #<ActiveRecord::Attribute::FromUser:placeholder_id
|
||||
attr_reader :name = "rank",
|
||||
attr_reader :type = #<ActiveRecord::Type::Integer:placeholder_id
|
||||
@range = -2147483648...2147483648,
|
||||
attr_reader :limit = nil,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :scale = nil
|
||||
>,
|
||||
attr_reader :value = 2,
|
||||
attr_reader :value_before_type_cast = 2
|
||||
>
|
||||
},
|
||||
@materialized = false,
|
||||
@types = {
|
||||
"admin" => #<ActiveRecord::Type::Boolean:placeholder_id
|
||||
attr_reader :limit = nil,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :scale = nil
|
||||
>,
|
||||
"created_at" => #<ActiveRecord::Type::DateTime:placeholder_id
|
||||
attr_reader :limit = nil,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :scale = nil
|
||||
>,
|
||||
"id" => #<ActiveRecord::Type::Integer:placeholder_id
|
||||
@range = -2147483648...2147483648,
|
||||
attr_reader :limit = nil,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :scale = nil
|
||||
>,
|
||||
"name" => #<ActiveRecord::Type::String:placeholder_id
|
||||
attr_reader :limit = nil,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :scale = nil
|
||||
>,
|
||||
"rank" => #<ActiveRecord::Type::Integer:placeholder_id
|
||||
@range = -2147483648...2147483648,
|
||||
attr_reader :limit = nil,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :scale = nil
|
||||
>
|
||||
},
|
||||
@values = {
|
||||
"admin" => nil,
|
||||
"created_at" => nil,
|
||||
"id" => nil,
|
||||
"name" => nil,
|
||||
"rank" => nil
|
||||
}
|
||||
>
|
||||
>,
|
||||
attr_accessor :destroyed_by_association = nil,
|
||||
attr_reader :association_cache = {},
|
||||
attr_reader :changed_attributes = {
|
||||
"admin" => nil,
|
||||
"created_at" => nil,
|
||||
"name" => nil,
|
||||
"rank" => nil
|
||||
}
|
||||
>
|
||||
]
|
|
@ -1,220 +0,0 @@
|
|||
[
|
||||
[0] #<User:placeholder_id
|
||||
@_start_transaction_state = {},
|
||||
@aggregation_cache = {},
|
||||
@destroyed = false,
|
||||
@marked_for_destruction = false,
|
||||
@new_record = true,
|
||||
@original_raw_attributes = {
|
||||
"admin" => false,
|
||||
"created_at" => 1992-10-10 12:30:00 UTC,
|
||||
"name" => "Diana",
|
||||
"rank" => 1
|
||||
},
|
||||
@readonly = false,
|
||||
@transaction_state = nil,
|
||||
@txn = nil,
|
||||
attr_accessor :attributes = #<ActiveRecord::AttributeSet:placeholder_id
|
||||
attr_reader :attributes = #<ActiveRecord::LazyAttributeHash:placeholder_id
|
||||
@materialized = false,
|
||||
attr_reader :additional_types = {},
|
||||
attr_reader :delegate_hash = {
|
||||
"admin" => #<ActiveRecord::Attribute::FromUser:placeholder_id
|
||||
attr_reader :name = "admin",
|
||||
attr_reader :type = #<ActiveRecord::Type::Boolean:placeholder_id
|
||||
attr_reader :limit = nil,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :scale = nil
|
||||
>,
|
||||
attr_reader :value = false,
|
||||
attr_reader :value_before_type_cast = false
|
||||
>,
|
||||
"created_at" => #<ActiveRecord::Attribute::FromUser:placeholder_id
|
||||
attr_reader :name = "created_at",
|
||||
attr_reader :type = #<ActiveRecord::Type::DateTime:placeholder_id
|
||||
attr_reader :limit = nil,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :scale = nil
|
||||
>,
|
||||
attr_reader :value = 1992-10-10 12:30:00 UTC,
|
||||
attr_reader :value_before_type_cast = "1992-10-10 12:30:00"
|
||||
>,
|
||||
"name" => #<ActiveRecord::Attribute::FromUser:placeholder_id
|
||||
attr_reader :name = "name",
|
||||
attr_reader :type = #<ActiveRecord::Type::String:placeholder_id
|
||||
attr_reader :limit = nil,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :scale = nil
|
||||
>,
|
||||
attr_reader :value = "Diana",
|
||||
attr_reader :value_before_type_cast = "Diana"
|
||||
>,
|
||||
"rank" => #<ActiveRecord::Attribute::FromUser:placeholder_id
|
||||
attr_reader :name = "rank",
|
||||
attr_reader :type = #<ActiveRecord::Type::Integer:placeholder_id
|
||||
attr_reader :limit = nil,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :range = -2147483648...2147483648,
|
||||
attr_reader :scale = nil
|
||||
>,
|
||||
attr_reader :value = 1,
|
||||
attr_reader :value_before_type_cast = 1
|
||||
>
|
||||
},
|
||||
attr_reader :types = {
|
||||
"admin" => #<ActiveRecord::Type::Boolean:placeholder_id
|
||||
attr_reader :limit = nil,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :scale = nil
|
||||
>,
|
||||
"created_at" => #<ActiveRecord::Type::DateTime:placeholder_id
|
||||
attr_reader :limit = nil,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :scale = nil
|
||||
>,
|
||||
"id" => #<ActiveRecord::Type::Integer:placeholder_id
|
||||
attr_reader :limit = nil,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :range = -2147483648...2147483648,
|
||||
attr_reader :scale = nil
|
||||
>,
|
||||
"name" => #<ActiveRecord::Type::String:placeholder_id
|
||||
attr_reader :limit = nil,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :scale = nil
|
||||
>,
|
||||
"rank" => #<ActiveRecord::Type::Integer:placeholder_id
|
||||
attr_reader :limit = nil,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :range = -2147483648...2147483648,
|
||||
attr_reader :scale = nil
|
||||
>
|
||||
},
|
||||
attr_reader :values = {
|
||||
"admin" => nil,
|
||||
"created_at" => nil,
|
||||
"id" => nil,
|
||||
"name" => nil,
|
||||
"rank" => nil
|
||||
}
|
||||
>
|
||||
>,
|
||||
attr_accessor :destroyed_by_association = nil,
|
||||
attr_reader :association_cache = {},
|
||||
attr_reader :changed_attributes = {
|
||||
"admin" => nil,
|
||||
"created_at" => nil,
|
||||
"name" => nil,
|
||||
"rank" => nil
|
||||
}
|
||||
>,
|
||||
[1] #<User:placeholder_id
|
||||
@_start_transaction_state = {},
|
||||
@aggregation_cache = {},
|
||||
@destroyed = false,
|
||||
@marked_for_destruction = false,
|
||||
@new_record = true,
|
||||
@original_raw_attributes = {
|
||||
"admin" => true,
|
||||
"created_at" => 2003-05-26 14:15:00 UTC,
|
||||
"name" => "Laura",
|
||||
"rank" => 2
|
||||
},
|
||||
@readonly = false,
|
||||
@transaction_state = nil,
|
||||
@txn = nil,
|
||||
attr_accessor :attributes = #<ActiveRecord::AttributeSet:placeholder_id
|
||||
attr_reader :attributes = #<ActiveRecord::LazyAttributeHash:placeholder_id
|
||||
@materialized = false,
|
||||
attr_reader :additional_types = {},
|
||||
attr_reader :delegate_hash = {
|
||||
"admin" => #<ActiveRecord::Attribute::FromUser:placeholder_id
|
||||
attr_reader :name = "admin",
|
||||
attr_reader :type = #<ActiveRecord::Type::Boolean:placeholder_id
|
||||
attr_reader :limit = nil,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :scale = nil
|
||||
>,
|
||||
attr_reader :value = true,
|
||||
attr_reader :value_before_type_cast = true
|
||||
>,
|
||||
"created_at" => #<ActiveRecord::Attribute::FromUser:placeholder_id
|
||||
attr_reader :name = "created_at",
|
||||
attr_reader :type = #<ActiveRecord::Type::DateTime:placeholder_id
|
||||
attr_reader :limit = nil,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :scale = nil
|
||||
>,
|
||||
attr_reader :value = 2003-05-26 14:15:00 UTC,
|
||||
attr_reader :value_before_type_cast = "2003-05-26 14:15:00"
|
||||
>,
|
||||
"name" => #<ActiveRecord::Attribute::FromUser:placeholder_id
|
||||
attr_reader :name = "name",
|
||||
attr_reader :type = #<ActiveRecord::Type::String:placeholder_id
|
||||
attr_reader :limit = nil,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :scale = nil
|
||||
>,
|
||||
attr_reader :value = "Laura",
|
||||
attr_reader :value_before_type_cast = "Laura"
|
||||
>,
|
||||
"rank" => #<ActiveRecord::Attribute::FromUser:placeholder_id
|
||||
attr_reader :name = "rank",
|
||||
attr_reader :type = #<ActiveRecord::Type::Integer:placeholder_id
|
||||
attr_reader :limit = nil,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :range = -2147483648...2147483648,
|
||||
attr_reader :scale = nil
|
||||
>,
|
||||
attr_reader :value = 2,
|
||||
attr_reader :value_before_type_cast = 2
|
||||
>
|
||||
},
|
||||
attr_reader :types = {
|
||||
"admin" => #<ActiveRecord::Type::Boolean:placeholder_id
|
||||
attr_reader :limit = nil,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :scale = nil
|
||||
>,
|
||||
"created_at" => #<ActiveRecord::Type::DateTime:placeholder_id
|
||||
attr_reader :limit = nil,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :scale = nil
|
||||
>,
|
||||
"id" => #<ActiveRecord::Type::Integer:placeholder_id
|
||||
attr_reader :limit = nil,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :range = -2147483648...2147483648,
|
||||
attr_reader :scale = nil
|
||||
>,
|
||||
"name" => #<ActiveRecord::Type::String:placeholder_id
|
||||
attr_reader :limit = nil,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :scale = nil
|
||||
>,
|
||||
"rank" => #<ActiveRecord::Type::Integer:placeholder_id
|
||||
attr_reader :limit = nil,
|
||||
attr_reader :precision = nil,
|
||||
attr_reader :range = -2147483648...2147483648,
|
||||
attr_reader :scale = nil
|
||||
>
|
||||
},
|
||||
attr_reader :values = {
|
||||
"admin" => nil,
|
||||
"created_at" => nil,
|
||||
"id" => nil,
|
||||
"name" => nil,
|
||||
"rank" => nil
|
||||
}
|
||||
>
|
||||
>,
|
||||
attr_accessor :destroyed_by_association = nil,
|
||||
attr_reader :association_cache = {},
|
||||
attr_reader :changed_attributes = {
|
||||
"admin" => nil,
|
||||
"created_at" => nil,
|
||||
"name" => nil,
|
||||
"rank" => nil
|
||||
}
|
||||
>
|
||||
]
|
|
@ -14,29 +14,9 @@ module RailsVersions
|
|||
alias_method :activerecord_5_1?, :rails_5_1?
|
||||
|
||||
def rails_5_0?
|
||||
Gem::Requirement.new('~> 5.0.0.racecar1').satisfied_by?(rails_version)
|
||||
Gem::Requirement.new('~> 5.0.0').satisfied_by?(rails_version)
|
||||
end
|
||||
alias_method :activerecord_5_0?, :rails_5_0?
|
||||
|
||||
def rails_4_2?
|
||||
Gem::Requirement.new('~> 4.2.0').satisfied_by?(rails_version)
|
||||
end
|
||||
alias_method :activerecord_4_2?, :rails_4_2?
|
||||
|
||||
def rails_4_1?
|
||||
Gem::Requirement.new('~> 4.1.0').satisfied_by?(rails_version)
|
||||
end
|
||||
alias_method :activerecord_4_1?, :rails_4_1?
|
||||
|
||||
def rails_4_0?
|
||||
Gem::Requirement.new('~> 4.0.0').satisfied_by?(rails_version)
|
||||
end
|
||||
alias_method :activerecord_4_0?, :rails_4_0?
|
||||
|
||||
def rails_3_2?
|
||||
Gem::Requirement.new('~> 3.2.0').satisfied_by?(rails_version)
|
||||
end
|
||||
alias_method :activerecord_3_2?, :rails_3_2?
|
||||
end
|
||||
|
||||
RSpec.configure do |config|
|
||||
|
|
Loading…
Reference in a new issue