Sha256: 9078fc74b06c5c04a20b020938401b27181292c600714783237666d28924a8ee
Contents?: true
Size: 690 Bytes
Versions: 17
Compression:
Stored size: 690 Bytes
Contents
# A collection of mixins that are useful when using models in operations. module RailsOps::ModelMixins extend ActiveSupport::Concern included do include ArExtension # Provides correct behaviour of model_name when extending AR objects. include ParentOp # Provides parent_op accessor. include VirtualAttributes # Provides virtual attributes functionality. include VirtualHasOne # Provides virtual_has_one. include VirtualModelName # Provides virtual_model_name. include StiFixes # Fixes using RailsOps models with STI. include Marshalling # Fixes marshalling of operation models end end
Version data entries
17 entries across 17 versions & 1 rubygems