aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | 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
| | | | | |
* | | | | | Merge pull request #7720 from frodsan/rename_ar_tagJon Leighton2012-09-206-14/+19
|\ \ \ \ \ \ | | | | | | | | | | | | | | rename AR::Model::Tag to AR::Tag
| * | | | | | rename AR::Model::Tag to AR::Tag - fixes #7714Francesco Rodriguez2012-09-206-14/+19
| | | | | | |
* | | | | | | Merge pull request #7719 from frodsan/strong_params_docs_part_twoRafael Mendonça França2012-09-203-15/+30
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | Strong Parameters documentation
| * | | | | | add :nodoc: to AMo::DeprecatedMassAssignmentSecurity::ClassMethods [ci skip]Francesco Rodriguez2012-09-201-3/+3
| | | | | | |
| * | | | | | change AMo::ForbiddenAttributesProtection#sanitize_for_mass_assignment to ↵Francesco Rodriguez2012-09-201-7/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | protected
| * | | | | | update AMo::ForbiddenAttributesError documentation [ci skip]Francesco Rodriguez2012-09-201-0/+12
| | | | | | |
| * | | | | | fix typos and improve AC::StrongParameters documentation [ci skip]Francesco Rodriguez2012-09-201-6/+8
| | | | | | |
| * | | | | | add :nodoc: directives to AMo::DeprecatedMassAssignmentSecurity [ci skip]Francesco Rodriguez2012-09-201-3/+3
|/ / / / / /
* | | | | | Remove the environment variables in the GemfileRafael Mendonça França2012-09-201-27/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If you want to set a local path for the gems you can use the local git repositories feature from the Bundler 1.2. For example to set the local arel repository: bundle config local.arel ~/Work/git/arel To unset it: bundle config --delete local.arel Bundler will check if the branch of you local repository is the same that specified in the Gemfile. If you want to disable these branch checks you can override it by setting this option: bundle config disable_local_branch_check true See more about this feature at http://gembundler.com/v1.2/git.html#local
* | | | | | Freeze columns only once per ResultSantiago Pastorino2012-09-201-6/+9
| | | | | |
* | | | | | Merge pull request #7703 from kennyj/fix_6962Rafael Mendonça França2012-09-202-1/+12
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | | Fix #6962. AS::TimeWithZone#strftime responds incorrectly to %:z and %::z format strings.
| * | | | | Fix #6962. AS::TimeWithZone#strftime responds incorrectly to %:z and %::z ↵kennyj2012-09-202-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | format strings.
* | | | | | Freeze columns just before using them as hash keysSantiago Pastorino2012-09-201-2/+5
| | | | | |
* | | | | | Merge pull request #7631 from jeremyevans/patch-1Aaron Patterson2012-09-191-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | Freeze columns before using them as hash keys
| * | | | | | Freeze columns before using them as hash keysJeremy Evans2012-09-131-1/+1
| | | | | | | | | | | | | | | | | | | | | This reduces the number of allocated strings from columns * (rows + 1) to just columns.
* | | | | | | Merge pull request #7702 from guilleiguaran/remove-manifest-optionSantiago Pastorino2012-09-195-13/+11
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Remove highly uncommon `config.assets.manifest` option
| * | | | | | | Allow to use a local copy of sprockets-rails during developmentGuillermo Iguaran2012-09-191-1/+6
| | | | | | | |