From: "sadys.humblebee@..." Date: 2005-12-25T13:07:51+09:00 Subject: Where is the attribute definition of Category class? Hi everyone, I'm a newbie of ruby and rubyonrails. I'm trying <> those days, and I found some code generated by rails (precisely ActiveRecord) hard to understand, as follows: class Category < ActiveRecord::Base validates_length_of :category, :within => 1..20 validates_uniqueness_of :category, :message => "already exists" end I know this code define a class according to the Catetory table in db, but I cannot find the code defining attributes corresponing to the fields in Category table. Can anybody help me? Thanks in advance and merry christmas