Displaying 1 result from an estimated 1 matches for "rated_by".
Did you mean:
created_by
2006 Mar 07
0
Making AR attriibutes private
Hi,
Can anyone tell me the syntax to make AR attributes private so that they
can only be set through an object''s constructor?
I want do something like this, where item_id and rated_by are private
and set only through the constructor:
# Schema as of Mon Mar 06 21:22:59 BRT 2006 (schema version 15)
#
# id :integer(11) not null
# item_id :integer(11) default(0), not null
# rated_by :integer(11) default(0), not null
# created_on...