Sha256: a081a7843c7963fef36e5fb8913a678ae2ed83ea3c098a2f6e196956d3b38065
Contents?: true
Size: 247 Bytes
Versions: 6
Compression:
Stored size: 247 Bytes
Contents
class DummyTable < TableCloth::Base column :id, if: :admin? column :name column :email def admin? view.admin? end end class DummyTableUnlessAdmin < TableCloth::Base column :id, unless: :admin? column :name column :email end
Version data entries
6 entries across 6 versions & 1 rubygems