Class: ROM::Changeset::Create

Inherits:
Stateful show all
Defined in:
lib/rom/changeset/create.rb

Overview

Changeset specialization for create commands

See Also:

Constant Summary

Constants inherited from Stateful

Stateful::EMPTY_PIPE

Instance Attribute Summary

Attributes inherited from Stateful

#__data__, #pipe

Attributes inherited from ROM::Changeset

#command_options, #command_plugins, #command_type, #relation

Instance Method Summary collapse

Methods inherited from Stateful

#associate, #command_compiler_options, #commit, #data, default_pipe, extend, #extend, inherited, #inspect, map, #map, pipes, #result, #to_a, #to_h

Methods inherited from ROM::Changeset

[], #command_compiler_options, command_options, command_plugins, command_type, #commit, #inspect, #new, relation, use

Methods included from Initializer

extended

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class ROM::Changeset::Stateful

Instance Method Details

#commandObject



13
14
15
# File 'lib/rom/changeset/create.rb', line 13

def command
  super.new(relation)
end