aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge remote branch 'rails/master'Xavier Noria2010-08-233-8/+11
|\
| * reload bob after his journy to a new timezoneBrian Lopez2010-08-201-0/+1
| |
| * Revert "Just add connection management middleware if running in a concurrent ↵Jeremy Kemper2010-08-201-8/+5
| | | | | | | | | | | | environment." This reverts commit 6b29dc876fe185881d46731c3ae170478a3828fe.
| * adding FOUND_ROWS to the connect flags for mysql2Aaron Patterson2010-08-201-0/+5
| |
* | Fix docs to reference ActiveRecord::LogSubscriberEvgeniy Dolzhenko2010-08-211-1/+1
|/ | | | since Rails::LogSubscriber doesn't seem to be defined anymore
* Merge remote branch 'rails/master'Xavier Noria2010-08-2021-77/+97
|\
| * deletes the rdoc task of each component, they are no longer published separatelyXavier Noria2010-08-201-25/+0
| |
| * fisting after_rollback and after commit callbacksAaron Patterson2010-08-203-6/+15
| |
| * Bump up tzinfo to 0.3.23Santiago Pastorino2010-08-201-1/+1
| |
| * updates return number of rows matched rather than number of rows affectedAaron Patterson2010-08-191-0/+1
| |
| * Optimize find_sti_class when store_full_sti_class is trueAndrew White2010-08-191-1/+5
| | | | | | | | | | | | [#5403] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
| * While creating a new record using has_many create method default scope of ↵Neeraj Singh2010-08-196-5/+45
| | | | | | | | | | | | | | | | | | | | | | child should be respected. author.posts.create should take into account default_scope defined on post. [#3939: state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
| * removing useless ternaryAaron Patterson2010-08-192-2/+2
| |
| * we should wrap strings as sql literalsAaron Patterson2010-08-191-1/+1
| |
| * Memoize STI class lookups for the duration of a requestJeremy Kemper2010-08-192-3/+3
| |
| * refactor if / else to ||=Aaron Patterson2010-08-181-5/+1
| |
| * avoids warnings about mismatched indentations in Ruby 1.9.2Xavier Noria2010-08-192-9/+6
| |
| * get rid of the warning "+ after local variable is interpreted as binary ↵Xavier Noria2010-08-191-13/+13
| | | | | | | | operator even though it seems like unary operator" in Ruby 1.9.2
| * refactoring to remove duplicate logicAaron Patterson2010-08-181-4/+3
| |
| * call to present? is not necessaryAaron Patterson2010-08-181-2/+1
| |
| * Bump up rdoc to 2.5.10Santiago Pastorino2010-08-181-1/+1
| |
* | Patch for Lighthouse ticket #5419 has been been applied. So reverting this one.Neeraj Singh2010-08-201-2/+0
| | | | | | | | | | | | Revert "documentation regarding after_validation" This reverts commit c24aa2f2dca52e1b0ee644e407389f6e89f53007.
* | documentation regarding after_validationNeeraj Singh2010-08-201-0/+2
| |
* | Note about validates_presence_of and nested attributesTrevor Turk2010-08-191-0/+16
| |
* | Note about using attr_accessible with nested attributesTrevor Turk2010-08-191-0/+12
| |
* | Use COALESCE in update_counters docs to reflect the implementationCarlos Antonio da Silva2010-08-181-3/+3
|/
* Bug Fix -- clean up connection after stored procedure [#3151 state:resolved]Jeff Lawson2010-08-171-1/+1
|
* Bug Fix -- clean up connection after stored procedure [#3151 state:resolved]Jeff Lawson2010-08-174-0/+29
|
* Restore pet -> owner relationship to the previous stateSantiago Pastorino2010-08-161-1/+1
| | | | [#5365]
* added testcase for belongs_to with a counter_cache and touchMark Turner2010-08-161-0/+16
| | | | | | [#5365 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* code gardening: we have assert_(nil|blank|present), more concise, with ↵Xavier Noria2010-08-1710-14/+14
| | | | better default failure messages - let's use them
* Replaced hardcoded SessionStore table creation SQL with calls to ↵Raimonds Simanovskis2010-08-161-8/+6
| | | | | | ActiveRecord adapter migration methods Otherwise hardcoded table creation SQL was failing on Oracle database
* added dependencies in Gemfile for running ActiveRecord tests with Oracle ↵Raimonds Simanovskis2010-08-161-6/+1
| | | | database
* assert_equal hereSantiago Pastorino2010-08-161-2/+2
|
* Revert "Makes AR use AMo to_key implementation"Santiago Pastorino2010-08-152-1/+7
| | | | This reverts commit 36a84a4f15f29b41c7cac2f8de410055006a8a8d.
* remove already defined method to avoid warningsSantiago Pastorino2010-08-151-0/+1
|
* Revert "connection reader is defined later"Santiago Pastorino2010-08-151-1/+1
| | | | This reverts commit f4cce71d96c4aab898ae074174d93802fcb0b1cc.
* connection reader is defined laterSantiago Pastorino2010-08-151-1/+1
|
* Makes topics.written_on null => true back again some tests rely on thatSantiago Pastorino2010-08-151-0/+3
|
* Add missing modelSantiago Pastorino2010-08-141-0/+2
|
* Both tests are using the same model, move the model to another file and add ↵Santiago Pastorino2010-08-143-15/+17
| | | | the missing require
* Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵Santiago Pastorino2010-08-1476-627/+626
| | | | 's/[ \t]*$//' -i {} \;)
* Makes AR use AMo to_key implementationSantiago Pastorino2010-08-132-7/+1
| | | | [#5249]
* This method is actually not used, it's implemented on the concrete adaptersSantiago Pastorino2010-08-131-8/+0
| | | | [#5331 state:committed]
* converting to a symbol is not necessaryAaron Patterson2010-08-131-1/+1
|
* Removing most of the symbol to proc usage in Active RecordPrem Sichanugrist2010-08-1315-28/+28
| | | | This will hopefully make Active Record run a bit more faster.
* avoid direct use of arel constantsAaron Patterson2010-08-131-2/+4
|
* removing references to arel constantsAaron Patterson2010-08-131-1/+1
|
* avoiding symbol to proc againAaron Patterson2010-08-131-1/+1
|
* do not use arel constants directlyAaron Patterson2010-08-131-1/+1
|