Sha256: 2241992a9c7b3fde47d3b7e38e132d7fd01887b2aa4e49dfc371c7fb691f6285

Contents?: true

Size: 373 Bytes

Versions: 30

Compression:

Stored size: 373 Bytes

Contents

module Refine
  module Rails
    class Engine < ::Rails::Engine
      initializer "refine-rails.register" do |app|
        ActiveSupport::Inflector.inflections(:en) do |inflect|
          inflect.irregular "criterion", "criteria"
        end
        begin
          BulletTrain.linked_gems << "refine-rails"
        rescue NameError
        end
      end
    end
  end
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
refine-rails-2.12.0 lib/refine/rails/engine.rb
refine-rails-2.11.12 lib/refine/rails/engine.rb
refine-rails-2.11.11 lib/refine/rails/engine.rb
refine-rails-2.11.10 lib/refine/rails/engine.rb
refine-rails-2.11.9 lib/refine/rails/engine.rb
refine-rails-2.11.8 lib/refine/rails/engine.rb
refine-rails-2.11.6 lib/refine/rails/engine.rb
refine-rails-2.11.5 lib/refine/rails/engine.rb
refine-rails-2.11.4 lib/refine/rails/engine.rb
refine-rails-2.11.3 lib/refine/rails/engine.rb
refine-rails-2.11.2 lib/refine/rails/engine.rb
refine-rails-2.11.1 lib/refine/rails/engine.rb
refine-rails-2.11.0 lib/refine/rails/engine.rb
refine-rails-2.10.1 lib/refine/rails/engine.rb
refine-rails-2.10.0 lib/refine/rails/engine.rb
refine-rails-2.9.14 lib/refine/rails/engine.rb
refine-rails-2.9.13 lib/refine/rails/engine.rb
refine-rails-2.9.12 lib/refine/rails/engine.rb
refine-rails-2.9.11 lib/refine/rails/engine.rb
refine-rails-2.9.10 lib/refine/rails/engine.rb