Skip to content

Instantly share code, notes, and snippets.

@umdstu
Created May 28, 2014 12:19
Show Gist options
  • Save umdstu/39e554e7e26a998ae265 to your computer and use it in GitHub Desktop.
Save umdstu/39e554e7e26a998ae265 to your computer and use it in GitHub Desktop.
require "ostruct"
require "rest-client"
require "benchmark"
require "active_support/core_ext"
module ServiceRecord
def self.logger
end
class Railtie < ::Rails::Railtie
config.before_configuration do |app|
app.paths.add "config/service-record", with: "config/service-record.yml"
app.extend(ServiceRecord)
end
end
require "recursive_open_struct"
require "service_record/version"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment