diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2012-05-21 16:20:18 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2012-05-21 16:20:40 -0700 |
commit | edb87b19d42b2a47708a78e0762a9e761aaf1277 (patch) | |
tree | 4dcf328459cc68f2a51db492367d16911447d902 /railties/lib | |
parent | c5fc159949f19708002ba801438ca5434192b074 (diff) | |
download | rails-edb87b19d42b2a47708a78e0762a9e761aaf1277.tar.gz rails-edb87b19d42b2a47708a78e0762a9e761aaf1277.tar.bz2 rails-edb87b19d42b2a47708a78e0762a9e761aaf1277.zip |
using __method__ for the command method calls
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/configuration.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/railties/lib/rails/configuration.rb b/railties/lib/rails/configuration.rb index 3d66019e5e..5fa7f043c6 100644 --- a/railties/lib/rails/configuration.rb +++ b/railties/lib/rails/configuration.rb @@ -39,25 +39,25 @@ module Rails end def insert_before(*args, &block) - @operations << [:insert_before, args, block] + @operations << [__method__, args, block] end alias :insert :insert_before def insert_after(*args, &block) - @operations << [:insert_after, args, block] + @operations << [__method__, args, block] end def swap(*args, &block) - @operations << [:swap, args, block] + @operations << [__method__, args, block] end def use(*args, &block) - @operations << [:use, args, block] + @operations << [__method__, args, block] end def delete(*args, &block) - @operations << [:delete, args, block] + @operations << [__method__, args, block] end def merge_into(other) #:nodoc: |