Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

allow mass-assign version attribute in AR::SchemaMigration

  • Loading branch information...
commit e3b3a25abfc309e228b7b258809b44cd7eb2d792 1 parent 33514a1
@lest lest authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  activerecord/lib/active_record/schema_migration.rb
View
2  activerecord/lib/active_record/schema_migration.rb
@@ -4,6 +4,8 @@
module ActiveRecord
class SchemaMigration < ActiveRecord::Base
+ attr_accessible :version
+
def self.table_name
Base.table_name_prefix + 'schema_migrations' + Base.table_name_suffix
end
Please sign in to comment.
Something went wrong with that request. Please try again.