aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/base.rb
Commit message (Expand)AuthorAgeFilesLines
* Do not override attributes on `dup` by default scopesHiroshige Umino2013-02-261-1/+0
* Duplicate column_defaults properlyPiotr Sarnacki2013-02-031-1/+2
* handled respond_to? with private methodsSHIBATA Hiroshi2012-12-031-1/+1
* backport 68677ffb8298105eb9d3efa26d928dd88cc5e006Evan Petrie2012-09-281-4/+3
* Merge pull request #3544 from amatsuda/_field_changedAaron Patterson2012-09-211-1/+1
* AR::Integration must be included after AM::ConversionJohn Firebaugh2012-07-171-1/+1
* Revert "Removes unneeded caching from ActiveRecord::Base.relation"Philip Arndt2012-05-311-3/+4
* Merge pull request #5810 from kennyj/fix_5797Aaron Patterson2012-05-301-1/+1
* Removes unneeded caching from ActiveRecord::Base.relationBenedikt Deicke2012-04-191-4/+3
* [3-2-stable] Fix GH #5399. connection_pools's keys are ActiveRecord::Base::Co...kennyj2012-03-141-1/+1
* Add documentation for find_or_create_by_{attribute}! method.Andrew White2012-03-121-0/+3
* Fix attribute_before_type_cast for serialized attributes. Fixes #4837.Jon Leighton2012-02-071-0/+2
* Fix another race condition.Jon Leighton2012-01-201-3/+10
* Make read_attribute code path accessible at the class levelJon Leighton2011-12-221-6/+3
* AS::Concern is not really needed for AR::ExplainXavier Noria2011-12-161-1/+1
* Move DefaultScope and NamedScope under ScopingJon Leighton2011-12-151-2/+1
* Let AttributeMethods do its own including etcJon Leighton2011-12-151-17/+0
* Split out most of the AR::Base code into separate modules :cake:Jon Leighton2011-12-151-1578/+58
* Make with_scope public so we stop using send :bomb:José Valim2011-12-151-90/+91
* Allow nested attributes in associations to update values in it's owner object...Andrew Kaspick2011-12-141-1/+11
* Cache column defaults on model. ~30% on Model.new due to avoiding repeatedly ...Jon Leighton2011-12-141-2/+2
* Use `table_exists?` from the schema cache.Aaron Patterson2011-12-091-1/+1
* Remove NilClass whiners feature.José Valim2011-12-081-2/+0
* Merge pull request #3851 from ebeigarts/fix_sequence_nameJon Leighton2011-12-041-2/+2
|\
| * Fix sequence name with abstract classes.Edgars Beigarts2011-12-041-2/+2
* | Merge branch 'explain'Xavier Noria2011-12-041-0/+1
|\ \ | |/ |/|
| * implements a much faster auto EXPLAIN, closes #3843 [José Valim & Xavier Noria]Xavier Noria2011-12-041-0/+1
* | Refactor readonly attributes conditionalCarlos Antonio da Silva2011-12-041-1/+2
|/
* removes the convenience instance version of AR::Base.silence_auto_explainXavier Noria2011-12-031-1/+1
* implements AR::Base(.|#)silence_auto_explainXavier Noria2011-12-021-1/+1
* implements automatic EXPLAIN logging for slow queriesXavier Noria2011-12-021-1/+9
* Remove the need for type_cast_attribute.Jon Leighton2011-12-011-1/+1
* Get rid of the underscore versions of attribute methods!Jon Leighton2011-12-011-0/+1
* Revert "Added ActiveRecord::Base#last_modified to work with the new fresh_whe...David Heinemeier Hansson2011-12-011-7/+0
* Added ActiveRecord::Base#last_modified to work with the new fresh_when/stale?...David Heinemeier Hansson2011-12-011-0/+7
* Add hackery to make Syck use encode_with/init_with. Fixes 1.8 after recent ch...Jon Leighton2011-12-011-0/+20
* omg computer science!Jon Leighton2011-11-301-2/+2
* Move some serialization stuff out of BaseJon Leighton2011-11-301-40/+0
* Extract attribute serialization code into a separate moduleJon Leighton2011-11-301-0/+1
* ActiveRecord::Relation#pluck methodBogdan Gusiev2011-11-301-1/+1
* Fix ruby 1.8 compat. const_defined? only takes a second arg on 1.9.Jon Leighton2011-11-291-3/+4
* Deprecated `define_attr_method` in `ActiveModel::AttributeMethods`Jon Leighton2011-11-291-2/+2
* Make sure the original_foo accessor still works (but deprecated) if we are us...Jon Leighton2011-11-291-6/+31
* extract methodJon Leighton2011-11-291-49/+25
* Deprecate set_sequence_name in favour of self.sequence_name=Jon Leighton2011-11-291-11/+28
* Add tests for set_sequence_name etcJon Leighton2011-11-291-1/+1
* Deprecate set_inheritance_column in favour of self.inheritance_column=Jon Leighton2011-11-291-17/+29
* Deprecate set_table_name in favour of self.table_name= or defining your own m...Jon Leighton2011-11-291-22/+59
* Merge pull request #3636 from joshsusser/masterJon Leighton2011-11-291-0/+14
|\
| * use GeneratedFeatureMethods module for associationsJosh Susser2011-11-271-0/+14