rename spec User method to distinguish from the attribute name
Update test suite's ActiveRecord dependency from 2.3 to 4.0