I'm trying to use the active_attr gem to create models backed by a NoSQL database that doesn't seem to have any other ORMs or mappers that fit our needs.
In the documentation (https://github.com/cgriego/active_attr), it shows examples defining attribtues with just attribute
and sometimes using attr_accessor
. I'm not quite sure I see the difference. Can someone explain when I should use one over the other?