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.4.3 config/initializers/rails_5868.rb
spree_frontend-2.2.9 config/initializers/rails_5868.rb
spree_frontend-2.1.12 config/initializers/rails_5868.rb
spree_frontend-2.4.2 config/initializers/rails_5868.rb
spree_frontend-2.3.6 config/initializers/rails_5868.rb
spree_frontend-2.2.8 config/initializers/rails_5868.rb
spree_frontend-2.1.11 config/initializers/rails_5868.rb
spree_frontend-2.4.1 config/initializers/rails_5868.rb
spree_frontend-2.4.0 config/initializers/rails_5868.rb
spree_frontend-2.3.5 config/initializers/rails_5868.rb
spree_frontend-2.2.7 config/initializers/rails_5868.rb
spree_frontend-2.1.10 config/initializers/rails_5868.rb
spree_frontend-2.0.13 config/initializers/rails_5868.rb
spree_frontend-2.4.0.rc3 config/initializers/rails_5868.rb
spree_frontend-2.4.0.rc2 config/initializers/rails_5868.rb
spree_frontend-2.4.0.rc1 config/initializers/rails_5868.rb
spree_frontend-2.3.4 config/initializers/rails_5868.rb
spree_frontend-2.1.9 config/initializers/rails_5868.rb
spree_frontend-2.2.6 config/initializers/rails_5868.rb
spree_frontend-2.3.3 config/initializers/rails_5868.rb