mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 01:16:38 -06:00
12 lines
155 B
Ruby
12 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
|