aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
Commit message (Collapse)AuthorAgeFilesLines
...
| * 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-192-5/+13
| | | | | | | | | | | | | | | | | | | | | | 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-191-1/+1
| |
| * we should wrap strings as sql literalsAaron Patterson2010-08-191-1/+1
| |
| * Memoize STI class lookups for the duration of a requestJeremy Kemper2010-08-191-2/+2
| |
| * refactor if / else to ||=Aaron Patterson2010-08-181-5/+1
| |
| * refactoring to remove duplicate logicAaron Patterson2010-08-181-4/+3
| |
| * call to present? is not necessaryAaron Patterson2010-08-181-2/+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-171-0/+2
|
* 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
* Revert "Makes AR use AMo to_key implementation"Santiago Pastorino2010-08-151-0/+6
| | | | 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
|
* Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵Santiago Pastorino2010-08-1439-508/+508
| | | | 's/[ \t]*$//' -i {} \;)
* Makes AR use AMo to_key implementationSantiago Pastorino2010-08-131-6/+0
| | | | [#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
|
* symbol to proc is slow, we should avoid itAaron Patterson2010-08-131-1/+1
|
* be more precise re :validate and :autosaveXavier Noria2010-08-122-6/+5
|
* Ensure we can nest include calls [#5285 state:resolved]Neeraj Singh2010-08-122-2/+8
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Merge remote branch 'docrails/master'Xavier Noria2010-08-125-53/+61
|\
| * revises some autosave docs, style and contentXavier Noria2010-08-122-59/+23
| |
| * applied guidelines to "# =>"Paco Guzman2010-08-122-6/+6
| |
| * commit review: applies guidelines to "# =>"Xavier Noria2010-08-122-4/+4
| |
| * updating documentation for named_scope and default_scopeNeeraj Singh2010-08-122-0/+19
| |
| * adding more documentation for autosave optionNeeraj Singh2010-08-092-14/+39
| |
* | Make update_attribute behave as in Rails 2.3 and document the behavior ↵José Valim2010-08-122-53/+49
| | | | | | | | intrinsic to its implementation.
* | Raising exception if fixture file can't be foundPaul Hieromnimon2010-08-111-0/+4
| |
* | subtracting blank strings is slightly faster than blank?Aaron Patterson2010-08-111-3/+1
| |
* | avoid multiple hash lookupsAaron Patterson2010-08-111-2/+6
| |
* | dry up the hash dup and avoid sending nil valuesAaron Patterson2010-08-112-11/+15
| |
* | avoiding tap saves us timeAaron Patterson2010-08-111-2/+6
| |
* | unless Array#empty? is faster than if Array#present?Aaron Patterson2010-08-111-1/+1
| |
* | stop using private methodsAaron Patterson2010-08-111-2/+2
| |
* | move mysql2 adapter into coreBrian Lopez2010-08-091-0/+639
| |
* | adds missing requires for Object#tryXavier Noria2010-08-091-0/+1
|/
* Merge remote branch 'docrails/master'Xavier Noria2010-08-081-8/+5
|\
| * updating documentation for method configure_dependency_for_has_manyNeeraj Singh2010-08-061-8/+5
| |