Methods
- N
- S
- T
Class Public methods
name()
Link
Instance Public methods
setup()
Link
# File activerecord/test/cases/adapters/mysql2/schema_test.rb, line 10 def setup @connection = ActiveRecord::Base.connection db = Post.connection_pool.spec.config[:database] table = Post.table_name @db_name = db @omgpost = Class.new(ActiveRecord::Base) do self.table_name = "#{db}.#{table}" def self.name; 'Post'; end end end
test_primary_key()
Link
test_schema()
Link
test_table_exists?()
Link
test_table_exists_wrong_schema()
Link
test_tables_quoting()
Link