Sha256: cbb2815caecb211eb9403e6d36fc00462b3d7014189d69c6d78c8bd803f737ee
Contents?: true
Size: 414 Bytes
Versions: 5
Compression:
Stored size: 414 Bytes
Contents
# frozen_string_literal: true require "active_record" module Permisi module Backend module ActiveRecord class << self def table_name_prefix "permisi_" end def findsert_actor(aka) Actor.find_or_create_by(aka: aka) end def actors Actor.all end def roles Role.all end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems