Sha256: 0dfb2d07f392d80de11335f8ae2cc58e678121f8e78826038f2f7da8fe1883e6

Contents?: true

Size: 270 Bytes

Versions: 4

Compression:

Stored size: 270 Bytes

Contents

module Consul
  module ActiveRecord

    private

    def authorize_values_for(property, options = {})
      assignable_values_for property, options.merge(:through => lambda { ::Power.current })
    end

  end
end

ActiveRecord::Base.send(:extend, Consul::ActiveRecord)

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
consul-0.3.0 lib/consul/active_record.rb
consul-0.2.3 lib/consul/active_record.rb
consul-0.2.2 lib/consul/active_record.rb
consul-0.2.1 lib/consul/active_record.rb