# How to enhance javascript UI in ruby gem

**URL:** <https://community.miniprofiler.com/t/how-to-enhance-javascript-ui-in-ruby-gem/414>\
**Category:** UI\
**Created:** [December 3, 2015, 12:07am UTC](https://community.miniprofiler.com/t/how-to-enhance-javascript-ui-in-ruby-gem/414 "2015-12-03T00:07:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kbrock](https://sea2.discourse-cdn.com/flex016/user_avatar/community.miniprofiler.com/kbrock/32/861_2.png) [@kbrock](https://community.miniprofiler.com/u/kbrock)\
**Post date:** [December 3, 2015, 12:07am UTC](https://community.miniprofiler.com/t/how-to-enhance-javascript-ui-in-ruby-gem/414/1 "2015-12-03T00:07:57Z")

</div>

Hello,

I edit `rack-mini-profiler/lib/html/include.tmpl` but the ui does not change in the browser.

Do I need to do something extra for google chrome besides clicking refresh?

I am successful at setting breakpoints in the ruby code using `byebug`.

Thanks for any pointers,  
Keenan

* * *

details

```auto
cd ~/src
git clone git@github.com:MiniProfiler/rack-mini-profiler.git

cd ~/src/project
echo 'gem "rack-mini-profiler", :path => "#{ENV["HOME"]}/src/rack-mini-profiler/"' >> Gemfile
gem uninstall rack-mini-profiler
bundle
open 'http://localhost:3000/'
bundle exec rails s
# vi ~/src/rack-mini-profiler/lib/html/includes.tmpl
# control-c
rails s
# refresh browser

```

the mini-profiler does not change.  
setting breakpoints using `byebug` do get triggered.

---

<div class="post-metadata">

**Author:** ![kbrock](https://sea2.discourse-cdn.com/flex016/user_avatar/community.miniprofiler.com/kbrock/32/861_2.png) [@kbrock](https://community.miniprofiler.com/u/kbrock)\
**Post date:** [December 7, 2015, 4:59pm UTC](https://community.miniprofiler.com/t/how-to-enhance-javascript-ui-in-ruby-gem/414/2 "2015-12-07T16:59:35Z")

</div>

Cool. Tracked down my answer:

After editing the entry in the gem, delete the cached template from the local machine.

the template for the page are cached in the local store:

1. Go into `web console > resources > local storage`
2. Delete the entries that read: `templates-<sha>`
