Method: ROM::Changeset#new
- Defined in:
- changeset/lib/rom/changeset.rb
#new(relation, **new_options) ⇒ Changeset
Return a new changeset with provided relation
New options can be provided too
129 130 131 |
# File 'changeset/lib/rom/changeset.rb', line 129 def new(relation, **) self.class.new(relation, **, **) end |