public
Created

  • Download Gist
gistfile1.rb
Ruby
1 2 3 4 5
class Book < ActiveRecord::Base
attr_accessible :name, :author, :public as : :admin
attr_accessible :name, :author as : :user
attr_accessible :name, as : :reporting_user
end

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.