method
catch_schema_changes
catch_schema_changes()
protected
Hide source
# File activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb, line 417 def catch_schema_changes return yield rescue ActiveRecord::StatementInvalid => exception if exception.message =~ /database schema has changed/ reconnect! retry else raise end end