aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
Commit message (Expand)AuthorAgeFilesLines
* Use instance_accessor: false instead of instance_writer.kennyj2012-08-213-4/+14
* Round usec when writing timestamp attribute.kennyj2012-08-211-5/+14
* Minor refactoring in Active Record model schema methodsCarlos Antonio da Silva2012-08-211-5/+3
* initialize instance variables for transactions to remove conditionalsAaron Patterson2012-08-202-8/+7
* This method is useless without a block, so remove testAaron Patterson2012-08-201-11/+9
* remove unused variableAaron Patterson2012-08-201-1/+1
* initialize instance variables to avoid conditionalsAaron Patterson2012-08-201-2/+7
* fix whitespace errorsAaron Patterson2012-08-201-2/+2
* Remove private verify readonly attr methodCarlos Antonio da Silva2012-08-191-5/+1
* Fix "last equality wins" logic in relation mergeErnie Miller2012-08-191-10/+5
* Merge pull request #7377 from brainopia/use_inversed_parent_for_first_and_las...Carlos Antonio da Silva2012-08-181-1/+1
|\
| * Use inversed parent for first and last child of has_many associationbrainopia2012-08-181-1/+1
* | Get rid of some arguments by using the accessorsCarlos Antonio da Silva2012-08-181-30/+31
* | Move multiparameter attribute logic to a classCarlos Antonio da Silva2012-08-181-72/+84
* | Some more cleanup to use Hash#values_at, and some method docsCarlos Antonio da Silva2012-08-181-3/+7
* | Use cached column information to instantiate time objectCarlos Antonio da Silva2012-08-181-6/+6
* | Refactor blank date parameter validationCarlos Antonio da Silva2012-08-181-2/+6
* | Refactor missing parameter validation based on positionCarlos Antonio da Silva2012-08-181-7/+12
* | Reuse already fetched column to check for :timeCarlos Antonio da Silva2012-08-181-5/+6
* | Refactor some code in multiparameter assignmentCarlos Antonio da Silva2012-08-181-26/+25
* | Extract nested parameter assignment to a separate methodCarlos Antonio da Silva2012-08-181-3/+6
|/
* Merge pull request #7380 from ernie/fix-nomethoderror-on-non-attribute-equali...Aaron Patterson2012-08-171-2/+5
|\
| * Fix merge error when Equality LHS is non-attributeErnie Miller2012-08-171-2/+5
* | Pull more serialize code into a lazy included moduleJon Leighton2012-08-171-60/+63
* | don't call method unless we need toJon Leighton2012-08-171-1/+1
* | align them assignmentsJon Leighton2012-08-171-4/+4
* | Optimize for the happy pathJon Leighton2012-08-171-11/+14
* | Avoid #any?Jon Leighton2012-08-171-1/+1
* | The default value can be set once in #column_defaultsJon Leighton2012-08-172-9/+16
* | Optimize instantiation for models which don't use serializeJon Leighton2012-08-171-13/+20
* | Avoid deep_dup when intantiating.Jon Leighton2012-08-171-2/+5
* | column default extraction should handle newlines.Aaron Patterson2012-08-171-2/+2
* | Merge pull request #7352 from aripollak/microsecond-timestampRafael Mendonça França2012-08-171-2/+2
|\ \ | |/ |/|
| * Fix occasional microsecond conversion inaccuracyAri Pollak2012-08-151-2/+2
* | Renaming active_record_deprecated_finders to activerecord-deprecated_findersJon Leighton2012-08-172-6/+6
|/
* Merge pull request #7133 from roshats/fix_update_all_with_blank_argumentCarlos Antonio da Silva2012-08-151-1/+3
|\
| * raise ArgumentError if list of attributes to change is empty in update_allRoman Shatsov2012-08-141-1/+3
* | Restore state on create when ActiveRecord::RecordInvalid is raisedDave Yeu2012-08-111-1/+1
* | fixup guides in light of :dependent changesJon Leighton2012-08-101-7/+7
* | Use method compilation for association methodsJon Leighton2012-08-105-64/+62
* | DRY up handling of dependent optionJon Leighton2012-08-105-63/+22
* | Unprivatise all the thingsJon Leighton2012-08-107-170/+156
* | move dependency logic out of generated methodsJon Leighton2012-08-107-65/+64
* | Clean up dependent option validation.Jon Leighton2012-08-104-14/+7
* | Remove the dependent_restrict_raises option.Jon Leighton2012-08-105-43/+38
* | Fix #7191. Remove unnecessary transaction when assigning has_one associations.kennyj2012-08-081-13/+15
* | Merge pull request #7140 from seamusabshere/patch-1Rafael Mendonça França2012-08-051-2/+2
|\ \
| * | Make sure :environment task is executed before db:schema:load or db:structure...Seamus Abshere2012-07-231-2/+2
| |/
* | removes usage of Object#in? from the code base (the method remains defined by...Xavier Noria2012-08-066-15/+17
* | Changing AR:CollectionAssociation#empty? to use #exists?beerlington2012-08-051-3/+11