Skip to content

Commit

Permalink
Removes warn so that it does not log on every save
Browse files Browse the repository at this point in the history
  • Loading branch information
imaximix committed Apr 28, 2023
1 parent ef81000 commit a3ed767
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/dynamoid/persistence.rb
Original file line number Diff line number Diff line change
Expand Up @@ -509,8 +509,6 @@ def persisted?
def save(options = {})
if Dynamoid.config.create_table_on_save
self.class.create_table(sync: true)
else
Dynamoid.logger.warn "Table #{self.class.table_name} is not created as create_table_enabled is disabled"
end

create_or_update = new_record? ? :create : :update
Expand Down

0 comments on commit a3ed767

Please sign in to comment.