rake tmp:cache:clear rake assets:clean
add RAILS_ENV=production at the end in production environment.
C for Code