The SQLite adapter works with both the 2.x and 3.x series of SQLite with the sqlite-ruby drivers (available both as gems and from rubyforge.org/projects/sqlite-ruby/).

Options:

  • :database — Path to the database file.
Methods
Public Instance methods
rename_table(name, new_name)
     # File vendor/rails/activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb, line 221
221:       def rename_table(name, new_name)
222:         move_table(name, new_name)
223:       end