aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | Revert "Fix MIME type in CHANGELOG"Jo Liss2012-09-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CHANGELOG edits do not belongs on docrails, so I'll send a pull request instead. Thanks @rafaelfranca for catching this. This reverts commit 84c9491eab5b9f7c4250ca4c2ca5d763e8c4ff4d.
| * | | | Fix MIME type in CHANGELOGJo Liss2012-09-211-1/+1
| | | | |
| * | | | Add extra note about :dependent => :destroy.Steve Klabnik2012-09-211-1/+4
| | | | | | | | | | | | | | | | | | | | Callbacks may interfere with each other.
| * | | | correct a typoPrzemek Hocke2012-09-211-1/+1
| | | | |
| * | | | Add missing "m" charPrzemek Hocke2012-09-211-1/+1
| | | | |
| * | | | fix two typos in the associations guidePrzemek Hocke2012-09-211-2/+2
| | | | |
| * | | | fix a small typoPrzemek Hocke2012-09-211-1/+1
| | | | |
| * | | | Fix indentation and update documentation for Array#wrap for Ruby 1.9Jo Liss2012-09-201-9/+10
| | | | |
| * | | | fix :nodoc:s in AR::Timestamp [ci skip]Francesco Rodriguez2012-09-191-7/+7
| | | | |
| * | | | fix Hash#slice code example [ci skip]Francesco Rodriguez2012-09-182-2/+2
| | | | |
| * | | | Update 3.0 -> 3.1 session information.Steve Klabnik2012-09-181-0/+13
| | | | | | | | | | | | | | | | | | | | Fixes #7685
| * | | | Expanded note about poly associations.Steve Klabnik2012-09-181-3/+12
| | | | | | | | | | | | | | | | | | | | Now with example!
| * | | | update ActionMailer documentation [ci skip]Francesco Rodriguez2012-09-175-18/+15
| | | | |
| * | | | Add note about inheretance and poly associations.Steve Klabnik2012-09-171-0/+4
| | | | | | | | | | | | | | | | | | | | This note came about due to discussion in #6786.
| * | | | update ActionMailer::Base documentation [ci skip]Francesco Rodriguez2012-09-171-266/+323
| | | | |
| * | | | update code examples to 1.9 hash syntax in the AR/README [ci skip]Francesco Rodriguez2012-09-171-12/+12
| | | | |
| * | | | update AS docs [ci skip]Francesco Rodriguez2012-09-1723-329/+378
| | | | |
| * | | | fix AS::OrderedOptions documentation [ci skip]Francesco Rodriguez2012-09-171-16/+15
| | | | |
| * | | | Update "Getting Started" guideSimon Hengel2012-09-161-1/+1
| | | | |
| * | | | Doc typo: depenent -> dependent; trailing ws.Henrik N2012-09-161-2/+2
| | | | |
| * | | | Improve documentation about :dependent and callbacks.Steve Klabnik2012-09-151-0/+5
| | | | | | | | | | | | | | | | | | | | Fixes #3458.
| * | | | update AS/values and AS/xml_mini docs [ci skip]Francesco Rodriguez2012-09-144-39/+54
| | | | |
| * | | | update AS/notifications and AS/testing docs [ci skip]Francesco Rodriguez2012-09-143-8/+10
| | | | |
| * | | | update AS/log_subscriber and AS/multibyte docs [ci skip]Francesco Rodriguez2012-09-143-55/+76
| | | | |
| * | | | update AS/json docs [ci skip]Francesco Rodriguez2012-09-142-12/+20
| | | | |
| * | | | update AS/inflector docs [ci skip]Francesco Rodriguez2012-09-143-142/+167
| | | | |
| * | | | update AS/deprecation docs [ci skip]Francesco Rodriguez2012-09-142-9/+9
| | | | |
| * | | | add :nodoc: to AS::Autoload#extended [ci skip]Francesco Rodriguez2012-09-141-2/+1
| | | | |
| * | | | Remove redundant 'the'.Uģis Ozols2012-09-131-1/+1
| | | | |
| * | | | fix AS/core_ext examples [ci skip]Francesco Rodriguez2012-09-123-3/+3
| | | | |
| * | | | update AS/core_ext docs [ci skip]Francesco Rodriguez2012-09-1229-113/+121
| | | | |
| * | | | update some AS code examples to 1.9 hash syntax [ci skip]Francesco Rodriguez2012-09-1213-158/+142
| | | | |
| * | | | Update action_controller_overview.textile to ruby 1.9 syntax [ci skip]José Corcuera2012-09-121-31/+37
| | | | |
| * | | | Fix typo [ci skip]José Corcuera2012-09-121-1/+1
| | | | |
| * | | | Merge pull request #113 from lifo/gr-flash-outputGareth Rees2012-09-111-6/+4
| |\ \ \ \ | | | | | | | | | | | | Ran the generators and had no further changes. Merging.
| | * | | | More concise flash outputGareth Rees2012-09-111-6/+4
| |/ / / /
| * | | | fix punctuation in Getting Started prologue [ci skip]Francesco Rodriguez2012-09-091-4/+5
| | | | |
* | | | | Make the serializable test much looserJon Leighton2012-09-211-18/+5
| | | | | | | | | | | | | | | | | | | | | | | | | It's too hard to test this properly, so let's just check that there are no errors.
* | | | | Merge pull request #7724 from joliss/changelogRafael Mendonça França2012-09-211-1/+1
|\ \ \ \ \ | | | | | | | | | | | | Fix MIME type in CHANGELOG [ci skip]
| * | | | | Fix MIME type in CHANGELOGJo Liss2012-09-211-1/+1
|/ / / / /
* | | | | Support for specifying transaction isolation levelJon Leighton2012-09-219-15/+263
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If your database supports setting the isolation level for a transaction, you can set it like so: Post.transaction(isolation: :serializable) do # ... end Valid isolation levels are: * `:read_uncommitted` * `:read_committed` * `:repeatable_read` * `:serializable` You should consult the documentation for your database to understand the semantics of these different levels: * http://www.postgresql.org/docs/9.1/static/transaction-iso.html * https://dev.mysql.com/doc/refman/5.0/en/set-transaction.html An `ActiveRecord::TransactionIsolationError` will be raised if: * The adapter does not support setting the isolation level * You are joining an existing open transaction * You are creating a nested (savepoint) transaction The mysql, mysql2 and postgresql adapters support setting the transaction isolation level. However, support is disabled for mysql versions below 5, because they are affected by a bug (http://bugs.mysql.com/bug.php?id=39170) which means the isolation level gets persisted outside the transaction.
* | | | | Merge pull request #5248 from ↵Jon Leighton2012-09-212-0/+17
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | jcoleman/should-unset-association-when-an-existing-record-is-destroyed Unset association when existing record is destroyed.
| * | | | | Unset association when existing record is destroyed.James Coleman2012-03-022-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | To avoid foreign key errors (and invalid data) in the database, when a belongs_to association is destroyed, it should also be nil'd out on the parent object.
* | | | | | Get rid of global variable in AR transactions testCarlos Antonio da Silva2012-09-201-7/+7
| | | | | |
* | | | | | Update delegate docs with new hash syntax [ci skip]Carlos Antonio da Silva2012-09-201-10/+10
| | | | | |
* | | | | | Add changelog entry and docs about class delegation using the symbol :classCarlos Antonio da Silva2012-09-202-5/+36
| | | | | | | | | | | | | | | | | | | | | | | | See #7613. [ci skip]
* | | | | | Merge pull request #7721 from frodsan/ar_changelog_improvementSantiago Pastorino2012-09-201-7/+2
|\ \ \ \ \ \ | | | | | | | | | | | | | | remove unnecessary entry and make minor edits to AR/CHANGELOG [ci skip]
| * | | | | | remove unnecessary entry and make minor edits to AR/CHANGELOG [ci skip]Francesco Rodriguez2012-09-201-7/+2
|/ / / / / /
* | | | | | Merge pull request #7613 from marcandre/delegate_to_classJeremy Kemper2012-09-202-0/+14
|\ \ \ \ \ \ | | | | | | | | | | | | | | Nice and easy delegation to the class
| * | | | | | Nice and easy delegation to the classMarc-Andre Lafortune2012-09-112-0/+14
| | | | | | |