1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/test/schema
Ulisses Almeida + Kassio Borges 075c81feec Add foreign_type option for polymorphic has_one and has_many.
To be possible to use a custom column name to save/read the polymorphic
associated type in a has_many or has_one polymorphic association, now users
can use the option :foreign_type to inform in what column the associated object
type will be saved.
2014-12-08 18:13:15 -02:00
..
mysql2_specific_schema.rb fix detect column type of enum 2013-04-01 17:09:20 +09:00
mysql_specific_schema.rb fix detect column type of enum 2013-04-01 17:09:20 +09:00
oracle_specific_schema.rb tests, favor public API over inspecting columns where possible. 2014-12-01 16:57:48 +01:00
postgresql_specific_schema.rb pg tests, get rid of global schema schema_1. 2014-12-02 12:08:52 +01:00
schema.rb Add foreign_type option for polymorphic has_one and has_many. 2014-12-08 18:13:15 -02:00
sqlite_specific_schema.rb fk: use random digest names 2014-06-26 22:03:49 +02:00