module Cequel::Record::Scoped

All of the instance methods of {RecordSet} are also available as class methods on {Record} implementations.

@since 0.1.0

Public Instance Methods

assert_fully_specified!() click to toggle source

@private

# File lib/cequel/record/scoped.rb, line 54
def assert_fully_specified!
  self
end

Private Instance Methods

initialize_new_record(*) click to toggle source
Calls superclass method
# File lib/cequel/record/scoped.rb, line 60
def initialize_new_record(*)
  super
  @cequel_attributes.merge!(self.class.current_scope.scoped_key_attributes)
end