Sometime you might find yourself wanting to customize the outputs from ActiveRecords errors. Here in an example of one way you could do just that:
Your doing migrations for a database and you must specify a column with a database specific type. You've checked all of the ActiveRecord migration options and none fit the bill.
An Example Situation
You must specify bigint or int2vector or polygon for a PostgreSQL database.
Here's what you can do to solve the problem of ActiveRecord migration limitations for column types: