disable session mismatch test for now
use ActiveRecord quoting for table, column names
fix typo in variable assignment
Merge pull request #31 from allourideas/sql-quoting

Use ActiveRecord quoting for table and column names.
handle old_visitor_identifier parameter in answers

When either a vote or skip gets passed an old_visitor_identifier parameter,
we want to ensure it matches the original appearance and then create a clone
of the original appearance. The cloned appearance gets the new voter_id
information. The end result is the old session with the original appearance
will have a "Stopped_Voting" and the new session will have a vote + appearance.

[#66601646]
fix Ruby 1.8.7 tests

[#66601646]
add config. prefix to deploy scripts

should remove EY deprecated warnings on deploy
add comment to clone_expired_appearance
test against ruby 2.0.0 and 2.1.1
Revert "test against ruby 2.0.0 and 2.1.1"

This reverts commit 967a49548d00d4f5d00445705de1e934b7daac27.
Merge branch 'handle-old-session-id'
Merge branch 'master' of github.com:allourideas/pairwise-api
add cron tests to check for session mismatches

Two separate tests, one for votes and the other for skips. We only check
votes / skips that occurred after March 18, 2014 because we deployed a fix for
session mismatches on that date.

[#67579206]
update date for checking mismatches

instead of date that we did deploy to fix, check first full day after deploy.
fix prompt cache hit rate check
fix whitespace in QuestionsController
remove redis requirement for CSV generation

Previously, pairwise would save its intermediate CSV to redis at a specified
key, and AOI download that CSV from redis. This required that the redis
instance be shared between pairwise and AOI.

Now when a CSV is requested from pairwise, it'll save it to its database under
the specified key. AOI should then download the CSV from /exports/#{key}.

[#39385987]
add String#force_encoding for Ruby 1.8
Revert "add String#force_encoding for Ruby 1.8"

This reverts commit 7c4890d1ae94ea39229bed615b30d4313ebf8e01.
conditionally force_encoding if available