In the ActiveRecord model generation, updated the set_table_name and set_primary_key calls to use single quoted strings so that the Postgres dialect can use double quotes to quote column and table names.
Updated the column type mapping for Postgres to map the boolean data type to the boolean column type. It seems to be a better fit than bit… at least for Rails apps.