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.10 config/initializers/rails_5868.rb
spree_frontend-2.3.13 config/initializers/rails_5868.rb
spree_frontend-2.2.14 config/initializers/rails_5868.rb
spree_frontend-2.4.9 config/initializers/rails_5868.rb
spree_frontend-2.3.12 config/initializers/rails_5868.rb
spree_frontend-2.2.13 config/initializers/rails_5868.rb
spree_frontend-2.4.8 config/initializers/rails_5868.rb
spree_frontend-2.3.11 config/initializers/rails_5868.rb
spree_frontend-2.2.12 config/initializers/rails_5868.rb
solidus_frontend-1.0.0.pre config/initializers/rails_5868.rb
spree_frontend-2.4.7 config/initializers/rails_5868.rb
spree_frontend-2.3.10 config/initializers/rails_5868.rb
spree_frontend-2.4.6 config/initializers/rails_5868.rb
spree_frontend-2.3.9 config/initializers/rails_5868.rb
spree_frontend-2.2.11 config/initializers/rails_5868.rb
spree_frontend-2.2.10 config/initializers/rails_5868.rb
spree_frontend-2.3.8 config/initializers/rails_5868.rb
spree_frontend-2.4.5 config/initializers/rails_5868.rb
spree_frontend-2.4.4 config/initializers/rails_5868.rb
spree_frontend-2.3.7 config/initializers/rails_5868.rb