diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-11-19 10:31:03 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-11-19 10:31:03 -0800 |
commit | 47017bd1697d6b4d6780356a403f91536eacd689 (patch) | |
tree | 72619dbd4cf2c997d72a70cecd14babfacc369df /activerecord/lib/active_record/migration/command_recorder.rb | |
parent | 6519df4157a861c9c9d567ee57983ded0e967a10 (diff) | |
download | rails-47017bd1697d6b4d6780356a403f91536eacd689.tar.gz rails-47017bd1697d6b4d6780356a403f91536eacd689.tar.bz2 rails-47017bd1697d6b4d6780356a403f91536eacd689.zip |
invertable migrations are working
Diffstat (limited to 'activerecord/lib/active_record/migration/command_recorder.rb')
-rw-r--r-- | activerecord/lib/active_record/migration/command_recorder.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/migration/command_recorder.rb b/activerecord/lib/active_record/migration/command_recorder.rb index fa189b8009..fc669d2e89 100644 --- a/activerecord/lib/active_record/migration/command_recorder.rb +++ b/activerecord/lib/active_record/migration/command_recorder.rb @@ -3,7 +3,7 @@ module ActiveRecord # ActiveRecord::Migration::CommandRecorder records commands done during # a migration and knows how to reverse those commands. class CommandRecorder - attr_reader :commands, :delegate + attr_accessor :commands, :delegate def initialize(delegate = nil) @commands = [] |