aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/schema/schema.rb
Commit message (Expand)AuthorAgeFilesLines
* Using existing models for building multiple has_one through testsRyuta Kamizono2018-04-221-14/+2
* Fix .new with multiple through associationsSam DeCesare2018-04-091-0/+13
* Merge pull request #30956 from CJStadler/with-lock-changed-deprecationRafael França2018-03-281-0/+4
* Add custom prefix to ActiveRecord::Store accessorsTan Huynh2018-03-231-0/+2
* Fix multiline expression indexes for postgresql (#31621)fatkodima2018-03-161-1/+1
* Fix occurrences Fixnum|Bignumbogdanvlviv2018-03-041-1/+1
* Make `reflection.klass` raise if `polymorphic?` not to be misusedRyuta Kamizono2018-02-191-0/+2
* Don't update counter cache when through record was not destroyedEugene Kenny2018-01-141-0/+2
* Fix conflicts `counter_cache` with `touch: true` by optimistic locking.bogdanvlviv2017-12-121-1/+2
* Refactor `length`, `order`, and `opclass` index options dumpingRyuta Kamizono2017-12-031-0/+2
* Ensure `apply_join_dependency` for `collection_cache_key` if eager-loading is...Ryuta Kamizono2017-11-061-0/+1
* Fix CI failure due to reference type mismatchRyuta Kamizono2017-08-141-10/+9
* Specify `table.name` only when `scope.table` and `table` are different (#29058)Ryuta Kamizono2017-08-111-0/+1
* Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-191-0/+2
* Fix unscoping `default_scope` in STI associationsRyuta Kamizono2017-07-191-0/+1
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
* Fix `ids_reader` to respect case sensitive primary keyRyuta Kamizono2017-06-281-1/+1
* Ensure that using correct alias trackerRyuta Kamizono2017-06-251-1/+1
* Fix ActiveRecord::Persistence#touch with lockingbogdanvlviv2017-06-211-0/+2
* Use nullable `id` column instead of a primary keyRyuta Kamizono2017-06-161-1/+2
* Avoid overwriting the methods of `AttributeMethods::PrimaryKey`Ryuta Kamizono2017-06-071-6/+8
* Don't attempt to create a new record that was already created.Isaac Betesh2017-04-201-0/+7
* Omit redundant `using: :btree` for schema dumpingRyuta Kamizono2017-02-131-1/+1
* Fix inspection behavior when the :id column is not primary keynamusyaka2017-02-091-0/+4
* `primary_key` and `references` columns should be identical typeRyuta Kamizono2017-02-071-6/+6
* Chain scope constraints should respect own table aliasRyuta Kamizono2017-02-011-0/+9
* Should work foreign key in test schema without `if supports_foreign_keys?` st...Ryuta Kamizono2017-01-171-7/+5
* Should not update children when the parent creation with no reasonRyuta Kamizono2016-12-291-0/+1
* fix #create_fixtures when equal table names in different databasesJulia Lopez2016-12-211-0/+2
* Make pg adapter use bigserial for pk by defaultPavel Pravosud2016-12-051-0/+3
* Change MySQL and Postgresql to use Bigint primary keysJon McCartie2016-12-051-3/+3
* Remove a confusing commentyui-knk2016-10-311-1/+0
* Fix the order of `create_table` to match a comment about `:inverse_of` optionsyui-knk2016-10-311-4/+4
* Fixed: Optimistic locking does not work well with null in the databasebogdanvlviv2016-10-211-0/+2
* Dump index options to pretty formatRyuta Kamizono2016-10-101-1/+1
* Add tests for ActiveRecord::Enum#enum when suffix specifiedYosuke Kabuto2016-09-121-0/+1
* Add three new rubocop rulesRafael Mendonça França2016-08-161-1/+1
* applies new string literal convention in activerecord/testXavier Noria2016-08-061-12/+12
* Correctly return `associated_table` when `associated_with?` is trueRyuta Kamizono2016-07-101-0/+5
* Extract foreign key action from `information_schema`Ryuta Kamizono2016-06-071-7/+8
* Add Expression Indexes and Operator Classes support for PostgreSQLRyuta Kamizono2016-04-241-0/+1
* Fix undefined method `owners' for NullPreloader:ClassLadislav Smola2016-04-061-0/+6
* Remove `except` helper for test schemaRyuta Kamizono2016-03-301-7/+1
* Execute default_scope defined by abstract class within the scope of subclassMehmet Emin İNAÇ2016-03-081-0/+5
* eliminate warnings about multiple primary keys on habtm join tablesAaron Patterson2016-02-191-1/+1
* Use `t.index` in `create_table` instead of `add_index` in test schemaRyuta Kamizono2016-01-311-6/+5
* Add missing source_type if provided on hmt which belongs to an sti recordVipul A M2016-01-241-0/+2
* Use the database type to deserialize enumSean Griffin2016-01-231-0/+1
* Revert "Merge pull request #20835 from glittershark/if-and-unless-in-secure-t...Kasper Timm Hansen2016-01-141-1/+0