Remove monkey patches for rails 3 and ruby 2.4 (#14667)

Remove monkey patches for rails 3 and ruby 2.4
pull/14718/head
Mario de Frutos Dieguez 6 years ago committed by GitHub
parent 4906f4bba0
commit c1fe93dfa7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -19,6 +19,7 @@ Development
- Adapt current dashboard's request interceptor ([#14489](https://github.com/CartoDB/cartodb/issues/14489))
- Bulk actions in datasets and maps revised and fixed ([#14700](https://github.com/CartoDB/cartodb/pull/14700))
- Fix .carto not creating a map in old dashboard ([#14713](https://github.com/CartoDB/cartodb/pull/14713))
- Remove patches for Rails 3 and ruby 2.4 not longer needed [#14667](https://github.com/CartoDB/cartodb/pull/14667)
- Reorder Quick actions menu ([CartoDB/product#282](https://github.com/CartoDB/product/issues/282))
4.25.2 (2019-02-25)

@ -8,32 +8,3 @@ module SequelRails
@db ||= ::Sequel.synchronize { ::Sequel::DATABASES.first }
end
end
# Patches for Ruby 2.4
# TODO: remove .dup when we no longer support buggy ruby version 2.2.4p230
if Gem::Version.new(RUBY_VERSION.dup) >= Gem::Version.new("2.4")
# ActiveSupport dates, e.g: 3.days (fixed in Rails 5, and no sooner)
class ActiveSupport::Duration
def coerce(other)
[other, to_i]
end
end
# ActiveRecord 3.2. Fixed in Arel 7.1.0
require 'arel'
module Arel
module Visitors
class Dot
alias :visit_Integer :visit_String
end
class ToSql
alias :visit_Integer :literal
end
class DepthFirst
alias :visit_Integer :terminal
end
end
end
end

Loading…
Cancel
Save