aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
Commit message (Expand)AuthorAgeFilesLines
* Ensure AR #second, #third, etc. finders work through associationsJason Meller2014-01-213-13/+59
* Merge pull request #13776 from rails/dirty-enumRafael Mendonça França2014-01-212-4/+36
|\
| * Use string as keysRafael Mendonça França2014-01-211-2/+2
| * Store the enum values in the DEFINED_ENUM constantRafael Mendonça França2014-01-211-8/+8
| * Add more tests for the dirty feature for enumsRafael Mendonça França2014-01-212-8/+19
| * Make enum feature work with dirty methodsRafael Mendonça França2014-01-211-1/+18
| * Extract all attribute changed work to its own methodRafael Mendonça França2014-01-211-3/+7
* | add missing information for `id` field when used with `select` [ci skip]Kuldeep Aggarwal2014-01-221-1/+1
* | `has_one` and `belongs_to` accessors don't add ORDER BY to the queries anymore.Rafael Mendonça França2014-01-211-1/+1
* | prepend table name for `Relation#select` columns.Yves Senn2014-01-211-1/+4
* | Merge pull request #9969 from divineforest/fix-find-in-batchesYves Senn2014-01-211-5/+2
|\ \
| * | Fail early with "Primary key not included in the custom select clause" in fin...Alexander Balashov2014-01-211-5/+2
| |/
* / Remove missed usage of @first variableCarlos Antonio da Silva2014-01-211-1/+1
|/
* Remove unneded argumentRafael Mendonça França2014-01-201-2/+2
* Ensure #second acts like #first AR finderJason Meller2014-01-203-8/+91
* Restore ActiveRecord states after a rollback for models w/o callbacksGodfrey Chan2014-01-182-6/+7
* fix exception translationAaron Patterson2014-01-172-3/+4
* translate exceptions on prepared statement failureAaron Patterson2014-01-172-6/+13
* Update deprecation warning to give more information about callerT.J. Schuck2014-01-161-2/+2
* Make AR::Base#touch fire the after_commit and after_rollback callbacksHarry Brundage2014-01-161-0/+4
* Get rid of unused TransactionError constantCarlos Antonio da Silva2014-01-151-3/+0
* Avoid converting :on option to array twice when defining commit/rollback call...Carlos Antonio da Silva2014-01-151-3/+2
* directly create the ARel ASTAaron Patterson2014-01-141-6/+4
* Updated comment to mention the enum mapping class method [ci skip]Godfrey Chan2014-01-141-2/+3
* sqlite >= 3.8.0 supports partial indexesCody Cutrer2014-01-141-1/+17
* Don't try to get the subclass if the inheritance column doesn't existUjjwal Thaakar2014-01-141-7/+15
* Enum mappings are now exposed via class methods instead of constants.Godfrey Chan2014-01-141-7/+10
* Merge pull request #13669 from chulkilee/name-error-nameYves Senn2014-01-141-1/+1
|\
| * Set NameError#nameChulki Lee2014-01-131-1/+1
* | unscope should remove bind values associated with the whereAaron Patterson2014-01-131-0/+2
* | reverse_order_value= is not private, so no need to sendAaron Patterson2014-01-131-1/+1
* | avoid more dynamic symbolsAaron Patterson2014-01-131-1/+1
* | no need to to_symAaron Patterson2014-01-131-2/+2
|/
* fix bug in becomes! when changing from base to subclass. Closes #13272.Yves Senn2014-01-131-1/+5
* use enum labels as form values. Achieved by `_before_type_cast`.Yves Senn2014-01-111-0/+3
* doc, API example on how to use `Model#exists?` with multiple IDs. [ci skip]Yves Senn2014-01-101-0/+1
* Merge pull request #13582 from schneems/schneems/preserve-connection-behaviorRafael Mendonça França2014-01-095-22/+80
|\
| * Ensure Active Record connection consistencyschneems2014-01-095-22/+80
* | Revert "ask the fixture set for the sql statements"Aaron Patterson2014-01-092-17/+11
|/
* make `change_column_null` reversible. Closes #13576.Yves Senn2014-01-081-1/+6
* create/drop test and development databases only if RAILS_ENV is nilDamien Mathieu2014-01-082-3/+4
* Merge pull request #13355 from dylanahsmith/migration-versionRafael Mendonça França2014-01-071-1/+1
|\
| * activerecord: Initialize Migration with version from MigrationProxy.Dylan Thacker-Smith2014-01-061-1/+1
* | Make change_table use object of current database adapterNishant Modak2014-01-073-14/+16
|/
* Merge pull request #13593 from oliveiraethales/store_yaml_coderYves Senn2014-01-061-1/+1
|\
| * Fix: ActiveRecord::Store TypeError conversion when using YAML coderThales Oliveira2014-01-061-1/+1
* | Fix AR connection resolver docs to return a hash with string keys [ci skip]Carlos Antonio da Silva2014-01-061-1/+1
* | Fix typo [ci skip]Carlos Antonio da Silva2014-01-061-1/+1
|/
* Add deprecation I accidentally missedJon Leighton2014-01-041-1/+1
* Merge pull request #13584 from tjschuck/cannot_cannot_be_can_notXavier Noria2014-01-034-6/+6
|\