I think I may be able to get to the point a bit better with 2 more
Am I correct in thinking that attr_accessor always returns or sets an
Another reason I’m confused, is that, when I set an attr_accessor :foo
in my model and then drop into script/console and call .methods on
that model instance, I never see “foo” or “foo=” in the methods list
when I run a search for them. Conversely when setting either
cattr_accessor :foo or mattr_accessor :foo shows the the two new
“foo” and “foo=” methods in the model’s method list as expected.
What am I missing here?
Thanks, Elliott G