aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/base.rb
Commit message (Expand)AuthorAgeFilesLines
* Arel::Table.engine will be deprecated, so stop using itAaron Patterson2011-01-141-1/+1
* use underlying _read_attribute method rather than causing NoMethodErrorsAaron Patterson2011-01-111-1/+1
* lazily instantiate AR objects in order to avoid NoMethodErrorsAaron Patterson2011-01-111-9/+10
* Use encode_with for marshallingJon Leighton2011-01-071-0/+20
* use a hash for caching aggregations rather than ivarsAaron Patterson2011-01-071-2/+3
* just use a hash for doing association cachingAaron Patterson2011-01-071-2/+5
* adding an `encode_with` method for Psych dump/load methodsAaron Patterson2011-01-051-0/+16
* Specify the STI type condition using SQL IN rather than a whole load of ORs. ...Jon Leighton2010-12-311-4/+8
* Simplify inspect implementationSantiago Pastorino2010-12-281-1/+1
* No need to symbolize these.José Valim2010-12-271-2/+4
* to_sym stuff before passing it to arelAaron Patterson2010-12-221-1/+1
* Added ActiveRecord::Base#has_secure_password (via ActiveModel::SecurePassword...David Heinemeier Hansson2010-12-181-0/+1
* Replace rudimentary named_scope with scope. [#6052 state:resolved]Pavel Gorbokon2010-12-151-2/+2
* Ensure that boolean false is properly serialized [#6079 state:resolved]Aditya Sanghi2010-12-081-1/+1
* We can use the keys of the @attributes hash here and avoid a method callSantiago Pastorino2010-12-051-1/+1
* use map instead of eachSantiago Pastorino2010-12-051-3/+1
* Base#[] and Base#[]= are aliases so implement them as aliases :)Santiago Pastorino2010-12-021-13/+11
* Doesn't need to sort, lets users of attribute_names sort them if they wantSantiago Pastorino2010-12-021-2/+2
* scope_for_create always returns somethingAaron Patterson2010-11-301-1/+3
* Partialy revert f1c13b0dd7b22b5f6289ca1a09f1d7a8c7c8584bJosé Valim2010-11-281-5/+5
* removes a couple of redundant selfsXavier Noria2010-11-261-2/+2
* Document the behavior of the dup method: does not preserve timestampsFranck Verrot2010-11-251-0/+1
* Typo in the comments of the clear_timestamp_attributes methodFranck Verrot2010-11-251-1/+1
* Dup should reset the timestamps as it is considered a new recordFranck Verrot2010-11-251-0/+11
* clone and dup are working on 1.8Aaron Patterson2010-11-231-3/+12
* fixing dup regressionsAaron Patterson2010-11-231-4/+8
* fixing more dup testsAaron Patterson2010-11-231-4/+4
* initialize_clone can go awayAaron Patterson2010-11-231-5/+0
* dup keeps changesAaron Patterson2010-11-231-28/+21
* dup is working betterAaron Patterson2010-11-231-4/+8
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2010-11-231-1/+2
|\
| * Merge branch 'master' of github.com:lifo/docrailsNeeraj Singh2010-11-221-19/+24
| |\
| * | Revert "unscoped takes care of named_scopes too"Neeraj Singh2010-11-221-1/+2
| * | unscoped takes care of named_scopes tooNeeraj Singh2010-11-171-2/+1
* | | Remove confusing parenthesis.Emilio Tagua2010-11-241-1/+1
* | | No need to define a local var here.Emilio Tagua2010-11-241-2/+1
| |/ |/|
* | unscoped takes care of named_scopes tooNeeraj Singh2010-11-211-2/+1
* | removed an AR method which wasn't used internally, had no tests, and had no docsJosh Kalderimis2010-11-201-4/+0
* | class inheritable attributes is used no more! all internal use of class inher...Josh Kalderimis2010-11-201-8/+12
* | replace and with && as per rails coding conventionNeeraj Singh2010-11-181-1/+1
* | remove the rescue block by returning a not asking Base for lookup_ancestors. ...Neeraj Singh2010-11-171-5/+2
* | revises RDoc of AR::Base#==Xavier Noria2010-11-161-1/+9
* | Models should be equals even after destroyedSantiago Pastorino2010-11-161-3/+3
|/
* Don't check if persisted is defined just initialize it properlySantiago Pastorino2010-11-091-1/+1
* use persisted? instead of new_record? wherever possibleDavid Chelimsky2010-11-091-8/+10
* renaming bind_values to binds where it makes senseAaron Patterson2010-10-261-2/+2
* one more mysql test left!Aaron Patterson2010-10-261-1/+1
* find_one uses prepared statement cacheAaron Patterson2010-10-261-0/+1
* exec returns an AR::ResultAaron Patterson2010-10-261-2/+2
* use a map and flatten to avoid << calls on arrayAaron Patterson2010-10-201-7/+5