rafaelfranca on master
Prevent TextHelper#word_wrap fr… Merge pull request #34488 from … (compare)
rafaelfranca on master
Indent guides as rails help com… Homogenize rails help output I… Merge pull request #34085 from … (compare)
rafaelfranca on 5-2-stable
Merge pull request #34106 from … (compare)
irb(main):122:0> Search.web_search('heather').includes(:searchable).joins(:searchable)
Traceback (most recent call last):
ActiveRecord::EagerLoadPolymorphicError (Cannot eagerly load the polymorphic association :searchable)
Array#include?
and ActiveRecord#include
instead of Array#includes?
and ActiveRecord#include
...)
Search.web_search('heather').joins(:searchable).includes(:searchable)
Traceback (most recent call last):
ActiveRecord::EagerLoadPolymorphicError (Cannot eagerly load the polymorphic association :searchable)
config.cache_store = :file_store
in development.rb
nothing is added to tmp/cache folder
Development mode is now being cached.
= render @categories, cached: true
in a view
= render 'shared/head_tags', cached: true
in application.html.slim