aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
Commit message (Expand)AuthorAgeFilesLines
* Fix where_clause#except with specific where valueJohn Hawthorn2017-03-201-0/+8
* Merge pull request #28474 from kamipo/fix_extension_with_darty_targetKasper Timm Hansen2017-03-202-0/+9
|\
| * Fix extension method with dirty target in has_many associationsRyuta Kamizono2017-03-202-0/+9
* | Merge pull request #28473 from kamipo/delegate_uniq_to_recordsRafael França2017-03-203-19/+19
|\ \
| * | Use `load` rather than `collect` for force loadingRyuta Kamizono2017-03-193-19/+19
| |/
* | Merge pull request #27939 from kamipo/fix_select_all_with_legacy_bindsRafael França2017-03-201-0/+9
|\ \ | |/ |/|
| * Fix `select_all` with legacy `binds`Ryuta Kamizono2017-02-121-0/+9
* | Merge pull request #28191 from eugeneius/string_assoc_orderRafael França2017-03-171-1/+24
|\ \
| * | Allow order to be given expressions as hash keysEugene Kenny2017-02-271-1/+24
* | | Merge pull request #28154 from aripollak/remove-comments-from-structure-sqlRafael Mendonça França2017-03-171-3/+16
|\ \ \
| * | | Only remove comments before the first statementAri Pollak2017-02-241-3/+3
| * | | Drop comments from structure.sql in postgresqlAri Pollak2017-02-241-3/+16
* | | | Merge pull request #28318 from bogdanvlviv/remove-ability-update-locking_colu...Rafael França2017-03-172-35/+2
|\ \ \ \
| * | | | Remove ability update locking_column valuebogdanvlviv2017-03-162-35/+2
* | | | | Add :default option to belongs_to (#28453)George Claghorn2017-03-171-0/+20
|/ / / /
* | | | Fix fragile test (`AssociationProxyTest#test_save_on_parent_saves_children`)Fumiaki MATSUSHIMA2017-03-161-36/+34
* | | | Merge pull request #28068 from kamipo/refactor_data_sourcesRafael França2017-03-131-4/+2
|\ \ \ \
| * | | | Extract `data_source_sql` to refactor data source statementsRyuta Kamizono2017-02-201-4/+2
* | | | | Simply delegate `as_json` to `records`Ryuta Kamizono2017-03-101-1/+1
* | | | | Merge pull request #28351 from kamipo/deprecate_schema_migrations_table_nameRafael Mendonça França2017-03-091-0/+4
|\ \ \ \ \
| * | | | | Deprecate `Migrator.schema_migrations_table_name`Ryuta Kamizono2017-03-091-0/+4
* | | | | | Fix select with block doesn't return newly built records in has_many associationRyuta Kamizono2017-03-091-0/+6
|/ / / / /
* | | | | Fix `deserialize` with JSON arrayRyuta Kamizono2017-03-061-0/+10
* | | | | Remove useless `Migrator.schema_migrations_table_name`Ryuta Kamizono2017-03-051-5/+5
* | | | | Merge branch 'master' of github.com:rails/docrailsVijay Dev2017-03-041-1/+1
|\ \ \ \ \
| * | | | | Remove duplicated "does" [ci skip]Ryuta Kamizono2017-02-141-1/+1
* | | | | | Fix `rake db:schema:load` with subdirectoriesRyuta Kamizono2017-03-051-0/+17
* | | | | | Fix `rake db:migrate:status` with subdirectoriesRyuta Kamizono2017-03-041-0/+44
* | | | | | Don't share `options` with a reference type columnRyuta Kamizono2017-03-041-0/+7
* | | | | | Merge pull request #28242 from rails/add-fractional-support-to-datetime-changeAndrew White2017-03-021-1/+1
|\ \ \ \ \ \
| * | | | | | Update `DateTime#change` to support usec and nsecAndrew White2017-03-021-1/+1
* | | | | | | Merge pull request #28220 from kamipo/valid_type_accept_only_supported_typesRafael França2017-03-014-38/+10
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | |
| * | | | | | `valid_type?` should accept only supported typesRyuta Kamizono2017-02-284-38/+10
* | | | | | | Whitelist adapters that support aliases in `HAVING` clauseAndrew White2017-03-011-1/+1
* | | | | | | Merge pull request #25296 from kamipo/use_inspect_for_type_cast_for_schemaRafael França2017-02-281-7/+8
|\ \ \ \ \ \ \
| * | | | | | | Use `inspect` in `type_cast_for_schema` for date/time and decimal valuesRyuta Kamizono2016-12-111-7/+8
* | | | | | | | Merge pull request #28210 from cefigueiredo/improve_required_testRafael França2017-02-281-7/+35
|\ \ \ \ \ \ \ \
| * | | | | | | | Ensure that tests will reset belongs_to_requierd_by_default configCarlos Figueiredo2017-02-271-23/+27
| * | | | | | | | Make required by default test for belongs_to association clearerCarlos Figueiredo2017-02-271-1/+25
* | | | | | | | | Merge pull request #28217 from kamipo/create_join_table_respects_reference_ke...Rafael França2017-02-281-1/+12
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | `create_join_table` should respect `references` column typeRyuta Kamizono2017-02-281-1/+12
| | |_|/ / / / / / | |/| | | | | | |
* | | | | | | | | Merge pull request #28063 from Erol/prioritize-callback-on-action-before-ifRafael França2017-02-281-0/+40
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Prioritize checking `:on` actions before `:if` for transaction callbacksErol Fornoles2017-02-211-0/+40
* | | | | | | | | | Revert "Dupping a CollectionProxy should dup the load_target"eileencodes2017-02-281-8/+0
* | | | | | | | | | Dupping a CollectionProxy should dup the load_targeteileencodes2017-02-281-0/+8
* | | | | | | | | | Oracle database also does not allow aliases in the having clauseYasuo Honda2017-02-271-1/+1
| |/ / / / / / / / |/| | | | | | | |
* | | | | | | | | Merge pull request #28199 from kirs/ar-test-connectionMatthew Draper2017-02-281-1/+4
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Handle non-existing $ARCONNKir Shatrov2017-02-271-1/+4
* | | | | | | | | | Merge pull request #28188 from kamipo/use_max_identifier_length_for_index_nam...Andrew White2017-02-261-2/+1
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | Use `max_identifier_length` for `index_name_length` in PostgreSQL adapterRyuta Kamizono2017-02-271-2/+1