mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-04 21:01:27 -05:00
11 lines
155 B
Ruby
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
|