diff options
author | Guillermo Iguaran <guilleiguaran@gmail.com> | 2011-05-14 14:15:53 -0500 |
---|---|---|
committer | Guillermo Iguaran <guilleiguaran@gmail.com> | 2011-05-15 03:53:10 -0500 |
commit | ecbde46e572192596df8cad81515f958070c8902 (patch) | |
tree | 76a14193974f188f4944382987980eb09e1f0c4c /activerecord/test/schema | |
parent | e7e1d83ddfceeddd890ecd251bf81e18d3b553cb (diff) | |
download | rails-ecbde46e572192596df8cad81515f958070c8902.tar.gz rails-ecbde46e572192596df8cad81515f958070c8902.tar.bz2 rails-ecbde46e572192596df8cad81515f958070c8902.zip |
Fixing has_many association when ActiveRecord::Base.pluralize_table_names is false. fixes #557
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 c8a98f121d..cb7672cf74 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 |