railsforcharity/spokenvote — pull request #266 by kimardenmiller (2013-09-18 16:28:22+00:00)
Title: Clearer improve all fixes

- Many user improvements taken from user feedback (see commit list)

- Set up XSRF protection via rails application_controller.rb

- Fixed Gemfile.lock where x86-mingw32 line was causing Heroku to completely ignore our Gemfile.lock and thus essentially was running a Bundle Update on all gems

- Updated many gems simply because Heroku had been running updated gems without our knowing for many months now, so we went ahead and came up to the levels that have been working there.

- Discovered that Heroku had also not been precompiling for many months and fixed that, which in turn required that we ...

- Moved FB App IDs to a JS Switch Statement because Heroku does not have access to environment variables during pre-compilation, and then

- Removed .erb from spokenvote.coffee, since getting access to environment variables and asset paths was the only reason we were using the .coffee.erb, which @wcamarao pointed out had " [ ... ] a terrible smell" :nose: