test for regression from a712e08ebe21f6d8653a0e6602df2e0f5d40d9ca
reverted back our changes and added in the new define_method
checking in the abstractions for valid type checking:
Merge pull request #9206 from ranjaykrishna/use_define_method

Use define method instead of class_eval
Merge pull request #9204 from ranjaykrishna/col-prob

schema dumper tests now conducted by ActiveRecord::Base.Connection
Avoid to_sym calls