lib/juscribe/personhood.rb in personhood-0.1.2 vs lib/juscribe/personhood.rb in personhood-0.2.0
- old
+ new
@@ -13,11 +13,11 @@
with_options length: { maximum: 255 } do |x|
x.validates :last_name, :first_name, presence: true
x.validates :middle_name
end
- attr_accessible :last_name, :first_name, :middle_name, :name, :birthdate, :sex
- attr_accessible :last_name, :first_name, :middle_name, :name, :birthdate, :sex, :email, :username, as: :admin
+ # attr_accessible :last_name, :first_name, :middle_name, :name, :birthdate, :sex
+ # attr_accessible :last_name, :first_name, :middle_name, :name, :birthdate, :sex, :email, :username, as: :admin
end
# ----------------------------------------
# :section: Basic Info
# ----------------------------------------