public
Created

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

I think theare are type, as : as:

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.