diff options
author | Sergey Nartimov <just.lest@gmail.com> | 2012-02-06 09:33:02 +0300 |
---|---|---|
committer | Sergey Nartimov <just.lest@gmail.com> | 2012-02-06 09:33:02 +0300 |
commit | e3b3a25abfc309e228b7b258809b44cd7eb2d792 (patch) | |
tree | 873a8115c3d2c38878eda30f10c76184566cb2d8 /activerecord/lib/active_record | |
parent | 33514a173c5ab59325db8427183f6d46e18cedb1 (diff) | |
download | rails-e3b3a25abfc309e228b7b258809b44cd7eb2d792.tar.gz rails-e3b3a25abfc309e228b7b258809b44cd7eb2d792.tar.bz2 rails-e3b3a25abfc309e228b7b258809b44cd7eb2d792.zip |
allow mass-assign version attribute in AR::SchemaMigration
Diffstat (limited to 'activerecord/lib/active_record')
-rw-r--r-- | activerecord/lib/active_record/schema_migration.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/activerecord/lib/active_record/schema_migration.rb b/activerecord/lib/active_record/schema_migration.rb index 257963c2ce..236ec563d2 100644 --- a/activerecord/lib/active_record/schema_migration.rb +++ b/activerecord/lib/active_record/schema_migration.rb @@ -4,6 +4,8 @@ require 'active_record/base' module ActiveRecord class SchemaMigration < ActiveRecord::Base + attr_accessible :version + def self.table_name Base.table_name_prefix + 'schema_migrations' + Base.table_name_suffix end |