Permalink
Browse files

allow mass-assign version attribute in AR::SchemaMigration

  • Loading branch information...
lest committed Feb 6, 2012
1 parent 33514a1 commit e3b3a25abfc309e228b7b258809b44cd7eb2d792
Showing with 2 additions and 0 deletions.
  1. +2 −0 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

0 comments on commit e3b3a25

Please sign in to comment.