belongs_to :system_picture
validates :name, :presence => true, :uniqueness => true, :length => {:maximum => 50}
- validates :classname, :presence => true, :length => {:maximum => 50}
+ validates :module_name, :presence => true, :length => {:maximum => 50}
validates :caption, :presence => true, :length => {:maximum => 30}
validates :t, :presence => true, :numericality => {:greater_than_or_equal_to => 0}
validates :system_picture_id, :presence => true, :numericality => true, :existence => {:both => false}