updated propensity to work with rails 4
Merge pull request #3 from nwwatson/master

updated propensity to work with rails 4