# File lib/active_record/merbtasks.rb, line 74 def local_database?(config, &block) if %w( 127.0.0.1 localhost ).include?(config[:host]) || config[:host].blank? yield else puts "This task only modifies local databases. #{config[:database]} is on a remote host." end end