public
Created

Security Article Part 2 - 7

  • Download Gist
User.rb
Ruby
1 2 3 4 5
class User < ActiveRecord::Base
# Has attributes: [:username, :hashed_password, :is_admin]
attr_accessible :username
attr_accessible :username, :is_admin, :as => :internal
end

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.