aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record
Commit message (Expand)AuthorAgeFilesLines
...
* | | allow to pass Symbol or Proc into :limit option of #accepts_nested_attributes...Mikhail Dieterle2012-08-261-3/+13
* | | use Hash#fetch to eliminate conditionalAaron Patterson2012-08-241-8/+3
* | | call methods on AR::Model after ClassMethods module is definedAaron Patterson2012-08-241-1/+2
* | | Extract ActiveRecord::SessionStore from RailsPrem Sichanugrist2012-08-242-380/+0
* | | ivar will always be defined, so stop checkingAaron Patterson2012-08-231-3/+1
* | | Model.select takes a variable list of arguments.Isaac Sanders2012-08-231-11/+12
* | | Update the documentation for the :autosave optionDavid Celis2012-08-231-1/+3
* | | Merge pull request #6606 from amatsuda/ar_relation_model_methodRafael Mendonça França2012-08-211-0/+1
|\ \ \
| * | | AR::Relation#model would be a better API than AR::Relation#klassAkira Matsuda2012-06-031-0/+1
* | | | Get rid of config.preload_frameworks in favor of config.eager_load_namespacesJosé Valim2012-08-211-0/+3
* | | | reset_counters() was crashing when there were multiple belongs_to association...Dave Desrochers2012-08-211-1/+1
* | | | Refactor AR::Result or inherits. Because we have redundant codes aboutkennyj2012-08-223-18/+4
* | | | 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-171-5/+5
|/ / / /
* | | | 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