mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 15:28:37 +08:00
bench fix and new arel patches for rails 4
This commit is contained in:
8
lib/freedom_patches/arel_patch.rb
Normal file
8
lib/freedom_patches/arel_patch.rb
Normal file
@ -0,0 +1,8 @@
|
||||
if rails4?
|
||||
# https://github.com/rails/arel/pull/206
|
||||
class Arel::Table
|
||||
def hash
|
||||
@name.hash
|
||||
end
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user