Refactor accessors.rb
Merge pull request #38 from pjc/dup

Remove duplication in LearnRails::Accessors