Make sure we dont define the attrs more than once.
Add regression tests
Merge pull request #8 from arthurnn/perf_regression_40

Fix performance issue with Rails 4
release 0.4.1
Fix typo on return value