Feature/rails4 fix specs

Fixes all spec failures when running ```rspec spec/models```
`end` at 41, 24 is not aligned with `-> {` at 36, 25 or `has_many :memberships, -> {` at 36, 2