Profiling Ruby with ruby-prof

Posted Over 11 years ago by Nasir Jamal.

require 'ruby-prof' # you don't need this if you have ruby-prof in your Gemfile You can set one...

Caching: don't use content_for, it won't work

Posted Over 11 years ago by Dragos Miron.

Do not use content_for inside a cached view fragment. It won't work because Memcache will just output whatever...