Possible Duplicate:
Understanding Symbols In Ruby
What is the colon operator in Ruby?
This is some code the Rails tutorial I'm reading gives me.
class Post < ActiveRecord::Base
attr_accessible :content, :name, :title
validates :name, :presence => true
validates :title, :presence => true,
:length => { :minimum => 5 }
end
What do the :content, :name, and :title mean? I vaguely remember these from the ruby tutorial I was reading (hlrb), but I can't find them when I'm skimming through it. What do these words prefixed by a colon mean?