Attr_accessor help understanding

i’m having trouble understanding the attr_accessor and attr_accessible
syntax in models. I’m workink through the Agile book and even a look at
the ruby doc does not really help to clarify.

Thanks aftershock

Could you give an example that gives you trouble, or a page number?

anne g wrote:

Could you give an example that gives you trouble, or a page number?

It was just a general question but I was working on page 128 of the
Agile book.

http://railsmanual.org/class/ActiveRecord::Base/attr_accessible

attr_accessible is not something I am familiar with

http://www.phylomortis.com/resource/script/syntax/syn-aa.html
this seems to be regular ruby stuff, being able to access an object
variable from outside the object definition