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)
487
487
# @see .model
488
488
# @see Adapters::ActiveRecord#update
489
489
# @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
491
491
def update ( update_params )
492
492
adapter . update ( model , update_params )
493
493
end
@@ -507,7 +507,7 @@ def update(update_params)
507
507
# @see .model
508
508
# @see Adapters::ActiveRecord#destroy
509
509
# @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
511
511
def destroy ( id )
512
512
adapter . destroy ( model , id )
513
513
end
You can’t perform that action at this time.
0 commit comments