diff options
author | Jon Leighton <j@jonathanleighton.com> | 2011-05-16 15:40:12 -0700 |
---|---|---|
committer | Jon Leighton <j@jonathanleighton.com> | 2011-05-16 15:40:12 -0700 |
commit | 2033ff825b6eb33db5e4bb73de04f6e2f7114f93 (patch) | |
tree | a46096a2760989953fac9d4ca09fd1d3a3f7cd8c /activerecord/test/schema | |
parent | bf5e4b4c1f7f44e6f475c6bc7db91879ccd12448 (diff) | |
parent | ecbde46e572192596df8cad81515f958070c8902 (diff) | |
download | rails-2033ff825b6eb33db5e4bb73de04f6e2f7114f93.tar.gz rails-2033ff825b6eb33db5e4bb73de04f6e2f7114f93.tar.bz2 rails-2033ff825b6eb33db5e4bb73de04f6e2f7114f93.zip |
Merge pull request #560 from guilleiguaran/fix_pluralize_table_names_false
Fixing has_many when ActiveRecord::Base.pluralize_table_names is false
Diffstat (limited to 'activerecord/test/schema')
-rw-r--r-- | activerecord/test/schema/schema.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/activerecord/test/schema/schema.rb b/activerecord/test/schema/schema.rb index d56cdd57b2..4fe311b441 100644 --- a/activerecord/test/schema/schema.rb +++ b/activerecord/test/schema/schema.rb @@ -40,6 +40,10 @@ ActiveRecord::Schema.define do t.references :account end + create_table :aircraft, :force => true do |t| + t.string :name + end + create_table :audit_logs, :force => true do |t| t.column :message, :string, :null=>false t.column :developer_id, :integer, :null=>false |