This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# frozen_string_literal: true | |
begin | |
require 'bundler/inline' | |
rescue LoadError => e | |
$stderr.puts 'Bundler version 1.10 or later is required. Please update your Bundler' | |
raise e | |
end | |
gemfile(true) do |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bruno_arueira 2.2.0p0 (master) $ bundle exec rake listen ~/t/w/r/isabella | |
INFO: cmd_ln.c(697): Parsing command line: | |
Current configuration: | |
[NAME] [DEFLT] [VALUE] | |
-agc none none | |
-agcthresh 2.0 2.000000e+00 | |
-allphone | |
-allphone_ci no no |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ComentariosLegadosMigrations < ActiveRecord::Migration | |
MIGRATIONS_PATH='db/migrate/comentarios_legados_migrations' | |
def self.up | |
Dir["#{MIGRATIONS_PATH}/[0-9]*_*.rb"]. | |
sort.map{|filename|require filename}.flatten. | |
each{|class_name| const_get(class_name).up} | |
end | |
def self.down |