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 Application < Rails::Application | |
config.assets.quiet = true | |
config.generators do |generate| | |
generate.helper false | |
generate.javascript_engine false | |
generate.request_specs false | |
generate.routing_specs false | |
generate.stylesheets false | |
generate.test_framework :rspec | |
generate.view_specs false |
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
require 'mysql2' | |
require 'benchmark' | |
user = 'USER' | |
password = 'PASSWORD' | |
database = 'benchmark' | |
client = Mysql2::Client.new(host: 'localhost', username: user, password: password, database: database) | |
Benchmark.bmbm do |x| |