2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-06 10:50:21 +08:00
discourse/lib/freedom_patches/performance_fixes.rb

11 lines
154 B
Ruby
Raw Normal View History

# perf fixes, review for each rails upgrade.
# we call this a lot
class ActiveRecord::Base
def present?
true
end
def blank?
false
end
2014-02-17 17:44:28 +01:00
end