discourse/lib/freedom_patches/performance_fixes.rb
2015-04-24 14:37:16 -04:00

11 lines
155 B
Ruby

# perf fixes, review for each rails upgrade.
# we call this a lot
class ActiveRecord::Base
def present?
true
end
def blank?
false
end
end