File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -487,7 +487,7 @@ def create(create_params)
487487 # @see .model
488488 # @see Adapters::ActiveRecord#update
489489 # @param [Hash] update_params The relevant attributes, including id and foreign keys
490- # @return [Object] an instance of the just-created model
490+ # @return [Object] an instance of the just-updated model
491491 def update ( update_params )
492492 adapter . update ( model , update_params )
493493 end
@@ -507,7 +507,7 @@ def update(update_params)
507507 # @see .model
508508 # @see Adapters::ActiveRecord#destroy
509509 # @param [String] id The +id+ of the relevant Model
510- # @return [Object] an instance of the just-created model
510+ # @return [Object] an instance of the just-destroyed model
511511 def destroy ( id )
512512 adapter . destroy ( model , id )
513513 end
You can’t perform that action at this time.
0 commit comments