Comment attr_accessible for project

This commit is contained in:
konstantin.grabar 2011-10-28 16:25:14 +04:00
parent 0718778b3f
commit dba428de2c
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ class Project < ActiveRecord::Base
validates :owner, :presence => true
validate {errors.add(:base, I18n.t('flash.project.save_warning_ssh_key')) if owner.ssh_key.blank?}
attr_accessible :category_id, :name, :unixname, :description, :visibility
#attr_accessible :category_id, :name, :unixname, :description, :visibility
attr_readonly :unixname
scope :recent, order("name ASC")