aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record
Commit message (Expand)AuthorAgeFilesLines
* `bytes_margin` is only needed when `previous_packet` existsRyuta Kamizono2019-04-031-5/+2
* Don't assign to `@changed_attributes` in `becomes`Ryuta Kamizono2019-04-031-1/+0
* Use official database name [ci skip]Ryuta Kamizono2019-04-033-7/+7
* Fix the markup for `insert_all` and `upsert_all` docs [ci skip]Ryuta Kamizono2019-04-031-7/+7
* Add `after_save_commit` callback as shortcut for `after_commit :hook, on: [ :...David Heinemeier Hansson2019-04-021-0/+6
* Merge pull request #35768 from robertomiranda/r/rake-db-prepareEileen M. Uchitelle2019-04-021-0/+10
|\
| * 💇Roberto Miranda2019-04-021-6/+4
| * Add test cases for rake db:prepareRoberto Miranda2019-04-021-6/+9
| * Move db:migrate call to else blockRoberto Miranda2019-03-271-1/+2
| * Improve db:prepare descriptionRoberto Miranda2019-03-271-1/+1
| * Add rake db:prepare rake task.Roberto Miranda2019-03-271-0/+8
* | url -> URL where apt except inside actionpack/Sharang Dashputre2019-04-011-1/+1
* | Revert unused code and re-using query annotation for `update_all` and `delete...Ryuta Kamizono2019-04-011-3/+0
* | Merge pull request #35727 from zinosama/zzz/update-doc-for-includesRyuta Kamizono2019-04-011-1/+7
|\ \
| * | [ci skip] Update doc for unnecessary #referenceszino2019-03-231-1/+7
* | | Use accessors internally; remove needless validationKasper Timm Hansen2019-03-311-6/+2
* | | Mark InsertAll as private API. Easier to add later.Kasper Timm Hansen2019-03-311-1/+1
* | | Capture some join calls.Kasper Timm Hansen2019-03-311-4/+8
* | | Merge pull request #19333 from palkan/dirty-storeKasper Timm Hansen2019-03-311-0/+48
|\ \ \
| * | | Add saved changes helpers for store accessorsVladimir Dementyev2019-03-251-1/+21
| * | | Add dirty methods for store accessorspalkan2019-03-251-0/+28
* | | | Merge pull request #35799 from leboshi/masterRyuta Kamizono2019-03-311-11/+4
|\ \ \ \
| * | | | Fix callbacks on has_many :through associations (#33249)Ryan Kerr2019-03-301-10/+4
|/ / / /
* | | | Add `ActiveRecord::Relation#extract_associated` for extracting associated rec...David Heinemeier Hansson2019-03-292-1/+14
* | | | Merge pull request #35496 from bogdan/right-preloadingRyuta Kamizono2019-03-283-64/+90
|\ \ \ \ | |_|_|/ |/| | |
| * | | Fix preloader to never reset associations in case they are already loadedBogdan Gusiev2019-03-073-64/+90
* | | | Format 'RETURNING' text in the docs [ci skip]Sharang Dashputre2019-03-251-3/+3
| |_|/ |/| |
* | | Merge pull request #35683 from Kukunin/masterRyuta Kamizono2019-03-231-1/+7
|\ \ \
| * | | Fix unintended autosave on has_one through associationSergiy Kukunin2019-03-221-1/+7
* | | | Add Relation#annotate for SQL commentingMatt Yoho2019-03-214-4/+32
* | | | Fix document formatting of Database configuration classes [ci skip]yuuji.yaginuma2019-03-213-35/+35
* | | | Merge pull request #35685 from XrXr/attribute-forwardingGannon McGibbon2019-03-201-0/+13
|\ \ \ \ | |_|_|/ |/| | |
| * | | Document option forwarding in ActiveRecord::Base.attributeAlan Wu2019-03-201-0/+13
| |/ /
* | | [ci skip] Documentation pass for insert_all etc.Kasper Timm Hansen2019-03-201-105/+107
* | | Bulk Insert: Reuse indexes for unique_byKasper Timm Hansen2019-03-202-61/+55
|/ /
* | Merge pull request #35595 from shioyama/generated_attribute_methods_namespace...Rafael França2019-03-191-3/+4
|\ \
| * | Give GeneratedAttributeMethods module a nameChris Salzberg2019-03-131-3/+4
* | | Merge pull request #35660 from kamipo/sanitize_as_sql_commentRyuta Kamizono2019-03-201-0/+4
|\ \ \
| * | | Extract `sanitize_as_sql_comment` from SQL visitor into connectionRyuta Kamizono2019-03-191-0/+4
* | | | update_at/on note for ActiveRecord::Relation.update_all (#35461)Orhan Toy2019-03-191-2/+4
* | | | Merge pull request #35663 from eileencodes/fix-database-configuration-when-no...Eileen M. Uchitelle2019-03-181-1/+1
|\ \ \ \
| * | | | Fix database configuration when adding another config leveleileencodes2019-03-181-1/+1
| |/ / /
* | | | Simplify values_list with more compositionKasper Timm Hansen2019-03-181-24/+30
* | | | Extract column check in values_listKasper Timm Hansen2019-03-181-14/+14
|/ / /
* | | Don't expose internal `type_casted_binds` methodRyuta Kamizono2019-03-191-7/+7
* | | Add test case for unscoping `:optimizer_hints`Ryuta Kamizono2019-03-181-1/+1
* | | Tweak `truncate_tables`Ryuta Kamizono2019-03-182-18/+18
* | | SQLite3: Make fixture loading to bulk statementsRyuta Kamizono2019-03-174-47/+38
* | | Fix undefined local variable or method `discard_remaining_results'Ryuta Kamizono2019-03-171-1/+1
* | | Ensure `execute_batch` discards remaining resultsRyuta Kamizono2019-03-172-14/+5