Module: Nightcrawler::Migration
- Defined in:
- lib/nightcrawler/migration.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.extended(base) ⇒ Object
3 4 5 6 7 8 9 10 11 12 |
# File 'lib/nightcrawler/migration.rb', line 3 def self.extended(base) class << base def announce_with_nightcrawler() announce_without_nightcrawler("#{} - #{shard_key}") end alias_method_chain :migrate, :nightcrawler alias_method_chain :announce, :nightcrawler end end |
Instance Method Details
#migrate_with_nightcrawler ⇒ Object
14 15 |
# File 'lib/nightcrawler/migration.rb', line 14 def migrate_with_nightcrawler end |