Sha256: e1edc937a006444572eed03c3a03fc1c52385afe46830d0a5d989698f91062ab
Contents?: true
Size: 493 Bytes
Versions: 2
Compression:
Stored size: 493 Bytes
Contents
# frozen_string_literal: true require_relative "phonofy/version" require "active_record" require "model/instance_dynamic_methods" require "phonelib" require "model" module Phonofy class Error < StandardError; end class Engine < ::Rails::Engine initializer "phonofy.initialize" do ActiveSupport.on_load(:active_record) do include Phonofy::Model end config.i18n.load_path += Dir[config.root.join("config", "locales", "**", "*.{rb,yml}")] end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
phonofy-0.1.2 | lib/phonofy.rb |
phonofy-0.1.1 | lib/phonofy.rb |