From Siberia with love

PostgreSQL UUID datatype support for ActiveRecord

Inspired by Dan McClain's post I made pull request with uuid datatype support for ActiveRecord's PostgreSQL adapter and it was merged (hooray!). So if you are on the edge, such migration

create_table :names do |t|
  t.uuid :uuid

will generate proper schema.rb instead of replacing it with

t.string "uuid", :limit => nil