aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/attribute_methods/primary_key.rb
Commit message (Expand)AuthorAgeFilesLines
* Enable `Layout/EmptyLinesAroundAccessModifier` copRyuta Kamizono2019-06-131-2/+0
* PERF: 20% faster pk attribute accessRyuta Kamizono2019-04-221-9/+7
* Fix dirty tracking after rollback.Ryuta Kamizono2019-04-161-6/+0
* Clarify no support for non PK id columnsGannon McGibbon2018-11-301-5/+6
* Add AR::Base.base_class? predicateBogdan Gusiev2018-04-021-1/+1
* Remove usage of strip_heredoc in the framework in favor of <<~Rafael Mendonça França2018-02-161-1/+1
* PERF: Partially recover some performance when preloading.Guo Xiang Tan2017-09-261-2/+4
* Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-191-0/+2
* Improve the performance of writing attributesEugene Kenny2017-06-181-1/+1
* Prevent extra `sync_with_transaction_state`Ryuta Kamizono2017-06-151-5/+2
* Avoid overwriting the methods of `AttributeMethods::PrimaryKey`Ryuta Kamizono2017-06-071-7/+3
* `self.` is not needed when calling its own instance methodAkira Matsuda2017-01-051-1/+1
* Fix Rubocop violations and fix documentation visibilityRafael Mendonça França2016-12-281-1/+1
* Privatize unneededly protected methods in Active RecordAkira Matsuda2016-12-241-2/+2
* Deprecate the behavior of AR::Dirty inside of after_(create|update|save) call...Sean Griffin2016-11-011-1/+6
* Fix broken heredoc indentation caused by rubocop auto-correctRyuta Kamizono2016-09-031-3/+3
* normalizes indentation and whitespace across the projectXavier Noria2016-08-061-67/+67
* applies new string literal convention in activerecord/libXavier Noria2016-08-061-4/+4
* Move the warning about composite primary key to `AttributeMethods::PrimaryKey`Ryuta Kamizono2016-07-021-1/+14
* applies new doc guidelines to Active Record.Yves Senn2015-10-141-2/+2
* Improve the performance of reading attributesSean Griffin2014-11-181-1/+1
* Reduce the amount of work performed when instantiating AR modelsSean Griffin2014-11-141-0/+1
* Define id_was to get the previous value of the primary keyRafael Mendonça França2014-08-061-1/+7
* Move writing unknown column exception to null attributeSean Griffin2014-06-261-5/+2
* Use a conditional rather than early return in `id`Sean Griffin2014-06-121-3/+4
* Fix performance regression on preloading HABTM associationsSean Griffin2014-06-121-0/+1
* safely publish columns and columns hash infoAaron Patterson2013-03-141-1/+1
* Reduced memory leak problem in transactions by lazily updating AR objects wit...wangjohn2013-02-201-0/+5
* change unless !blank? to if blank? in get_primary_keyAngelo capilleri2013-01-081-1/+1
* update AR/attribute_methods documentation [ci skip]Francesco Rodriguez2012-09-211-11/+15
* Set primary key with id= only if primary key existsGuillermo Iguaran2012-09-161-1/+1
* Remove mass assignment security from ActiveRecordGuillermo Iguaran2012-09-161-2/+1
* much code can be deleted thanks to @tenderlove's refactoringJon Leighton2012-03-281-6/+0
* Remove unusused variablesJon Leighton2012-03-041-3/+2
* move id_before_type_cast to PrimaryKey moduleSergey Nartimov2012-02-161-1/+10
* handle id attribute in PrimaryKey moduleSergey Nartimov2012-02-111-0/+6
* Expanded rdoc about primary keys being protected from mass assignment. Joost Baaij2012-01-061-1/+2
* remove deprecated set and original methods for table_name, primary_key, etcSergey Nartimov2011-12-211-9/+0
* Fix the build on postgres. Note: we should probably actually make schema muta...Jon Leighton2011-12-161-1/+1
* Don't store defaults in the schema cacheJon Leighton2011-12-161-2/+2
* Cache columns at the model level.Jon Leighton2011-12-161-2/+0
* Fix #3987.Jon Leighton2011-12-151-0/+2
* Use a separate module for 'external' attribute methods.Jon Leighton2011-12-141-3/+3
* use the schema cache when asking for the primary keyAaron Patterson2011-12-121-1/+1
* Revert "Roflscaling!" (for now)Jon Leighton2011-12-021-2/+2
* Roflscaling!Jon Leighton2011-12-011-2/+2
* Add test for read_attribute(:id) with non-standard PK.Jon Leighton2011-12-011-0/+14
* Get rid of the underscore versions of attribute methods!Jon Leighton2011-12-011-2/+1
* If the table behind has no primary key, do not ask again and just return nil.Julius de Bruijn2011-11-301-1/+2
* Use inheritance to avoid special-case code for the 'id' methodJon Leighton2011-11-301-0/+20