aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | i18n guide: remove link to external page about 'How to encode the current ↵Jaime Iniesta2010-11-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | locale in the URL' as it no longer exists
| * | | | | | | | i18n guide: it's activerecord.errors.messages.record_invalid (instead of ↵Jaime Iniesta2010-11-211-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'invalid'), and messagges typo
| * | | | | | | | Minor fix on Rails:Railtie documentationzhengjia2010-11-211-2/+2
| | | | | | | | |
| * | | | | | | | remove old school validations and replaced with new validates method. ↵eparreno2010-11-215-36/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pending: fix active_record guide
| * | | | | | | | Ensure calling reset session twice does not raise errors.José Valim2010-11-201-0/+12
| | | | | | | | |
| * | | | | | | | removed an AR method which wasn't used internally, had no tests, and had no docsJosh Kalderimis2010-11-201-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
| * | | | | | | | class inheritable attributes is used no more! all internal use of class ↵Josh Kalderimis2010-11-2017-55/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | inheritable has been changed to class_attribute. class inheritable attributes has been deprecated. Signed-off-by: José Valim <jose.valim@gmail.com>
| * | | | | | | | I18n is always loaded on boot by Active Model or Action Pack, so no need for ↵José Valim2010-11-201-1/+0
| | |_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | supporting lazy hooks.
| * | | | | | | applies API conventions to the RDoc of json_encodeXavier Noria2010-11-201-10/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Examples running with the text are preferred over separate Example sections. * No need to call puts, in # => we show the return value, not STDOUT. * Say explicitly that double quotes are removed. * Specify that we are talking \uXXX, rather than, say, HTML entities.
| * | | | | | | Fix indentationSantiago Pastorino2010-11-201-24/+23
| | | | | | | |
| * | | | | | | Avoid range object creationSantiago Pastorino2010-11-201-1/+1
| | | | | | | |
| * | | | | | | do not require ruby-debug automatically. please require it if you have ↵Aaron Patterson2010-11-194-30/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | declared it as a dependency
* | | | | | | | Clean IdentityMap before running each benchmark.Emilio Tagua2010-11-191-0/+18
| | | | | | | |
* | | | | | | | No need to specify clear is a method from IM when we are inside IM.Emilio Tagua2010-11-191-1/+1
| | | | | | | |
* | | | | | | | IM enable should be kept in current thread.Emilio Tagua2010-11-191-7/+10
| | | | | | | |
* | | | | | | | "there is no need to store this option just for initialization" José Valim ↵Emilio Tagua2010-11-192-9/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dixit.
* | | | | | | | identity_map name is used for configuration, use IdentityMap to access it.Emilio Tagua2010-11-193-11/+7
| | | | | | | |
* | | | | | | | Simplify remove_from_config.Emilio Tagua2010-11-191-9/+5
| | | | | | | |
* | | | | | | | Enable IdentityMap when generating new apps.Emilio Tagua2010-11-192-0/+17
| | | | | | | |
* | | | | | | | Fix typo.Emilio Tagua2010-11-191-1/+1
| | | | | | | |
* | | | | | | | We have to check object class to avoid issues when using STI.Emilio Tagua2010-11-191-1/+2
| | | | | | | |
* | | | | | | | Enable IM in performance script unless IM=disabled is set when running it.Emilio Tagua2010-11-191-0/+2
| | | | | | | |
* | | | | | | | IM is disabled by default.Emilio Tagua2010-11-191-2/+2
| | | | | | | |
* | | | | | | | Add test using identity map and select.Emilio Tagua2010-11-191-0/+14
| | | | | | | |
* | | | | | | | No need to check returned object now that weakhash is gone.Emilio Tagua2010-11-191-5/+1
| | | | | | | |
* | | | | | | | Usa Hash instead of WeakHash.Emilio Tagua2010-11-191-2/+2
| | | | | | | |
* | | | | | | | Revert "Use ActiveSupport::WeakHash for MRI, JRuby prefers Weakling."Emilio Tagua2010-11-191-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 3cddebc2402eb71f2806e8b2119dc3efdceb4662. Conflicts: activerecord/lib/active_record/identity_map.rb activesupport/lib/active_support/weak_hash.rb
* | | | | | | | Read from config, because AR may not be loaded yet.Emilio Tagua2010-11-191-1/+1
| | | | | | | |
* | | | | | | | Set IdentityMap disabled by default.Emilio Tagua2010-11-191-1/+1
| | | | | | | |
* | | | | | | | We don't need to dup key, since only value is weak.Emilio Tagua2010-11-191-10/+3
| | | | | | | |
* | | | | | | | Refactor associations cache removal from IM. (ht: Aaron Patterson)Emilio Tagua2010-11-191-4/+4
| | | | | | | |
* | | | | | | | Update number of queries executed instead of avoiding IM.Emilio Tagua2010-11-191-9/+5
| | | | | | | |
* | | | | | | | Don't change tests, fix code: if locking is enabled skip IM.Emilio Tagua2010-11-192-14/+1
| | | | | | | |
* | | | | | | | Remove associated objects from IM when clearing them from association cache.Emilio Tagua2010-11-191-0/+6
| | | | | | | |
* | | | | | | | Test setup method should clean up IM.Emilio Tagua2010-11-191-0/+4
| | | | | | | |
* | | | | | | | Query objects if readonly_value is false, skip them only if nil.Emilio Tagua2010-11-191-3/+3
| | | | | | | |
* | | | | | | | Added method to IM to remove objects by class and id. Then used it to remove ↵Emilio Tagua2010-11-192-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | objects when updating counters.
* | | | | | | | Clear IdentityMap before continue this test, we can do this here because ↵Emilio Tagua2010-11-191-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | store_full_sti_class is not supposed to change during "runtime".
* | | | | | | | Call super setup in this test.Emilio Tagua2010-11-191-1/+2
| | | | | | | |
* | | | | | | | Fix number of queries performed in tests.Emilio Tagua2010-11-191-6/+6
| | | | | | | |
* | | | | | | | Ups, forgot to remove one conflict tag from previous commit.Emilio Tagua2010-11-191-1/+0
| | | | | | | |
* | | | | | | | Revert "IdentityMap - Adjustments to test cases"Emilio Tagua2010-11-197-35/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 4db9dca55e3acc2c59f252eb83ecb83db5f4b81b. Conflicts: activerecord/test/cases/identity_map_test.rb
* | | | | | | | Don't load IdentityMap middleware if not enabled. Simplify middleware.Emilio Tagua2010-11-193-5/+13
| | | | | | | |
* | | | | | | | Don't wrap into identity map if it is disabled.Emilio Tagua2010-11-191-3/+2
| | | | | | | |
* | | | | | | | Bring back "Reject attributes even if association is loaded" after rebasing ↵Emilio Tagua2010-11-191-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to master.
* | | | | | | | Use block syntax in IdentityMap middleware.Emilio Tagua2010-11-192-3/+16
| | | | | | | |
* | | | | | | | Change API name, we don't need any param.Emilio Tagua2010-11-191-1/+1
| | | | | | | |
* | | | | | | | Use just one repository and keep it in the current thread.Emilio Tagua2010-11-192-16/+6
| | | | | | | |
* | | | | | | | Flush IdentityMap when running tests.Emilio Tagua2010-11-191-0/+4
| | | | | | | |
* | | | | | | | Use association_class method which returns the reflection class, this method ↵Emilio Tagua2010-11-191-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | is redefined in polymorphic belongs to associations.