Skip to content

Commit

Permalink
add some models
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesgolick committed Dec 9, 2008
1 parent ba7d9fc commit c680381
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,17 @@
create_table :posts do |t|
t.string :title, :default => ''
end

create_table :tags do |t|
t.string :name, :default => ''
end

create_table :taggings do |t|
t.integer :tag_id

t.string :taggable_type, :default => ''
t.integer :taggable_id
end
end

class Post < ActiveRecord::Base
Expand Down

0 comments on commit c680381

Please sign in to comment.