Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Improve the error message | Rafael Mendonça França | 2013-04-19 | 2 | -2/+2 | |
| | | ||||||
* | | Merge pull request #10217 from mirasrael/make-migrator-run-transactional-4.0 | Rafael Mendonça França | 2013-04-19 | 3 | -5/+42 | |
|\ \ | | | | | | | | | | | | | | | | | | | Support transactions in Migrator.run Conflicts: activerecord/CHANGELOG.md | |||||
| * | | Support transactions in Migrator.run | bondarev | 2013-04-18 | 3 | -5/+42 | |
| | | | ||||||
* | | | Merge pull request #10200 from ↵ | Jon Leighton | 2013-04-19 | 2 | -2/+11 | |
|\ \ \ | |_|/ |/| | | | | | | | | calebthompson/ct-fix-freeze-freezing-cloned-models Fix freeze applying to cloned objects | |||||
| * | | Fix freeze applying to cloned objects | Caleb Thompson | 2013-04-15 | 2 | -2/+11 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, freezing a cloned ActiveRecord object froze the original too. By cloning `@attributes` before freezing, we prevent cloned objects (which in Ruby share state of ivars) from being effected by `#freeze`. Resolves issue #4936, which has further information on this issue, as well as steps to reproduce. * Add a test case for `#freeze` not causing `cloned.frozen?` to be true. * Clone @attributes before freezing in `ActiveRecord::Core`, then reassign the cloned, frozen hash to the frozen model's `@attributes` ivar. /cc @steveklabnik | |||||
* | | | Revert "Merge pull request #10043 from cconstantine/master" | Rafael Mendonça França | 2013-04-18 | 2 | -21/+0 | |
| | | | | | | | | | | | | | | | | | | | | | This reverts commit 521035af530482d6d9ad2dae568eaeb0ab188e1c, reversing changes made to 222011dbee842bbc60d3aaaa3145356b90a30fd1. Reason: This broke the tests | |||||
* | | | Bump arel to 4.0.0 | Rafael Mendonça França | 2013-04-18 | 1 | -1/+1 | |
| | | | ||||||
* | | | Merge pull request #10043 from cconstantine/master | Rafael Mendonça França | 2013-04-18 | 2 | -0/+21 | |
|\ \ \ | | | | | | | | | DB with postgres string array column doesn't load fixtures well | |||||
| * | | | Fix loading of string arrays in postgres | Chris Constantine | 2013-04-08 | 2 | -0/+21 | |
| | | | | ||||||
* | | | | Merge pull request #10258 from thenickcox/pending_migrations_plural | Rafael Mendonça França | 2013-04-18 | 1 | -3/+3 | |
|\ \ \ \ | | | | | | | | | | | Fix subject-verb agreement in error msg (and other grammar stuff) | |||||
| * | | | | Fix subject-verb agreement in error msg (and other grammar stuff) | thenickcox | 2013-04-17 | 1 | -3/+3 | |
| | | | | | ||||||
* | | | | | activerecord-deprecated_finders 1.0.0 has a bug with has_many :through | Rafael Mendonça França | 2013-04-17 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | associations | |||||
* | | | | | add :nodoc: mark to *Registry classes [ci skip] | Francesco Rodriguez | 2013-04-17 | 2 | -4/+4 | |
| | | | | | ||||||
* | | | | | Bump activerecord-deprecated_finders to 1.0.0 | Rafael Mendonça França | 2013-04-17 | 1 | -1/+1 | |
| | | | | | ||||||
* | | | | | let EXPLAIN use a thread locals registry [John J. Wang & Xavier Noria] | Xavier Noria | 2013-04-16 | 5 | -46/+70 | |
| | | | | | | | | | | | | | | | | | | | | Closes #10198. | |||||
* | | | | | Fix #7619. 0x prefix must be added when assigning hexadecimal string into ↵ | kennyj | 2013-04-17 | 3 | -3/+15 | |
| | | | | | | | | | | | | | | | | | | | | bit column in Postgresql, because solving ambiguity. | |||||
* | | | | | Fixed typos in AR CHANGELOG | Prathamesh Sonpatki | 2013-04-16 | 1 | -4/+4 | |
| | | | | | ||||||
* | | | | | Use db:test:load instead of db:test:load_schema | Piotr Sarnacki | 2013-04-16 | 1 | -1/+1 | |
| |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | db:test:load task should be favored over db:test:load_schema, because it checks for chosen format (ActiveRecord::Base.schema_format). closes #10227 | |||||
* | | | | Add OID::Bit for supporting bit string. | kennyj | 2013-04-16 | 2 | -2/+19 | |
| | | | | ||||||
* | | | | Revert "fixing bit string test" | kennyj | 2013-04-16 | 1 | -3/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit cdd293cb963b895ff580eb20d10f5d56ecb3d447. Reason: This wasn't properly fix. | |||||
* | | | | Merge pull request #10214 from mattetti/ar_postgres_bytea | Rafael Mendonça França | 2013-04-15 | 2 | -0/+88 | |
|\ \ \ \ | | | | | | | | | | | AR postgres binary bug fix | |||||
| * | | | | fix for the bytea/binary nil value bug | Matt Aimonetti | 2013-04-14 | 2 | -1/+2 | |
| | | | | | ||||||
| * | | | | added a test suite for the postgres binary type | Matt Aimonetti | 2013-04-14 | 1 | -0/+87 | |
| | |_|/ | |/| | | | | | | | | | | this shows a problem with nil values | |||||
* / | | | Document collection.create! on has_many associations in ActiveRecord | Mario Visic | 2013-04-15 | 1 | -0/+4 | |
|/ / / | ||||||
* | | | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2013-04-13 | 2 | -7/+7 | |
|\ \ \ | ||||||
| * | | | fix :nodoc: mark on AR::AttributeMethods::Serialization [ci skip] | Francesco Rodriguez | 2013-04-12 | 1 | -2/+2 | |
| | | | | ||||||
| * | | | minor edit on StatementCache documentation [ci skip] | Francesco Rodriguez | 2013-04-12 | 1 | -1/+1 | |
| | | | | ||||||
| * | | | Fix StatementCache docs format [ci skip] | Francesco Rodriguez | 2013-04-11 | 1 | -5/+5 | |
| | | | | ||||||
* | | | | hides the per thread registry instance, and caches singleton methods | Xavier Noria | 2013-04-13 | 2 | -7/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Existing code was delegating to the instance with delegate macro calls, or invoking the instance method to reach the object and call its instance methods. But the point is to have a clean class-level interface where the thread local instance is hidden in the implementation. References #11c6973. References #10198. | |||||
* | | | | removes calls to AR::Runtime.instance | Xavier Noria | 2013-04-13 | 3 | -6/+6 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Registries have class-level accessors to write clean code, let's use them. This makes style uniform also with existing usage in ScopeRegistry and InstrumentationRegistry. If performance of the method_missing callback was ever considered to be a concern, then we should stop using it altogether and probably remove the callback. But while we have the feature we should use it. | |||||
* | | | | simplifies the RDoc of AR::RuntimeRegistry | Xavier Noria | 2013-04-13 | 1 | -20/+5 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The previous version was kind of duplicating the documentation of AS::PerThreadRegistry. Just say how to use it, the thread locals registry is know part of our vocabulary (though a pointer to Active Support is added for reference). | |||||
* | | | | complete rewrite of the documentation of AS::PerThreadRegistry | Xavier Noria | 2013-04-13 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * It focuses on how to use it. * Removes some ambigueties in the original docs about whether the state is stored in the class. * Documents it provides class-level accessors via method_missing. * Documents that if the extended class has an initializer, it must accept no arguments. | |||||
* | | | | use unified and clean formatting in CHANGELOGS. [ci skip] | Yves Senn | 2013-04-12 | 1 | -9/+9 | |
|/ / / | ||||||
* | | | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2013-04-11 | 7 | -8/+19 | |
|\ \ \ | | | | | | | | | | | | | | | | | Conflicts: guides/source/action_mailer_basics.md | |||||
| * | | | JoinPart is no longer an abstract class | Neeraj Singh | 2013-04-08 | 1 | -1/+1 | |
| | | | | ||||||
| * | | | update ActiveRecord::AttributeMethods::Serialization documentation [ci skip] | Francesco Rodriguez | 2013-04-04 | 1 | -0/+7 | |
| | | | | ||||||
| * | | | mark ReversibleBlockHelper as :nodoc: [ci skip] | Francesco Rodriguez | 2013-04-04 | 1 | -1/+1 | |
| | | | | ||||||
| * | | | mark relation mutator as :nodoc: [ci skip] | Francesco Rodriguez | 2013-04-02 | 1 | -2/+1 | |
| | | | | ||||||
| * | | | minor copy editing | Neeraj Singh | 2013-03-30 | 3 | -4/+9 | |
| | | | | ||||||
* | | | | Switched to new naming conventions | Noemj | 2013-04-11 | 2 | -4/+4 | |
| | | | | | | | | | | | | | | | | [ci skip] | |||||
* | | | | Merge pull request #10177 from ↵ | Carlos Antonio da Silva | 2013-04-11 | 1 | -1/+1 | |
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | yahonda/test_relation_merging_with_merged_joins_oracle Address ORA-00979: not a GROUP BY expression error | |||||
| * | | | | Address ORA-00979: not a GROUP BY expression error | Yasuo Honda | 2013-04-11 | 1 | -1/+1 | |
| | | | | | ||||||
* | | | | | cleanup statement cache test | Vipul A M | 2013-04-11 | 1 | -4/+4 | |
|/ / / / | ||||||
* | | | | Remove warning | Carlos Antonio da Silva | 2013-04-10 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | warning: `*' interpreted as argument prefix | |||||
* | | | | Merge pull request #10152 from Noemj/statement_cache | Rafael Mendonça França | 2013-04-10 | 4 | -0/+108 | |
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Statement cache Conflicts: activerecord/CHANGELOG.md | |||||
| * | | | | Added statement cache | Noemj | 2013-04-10 | 4 | -0/+108 | |
| | | | | | ||||||
* | | | | | Merge pull request #10168 from neerajdotname/simple_improvements | Rafael Mendonça França | 2013-04-10 | 3 | -5/+39 | |
|\ \ \ \ \ | | | | | | | | | | | | | Simple improvements | |||||
| * | | | | | converge three lines into one | Neeraj Singh | 2013-04-10 | 1 | -3/+1 | |
| | | | | | | ||||||
| * | | | | | rdoc for some of the methods in JoinDependency | Neeraj Singh | 2013-04-10 | 2 | -0/+36 | |
| | | | | | | ||||||
| * | | | | | remove_duplicate_results! should be protected | Neeraj Singh | 2013-04-10 | 1 | -2/+2 | |
| | | | | | |