mirror of
https://github.com/discourse/discourse.git
synced 2025-05-21 18:12:32 +08:00
This patch probably belongs in AR discussing with rails team
This commit is contained in:
@ -1,5 +1,15 @@
|
||||
# perf fixes, review for each rails upgrade.
|
||||
|
||||
# we call this a lot
|
||||
class ActiveRecord::Base
|
||||
def present?
|
||||
true
|
||||
end
|
||||
def blank?
|
||||
false
|
||||
end
|
||||
end
|
||||
|
||||
class ActionView::Helpers::AssetTagHelper::AssetIncludeTag
|
||||
private
|
||||
|
||||
|
Reference in New Issue
Block a user