public
Created

Security Article Part 2 - 4

  • Download Gist
user.rb
Ruby
1 2 3 4
class User < ActiveRecord::Base
# Has attributes: [:username, :hashed_password, :is_admin]
attr_protected :is_admin
end

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.