We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
primary_key_prefix_type
1 parent 67268f1 commit c8932d6Copy full SHA for c8932d6
activerecord/lib/active_record/model_schema.rb
@@ -127,8 +127,7 @@ module ModelSchema
127
# <tt>attribute :foo, :string</tt>. Defaults to false.
128
129
included do
130
- mattr_accessor :primary_key_prefix_type, instance_writer: false
131
-
+ class_attribute :primary_key_prefix_type, instance_writer: false
132
class_attribute :table_name_prefix, instance_writer: false, default: ""
133
class_attribute :table_name_suffix, instance_writer: false, default: ""
134
class_attribute :schema_migrations_table_name, instance_accessor: false, default: "schema_migrations"
0 commit comments