I Rails 4 kan du göra; create_table :global_feeds, id: false do |t| t.string :guid, primary_key: true ... end