Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make test suite work with Rails 2.3.0
- Loading branch information
Luca Guidi
committed
Feb 16, 2009
1 parent
d6281f4
commit 939ad71
Showing
9 changed files
with
104 additions
and
116 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
cached-models-*.gem | ||
cached-models-*.tar.gz | ||
cached-models-*.tar.bz2 | ||
test/*.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
test/active_record/associations/has_and_belongs_to_many_association_test.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
ActiveRecord::Schema.define do | ||
create_table :addresses, :force => true do |t| | ||
t.integer :author_id | ||
t.string :street | ||
t.string :zip | ||
t.string :city | ||
t.string :state | ||
t.string :country | ||
|
||
t.timestamps | ||
end | ||
|
||
create_table :authors, :force => true do |t| | ||
t.integer :blog_id | ||
t.string :first_name | ||
t.string :last_name | ||
t.integer :age | ||
|
||
t.timestamps | ||
end | ||
|
||
create_table :blogs, :force => true do |t| | ||
t.string :title | ||
|
||
t.timestamps | ||
end | ||
|
||
create_table :posts, :force => true do |t| | ||
t.integer :author_id | ||
t.integer :blog_id | ||
t.string :title | ||
t.text :text | ||
t.datetime :published_at | ||
t.integer :rating, :default => 0 | ||
|
||
t.timestamps | ||
end | ||
|
||
create_table :categories, :force => true do |t| | ||
t.string :name | ||
|
||
t.timestamps | ||
end | ||
|
||
create_table :categories_posts, :force => true, :id => false do |t| | ||
t.integer :category_id | ||
t.integer :post_id | ||
end | ||
|
||
create_table :comments, :force => true do |t| | ||
t.integer :post_id | ||
t.string :email | ||
t.text :text | ||
|
||
t.timestamps | ||
end | ||
|
||
create_table :tags, :force => true do |t| | ||
t.integer :taggable_id | ||
t.string :taggable_type | ||
t.string :name | ||
|
||
t.timestamps | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters