Add tag_id validation using table constraints instead of ActiveRecord's validation
Revert app/assets/javascripts/application.js since Rails config has been fixed