diff --git a/app/models/sound.rb b/app/models/sound.rb index 7ddfec6..ed7a45a 100644 --- a/app/models/sound.rb +++ b/app/models/sound.rb @@ -1,5 +1,3 @@ -require 'fileutils' - class Sound < ActiveRecord::Base belongs_to :track diff --git a/app/models/user.rb b/app/models/user.rb index 1b6a416..be33e4f 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -1,5 +1,3 @@ -require 'bcrypt' - class User < ActiveRecord::Base include BCrypt diff --git a/config/application.rb b/config/application.rb index da90204..4e1575a 100644 --- a/config/application.rb +++ b/config/application.rb @@ -12,6 +12,8 @@ require 'action_view/railtie' # you've limited to :test, :development, or :production. Bundler.require(*Rails.groups) +require 'fileutils' + module Scube class Application < Rails::Application # Settings in config/environments/* take precedence over those specified here. diff --git a/spec/support/decrease_bcrypt_cost_factor.rb b/spec/support/decrease_bcrypt_cost_factor.rb index df98af7..99ac095 100644 --- a/spec/support/decrease_bcrypt_cost_factor.rb +++ b/spec/support/decrease_bcrypt_cost_factor.rb @@ -1,5 +1,3 @@ -require 'bcrypt' - module BCrypt class Engine remove_const :DEFAULT_COST