johngrimes/t-minus — pull request #7 by jessejack (2012-06-11 22:31:06+00:00)
Title: Updates for Rails 3.2.3 and CreateSend 1.0.3

In Rails 3.2.3, the ActiveRecord whitelist_attributes is true. Rather than turning this off and losing the added security, I updated the prelaunch_subscriber model so that the email attribute can be mass assigned. Without this update, you will receive a mass assignment exception. Secondly, the old version of the CreateSend gem (~0.2) emits a MultiJSON parse error; upgrading to a version of CreateSend of at least 1.0.0 fixes this issue.

This is my first pull request so apologies if I've done it all wrong! I could not get the tests to run on my environment so I was not able to update them. Please let me know if there's things I could have done better for future reference. Thanks for all your work on this gem, it's made our lives a lot easier!