Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | update some AS code examples to 1.9 hash syntax [ci skip] | Francesco Rodriguez | 2012-09-12 | 13 | -158/+142 | |
| | | | ||||||
| * | | Update action_controller_overview.textile to ruby 1.9 syntax [ci skip] | José Corcuera | 2012-09-12 | 1 | -31/+37 | |
| | | | ||||||
| * | | Fix typo [ci skip] | José Corcuera | 2012-09-12 | 1 | -1/+1 | |
| | | | ||||||
| * | | Merge pull request #113 from lifo/gr-flash-output | Gareth Rees | 2012-09-11 | 1 | -6/+4 | |
| |\ \ | | | | | | | | | Ran the generators and had no further changes. Merging. | |||||
| | * | | More concise flash output | Gareth Rees | 2012-09-11 | 1 | -6/+4 | |
| |/ / | ||||||
| * | | fix punctuation in Getting Started prologue [ci skip] | Francesco Rodriguez | 2012-09-09 | 1 | -4/+5 | |
| | | | ||||||
* | | | Make the serializable test much looser | Jon Leighton | 2012-09-21 | 1 | -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/changelog | Rafael Mendonça França | 2012-09-21 | 1 | -1/+1 | |
|\ \ \ | | | | | | | | | Fix MIME type in CHANGELOG [ci skip] | |||||
| * | | | Fix MIME type in CHANGELOG | Jo Liss | 2012-09-21 | 1 | -1/+1 | |
|/ / / | ||||||
* | | | Support for specifying transaction isolation level | Jon Leighton | 2012-09-21 | 9 | -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 Leighton | 2012-09-21 | 2 | -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 Coleman | 2012-03-02 | 2 | -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 test | Carlos Antonio da Silva | 2012-09-20 | 1 | -7/+7 | |
| | | | | ||||||
* | | | | Update delegate docs with new hash syntax [ci skip] | Carlos Antonio da Silva | 2012-09-20 | 1 | -10/+10 | |
| | | | | ||||||
* | | | | Add changelog entry and docs about class delegation using the symbol :class | Carlos Antonio da Silva | 2012-09-20 | 2 | -5/+36 | |
| | | | | | | | | | | | | | | | | See #7613. [ci skip] | |||||
* | | | | Merge pull request #7721 from frodsan/ar_changelog_improvement | Santiago Pastorino | 2012-09-20 | 1 | -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 Rodriguez | 2012-09-20 | 1 | -7/+2 | |
|/ / / / | ||||||
* | | | | Merge pull request #7613 from marcandre/delegate_to_class | Jeremy Kemper | 2012-09-20 | 2 | -0/+14 | |
|\ \ \ \ | | | | | | | | | | | Nice and easy delegation to the class | |||||
| * | | | | Nice and easy delegation to the class | Marc-Andre Lafortune | 2012-09-11 | 2 | -0/+14 | |
| | | | | | ||||||
* | | | | | Merge pull request #7720 from frodsan/rename_ar_tag | Jon Leighton | 2012-09-20 | 6 | -14/+19 | |
|\ \ \ \ \ | | | | | | | | | | | | | rename AR::Model::Tag to AR::Tag | |||||
| * | | | | | rename AR::Model::Tag to AR::Tag - fixes #7714 | Francesco Rodriguez | 2012-09-20 | 6 | -14/+19 | |
| | | | | | | ||||||
* | | | | | | Merge pull request #7719 from frodsan/strong_params_docs_part_two | Rafael Mendonça França | 2012-09-20 | 3 | -15/+30 | |
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | Strong Parameters documentation | |||||
| * | | | | | add :nodoc: to AMo::DeprecatedMassAssignmentSecurity::ClassMethods [ci skip] | Francesco Rodriguez | 2012-09-20 | 1 | -3/+3 | |
| | | | | | | ||||||
| * | | | | | change AMo::ForbiddenAttributesProtection#sanitize_for_mass_assignment to ↵ | Francesco Rodriguez | 2012-09-20 | 1 | -7/+8 | |
| | | | | | | | | | | | | | | | | | | | | | | | | protected | |||||
| * | | | | | update AMo::ForbiddenAttributesError documentation [ci skip] | Francesco Rodriguez | 2012-09-20 | 1 | -0/+12 | |
| | | | | | | ||||||
| * | | | | | fix typos and improve AC::StrongParameters documentation [ci skip] | Francesco Rodriguez | 2012-09-20 | 1 | -6/+8 | |
| | | | | | | ||||||
| * | | | | | add :nodoc: directives to AMo::DeprecatedMassAssignmentSecurity [ci skip] | Francesco Rodriguez | 2012-09-20 | 1 | -3/+3 | |
|/ / / / / | ||||||
* | | | | | Remove the environment variables in the Gemfile | Rafael Mendonça França | 2012-09-20 | 1 | -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 Result | Santiago Pastorino | 2012-09-20 | 1 | -6/+9 | |
| | | | | | ||||||
* | | | | | Merge pull request #7703 from kennyj/fix_6962 | Rafael Mendonça França | 2012-09-20 | 2 | -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 ↵ | kennyj | 2012-09-20 | 2 | -1/+12 | |
| | | | | | | | | | | | | | | | | | | | | format strings. | |||||
* | | | | | Freeze columns just before using them as hash keys | Santiago Pastorino | 2012-09-20 | 1 | -2/+5 | |
| | | | | | ||||||
* | | | | | Merge pull request #7631 from jeremyevans/patch-1 | Aaron Patterson | 2012-09-19 | 1 | -1/+1 | |
|\ \ \ \ \ | | | | | | | | | | | | | Freeze columns before using them as hash keys | |||||
| * | | | | | Freeze columns before using them as hash keys | Jeremy Evans | 2012-09-13 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | This reduces the number of allocated strings from columns * (rows + 1) to just columns. | |||||
* | | | | | | Merge pull request #7702 from guilleiguaran/remove-manifest-option | Santiago Pastorino | 2012-09-19 | 5 | -13/+11 | |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | Remove highly uncommon `config.assets.manifest` option | |||||
| * | | | | | | Allow to use a local copy of sprockets-rails during development | Guillermo Iguaran | 2012-09-19 | 1 | -1/+6 | |
| | | | | | | | ||||||
| * | | | | | | Remove highly uncommon `config.assets.manifest` option for moving the ↵ | Guillermo Iguaran | 2012-09-19 | 4 | -12/+5 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | manifest path. This option is now unsupported in sprockets-rails. | |||||
* | | | | | | | Merge pull request #7692 from frodsan/strong_params_docs | Santiago Pastorino | 2012-09-19 | 3 | -14/+225 | |
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | update docs for strong parameters merge | |||||
| * | | | | | | | update AC::StrongParameters documentation | Francesco Rodriguez | 2012-09-19 | 1 | -8/+53 | |
| | | | | | | | | ||||||
| * | | | | | | | define permitted? method instead of use an alias to fix rdoc | Francesco Rodriguez | 2012-09-19 | 1 | -2/+12 | |
| | | | | | | | | ||||||
| * | | | | | | | update AC::Parameters documentation [ci skip] | Francesco Rodriguez | 2012-09-19 | 1 | -1/+149 | |
| | | | | | | | | ||||||
| * | | | | | | | update AC::ParameterMissing documentation [ci skip] | Francesco Rodriguez | 2012-09-19 | 1 | -2/+9 | |
| | | | | | | | | ||||||
| * | | | | | | | update AR::AttributeAssignment documentation [ci skip] | Francesco Rodriguez | 2012-09-19 | 1 | -5/+5 | |
| | | | | | | | | ||||||
| * | | | | | | | update AC::ParamsWrapper documentation [ci skip] | Francesco Rodriguez | 2012-09-19 | 1 | -3/+4 | |
|/ / / / / / / | ||||||
* | | | | | | | Merge pull request #7710 from guilleiguaran/refactor-ar-attributes-method | Rafael Mendonça França | 2012-09-19 | 1 | -10/+4 | |
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | AR::Base#attributes= is just an alias for AR::Base#assign_attributes | |||||
| * | | | | | | | AR::Base#attributes= is just an alias for AR::Base#assign_attributes | Guillermo Iguaran | 2012-09-19 | 1 | -10/+4 | |
| | | | | | | | | ||||||
* | | | | | | | | Merge pull request #7709 from alexreisner/master | Rafael Mendonça França | 2012-09-19 | 1 | -1/+1 | |
|\ \ \ \ \ \ \ \ | |_|/ / / / / / |/| | | | | | | | Fix Broken Link in ActiveRecord Transaction Documentation [ci skip] | |||||
| * | | | | | | | Fix out-of-date URL. | Alex Reisner | 2012-09-19 | 1 | -1/+1 | |
|/ / / / / / / | ||||||
* | | | | | | | Merge pull request #7707 from guilleiguaran/changelogs-update | Rafael Mendonça França | 2012-09-19 | 4 | -0/+50 | |
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | Update changelogs to add entries about strong_parameters integration | |||||
| * | | | | | | | Update changelogs to add entries about strong_parameters integration | Guillermo Iguaran | 2012-09-19 | 4 | -0/+50 | |
|/ / / / / / / |