Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

12 lines (9 sloc) 0.21 kb
ActiveRecord::Base.connection.create_table(:books, :force => true) do |t|
t.string :title
t.string :body
t.integer :user_id
end
class Book < ActiveRecord::Base
acts_as_cached
belongs_to :user
end
Jump to Line
Something went wrong with that request. Please try again.