Sha256: 05f575878357d75d39a1ba6fca9d1db1bc5bd493cf2d9c35dcd56c3a325a83ac

Contents?: true

Size: 221 Bytes

Versions: 4

Compression:

Stored size: 221 Bytes

Contents

# Could use the AR serializer feature, to save the embedded roles as YAML
module Troles::ActiveRecord::Storage
  class StringMany < Troles::Storage::StringMany
    def initialize role_subject
      super
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
troles-0.6.0 lib/troles/adapters/active_record/storage/embed_many.rb
troles-0.5.2 lib/troles/adapters/active_record/storage/embed_many.rb
troles-0.5.1 lib/troles/adapters/active_record/storage/embed_many.rb
troles-0.5.0 lib/troles/adapters/active_record/storage/embed_many.rb