aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
Commit message (Expand)AuthorAgeFilesLines
* Don't attempt to create a new record that was already created.Isaac Betesh2017-04-203-0/+32
* Prevent double firing the before save callback of new object when the parent ...Ryuta Kamizono2017-04-215-54/+70
* Merge pull request #28681 from runephilosof/fix-mysql-grantRafael Mendonça França2017-04-203-2/+6
|\
| * Fix quoting in db:create grant all statement.Rune Schjellerup Philosof2017-04-203-2/+6
* | Merge pull request #28733 from kamipo/dont_fallback_to_utf8mb3_after_mysql_8.0.0Rafael França2017-04-193-10/+12
|\ \
| * | Don't fallback to utf8mb3 after MySQL 8.0.0Ryuta Kamizono2017-04-173-10/+12
* | | Merge pull request #28776 from kamipo/respect_limit_for_cache_keyRafael França2017-04-192-8/+44
|\ \ \
| * | | `cache_key` respects the limit in a relation even if a relation is not loadedRyuta Kamizono2017-04-172-8/+44
| |/ /
* | | Add additional raise UnknownMigrationVersionErrorbogdanvlviv2017-04-192-5/+12
* | | Fix `bin/rails db:forward` first migrationbogdanvlviv2017-04-192-1/+11
* | | Fix `extract_expression_for_virtual_column` for MariaDBRyuta Kamizono2017-04-191-1/+1
* | | Use `quoted_scope` rather than `@config[:database]` to respect current databaseRyuta Kamizono2017-04-191-2/+3
* | | Merge pull request #28161 from bogdanvlviv/add_test_attributesRafael França2017-04-181-0/+11
|\ \ \
| * | | Add test for method `#attributes`bogdanvlviv2017-02-251-0/+11
* | | | Fix the doc on the `IndexDefinition` [ci skip]Ryuta Kamizono2017-04-171-1/+1
| |/ / |/| |
* | | Support Descending Indexes for MySQLRyuta Kamizono2017-04-164-4/+14
* | | Refactor `indexes` things in connection adaptersRyuta Kamizono2017-04-166-67/+114
* | | Merge pull request #28767 from kamipo/rename_to_association_query_valueAndrew White2017-04-153-8/+9
|\ \ \
| * | | Rename `association_query_handler.rb` to `association_query_value.rb`Ryuta Kamizono2017-04-153-8/+9
* | | | Early return in `PredicateBuilder::ArrayHandler`Ryuta Kamizono2017-04-151-4/+3
|/ / /
* | | Move around AR::Dirty and fix _attribute methodAaron Patterson2017-04-142-4/+22
* | | Merge pull request #28661 from bogdanvlviv/fix-dirty-attributes-if-override-a...Aaron Patterson2017-04-143-0/+27
|\ \ \
| * | | Fix inconsistency with changed attributes when overriding AR attribute readerbogdanvlviv2017-04-123-0/+27
* | | | Merge pull request #28715 from kamipo/convert_association_queries_to_poro_que...Andrew White2017-04-144-60/+32
|\ \ \ \
| * | | | `AssociationQueryValue#queries` returns an array for more concise association...Ryuta Kamizono2017-04-112-14/+7
| * | | | Convert `PolymorphicArrayValue` to PORO queriesRyuta Kamizono2017-04-093-28/+19
| * | | | Convert `AssociationQueryValue` to PORO queriesRyuta Kamizono2017-04-092-35/+23
* | | | | Add a test case for #20802Ryuta Kamizono2017-04-132-0/+6
* | | | | :scissors:Ryuta Kamizono2017-04-134-4/+1
* | | | | Merge pull request #28726 from matthewd/transaction-lockingMatthew Draper2017-04-133-52/+70
|\ \ \ \ \
| * | | | | Add comprehensive locking around DB transactionsMatthew Draper2017-04-113-52/+70
* | | | | | Merge pull request #28712 from kamipo/tweaks_28678Andrew White2017-04-121-4/+5
|\ \ \ \ \ \
| * | | | | | Tweaks #28678Ryuta Kamizono2017-04-091-4/+5
* | | | | | | Use a query that's compatible with PostgreSQL 9.2Matthew Draper2017-04-125-15/+27
| |_|_|/ / / |/| | | | |
* | | | | | Merge pull request #28721 from koic/oracle_does_not_support_limit_clauseRafael França2017-04-111-1/+1
|\ \ \ \ \ \ | |_|/ / / / |/| | | | |
| * | | | | Fix an AR test of relations_test when using OracleKoichi ITO2017-04-111-1/+1
* | | | | | exclude ORDER BY clause for exists? (#28699)Boris Slobodin2017-04-102-1/+6
|/ / / / /
* | | | | Merge pull request #28713 from kamipo/expose_queries_for_association_queriesMatthew Draper2017-04-102-48/+44
|\ \ \ \ \ | |/ / / / |/| / / / | |/ / /
| * | | Expose `queries` for `AssociationQueryValue` and `PolymorphicArrayValue`Ryuta Kamizono2017-04-092-21/+25
| * | | Avoid to handle polymorphic association for `AssociationQueryHandler`Ryuta Kamizono2017-03-282-29/+21
* | | | Merge pull request #28678 from hedgesky/use_formatted_number_as_schema_versionRafael França2017-04-081-1/+9
|\ \ \ \
| * | | | use formatted number as schema versionAnton Chuchkalov2017-04-051-1/+9
| | |_|/ | |/| |
* | | | Extract `construct_relation_for_exists` in `FinderMethods`Ryuta Kamizono2017-04-091-12/+15
* | | | More exercise `exists?` testsRyuta Kamizono2017-04-081-5/+18
* | | | Passing in no arguments to the dynamic fixture accessor method returns all fi...Kevin McPhillips2017-04-073-4/+49
* | | | Remove duplicated "test" prefixRyuta Kamizono2017-04-073-4/+4
|/ / /
* | | Ignore AR tests of index comment when using OracleKoichi ITO2017-04-051-5/+9
* | | Merge pull request #28057 from eugeneius/clear_active_connectionsMatthew Draper2017-04-041-0/+8
|\ \ \
| * | | Clear active connections after initializationEugene Kenny2017-02-171-0/+8
* | | | Merge pull request #28029 from koic/empty_insert_statement_value_not_supportedMatthew Draper2017-04-042-0/+4
|\ \ \ \