ruby on rails - javascript overriding not working in production -
in app want override js file available in gem . problem m able override in development , working also
but in production calling js file gem not app app
if (city!='' && state!='') { $('#location').val(city+', '+state).removeclass('defaulttextactive'); }
gem
if (city!='' && state!=''&& pin!='') { $('#location').val(city+', '+state+','+pin).removeclass('defaulttextactive'); }
try out
clear precompiled assets, , regenerate them following rake tasks.
rake assets:clean rake assets:precompile rails_env=production
Comments
Post a Comment