lib/with_model/table.rb in with_model-2.1.3 vs lib/with_model/table.rb in with_model-2.1.4
- old
+ new
@@ -18,10 +18,10 @@
# Creates the table with the initialized options. Drops the table if
# it already exists.
def create
connection.drop_table(@name) if exists?
- connection.create_table(@name, @options, &@block)
+ connection.create_table(@name, **@options, &@block)
end
def destroy
connection.drop_table(@name)
end