Added #recreate_database docs

This commit is contained in:
Sebastian Martinez
2011-05-03 21:25:38 -03:00
parent f049062497
commit fab9bb77bf

View File

@@ -517,6 +517,8 @@ module ActiveRecord
end.join("")
end
# Drops the database specified on the +name+ attribute
# and creates it again using the provided +options+.
def recreate_database(name, options = {}) #:nodoc:
drop_database(name)
create_database(name, options)