RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: paulbeattie
Thanks for posting, very useful.
Although you shouldn't need the id => false in the create_table declaration. The example given from Matt Bauer from what I can see is using the id as the bigint column whereas here we have replaced it with tweet_id. I have tested this myself and I can confirm it works.
class CreateLatestTweets < ActiveRecord::Migration
create_table :latest_tweets do |t|
t.integer :tweet_id, :limit => 8