Sha256: 0f611e6237618df63272ba1b378fa66e8a6ec0e000090aa5afe4494c0e18fbeb

Contents?: true

Size: 225 Bytes

Versions: 88

Compression:

Stored size: 225 Bytes

Contents

# Temporary fix for
# NoMethodError: undefined method `gsub' for #<Arel::Nodes::Ascending:...>
# See https://github.com/rails/rails/issues/5868
class Arel::Nodes::Ordering
  def gsub(*a, &b)
    to_sql.gsub(*a, &b)
  end
end

Version data entries

88 entries across 88 versions & 4 rubygems

Version Path
spree_frontend-2.3.2 config/initializers/rails_5868.rb
spree_frontend-2.2.5 config/initializers/rails_5868.rb
spree_frontend-2.1.8 config/initializers/rails_5868.rb
spree_frontend-2.0.12 config/initializers/rails_5868.rb
spree_frontend-2.3.1 config/initializers/rails_5868.rb
spree_frontend-2.2.4 config/initializers/rails_5868.rb
spree_frontend-2.2.3 config/initializers/rails_5868.rb
spree_frontend-2.3.0 config/initializers/rails_5868.rb
spree_frontend-2.2.2 config/initializers/rails_5868.rb
spree_frontend-2.1.7 config/initializers/rails_5868.rb
spree_frontend-2.0.11 config/initializers/rails_5868.rb
spree_frontend-2.0.10 config/initializers/rails_5868.rb
spree_frontend-2.2.1 config/initializers/rails_5868.rb
spree_frontend-2.1.6 config/initializers/rails_5868.rb
spree_frontend-2.2.0 config/initializers/rails_5868.rb
spree_frontend-2.1.5 config/initializers/rails_5868.rb
spree_frontend-2.0.9 config/initializers/rails_5868.rb
spree_core-1.3.5 config/initializers/rails_5868.rb
spree_frontend-2.1.4 config/initializers/rails_5868.rb
spree_frontend-2.0.8 config/initializers/rails_5868.rb