after assets compiled locally bootstrap drop-down list does not work, no errors seen

As advised at Heroku (Rails Asset Pipeline on Heroku | Heroku Dev Center), I modified the config settings in application.rb file:

config.assets.initialize_on_precompile=false

then compiled assets locally:

RAILS_ENV=production bundle exec rake assets:precompile

then pushed it to the git:

git add public/assets
git commit -m "vendor compiled assets"

The application was deplyed without problems and works fine at Heroku.

The problem is that it does not work properly in development (locally). For example, the bootstrap drop-dwpn list for user settings does not work any more, no errors in the browser console. Other features seem to work as needed. Any idea ?

Thank you.

Caching.

The application was deplyed without problems and works fine at Heroku.

The problem is that it does not work properly in development (locally). For example, the bootstrap drop-dwpn list for user settings does not work any more, no errors in the browser console. Other features seem to work as needed. Any idea ?

Caching.

Thank you Jordon for the reply. I just removed the assets folder created inside ‘public’, removed all the cookies and cache data from the browser and reworked. Is there another solution to avoid to delete the assets folder after compilation?

Regards

config.serve_static_assets = false in your development.rb

The application was deplyed without problems and works fine at Heroku.

The problem is that it does not work properly in development (locally). For example, the bootstrap drop-dwpn list for user settings does not work any more, no errors in the browser console. Other features seem to work as needed. Any idea ?

Caching.

Thank you Jordon for the reply. I just removed the assets folder created inside ‘public’, removed all the cookies and cache data from the browser and reworked. Is there another solution to avoid to delete the assets folder after compilation?

config.serve_static_assets = false in your development.rb

Awesome! It works great. Thanks a lot!

Cheers