mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-16 23:30:12 +01:00
Remove arel monkey patch
This commit is contained in:
parent
445a390489
commit
d87e71df24
1 changed files with 0 additions and 15 deletions
|
|
@ -1,15 +0,0 @@
|
|||
# From https://github.com/rails/arel/issues/149
|
||||
# Also fixes https://github.com/rails/rails/issues/9263
|
||||
|
||||
module Arel
|
||||
module Nodes
|
||||
class SqlLiteral < String
|
||||
def encode_with(coder)
|
||||
coder['string'] = to_s
|
||||
end
|
||||
def init_with(coder)
|
||||
clear << coder['string']
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue