In Rails 4 puoi fare; create_table :global_feeds, id: false do |t| t.string :guid, primary_key: true ... end