aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/base.rb
Commit message (Expand)AuthorAgeFilesLines
* 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
* | remove useless class_evalAaron Patterson2011-11-281-2/+0
* | pushing caching and visitors down to the connectionAaron Patterson2011-11-191-9/+9
|/
* self.up, self.down => up, downAkira Matsuda2011-11-071-2/+2
* Update ActiveRecord#attribute_present? to work as documentedJustin Mazzi2011-11-051-1/+2
* Add ActiveRecord::Relation#uniq for toggling DISTINCT in the SQL queryJon Leighton2011-11-051-1/+3
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2011-10-141-2/+2
|\
| * change activerecord query conditions example to avoid 'type' as column nameSteve Bourne2011-10-121-2/+2
* | Added ActiveRecord::Base.store for declaring simple single-column key/value s...David Heinemeier Hansson2011-10-131-1/+1
|/
* Revert "Raise error on unknown primary key."Jon Leighton2011-10-051-5/+4
* Raise error on unknown primary key.Jon Leighton2011-10-051-4/+5
* Don't require a DB connection when setting primary key.Jon Leighton2011-09-261-0/+4
* Rename first_or_new to first_or_initialize.Jon Leighton2011-09-131-1/+1
* Always generate attribute methods on the base class.Jon Leighton2011-09-131-1/+1
* Adding first_or_create, first_or_create!, first_or_new and first_or_build to ...Andrés Mejía2011-08-301-0/+1
* Move clear_timestamp_attributes into Timestamp moduleJon Leighton2011-08-291-9/+1
* do not compute table names for abstract classesAkira Matsuda2011-08-241-0/+2
* In 1efd88283ef68d912df215125951a87526768a51, ConnectionAdapters was put under...Jon Leighton2011-08-161-1/+2
* Merge branch 'master' of github.com:lifo/docrailsXavier Noria2011-08-131-0/+4
|\
| * Document exclamation point on dynamic findersFlorent Guilleux2011-08-131-0/+4
| * Revert "Explicitly included hashes in sentence regarding SQL-injection-safe f...Xavier Noria2011-08-131-3/+3
| * Explicitly included hashes in sentence regarding SQL-injection-safe formsPete Campbell2011-07-281-3/+3
* | Perf: don't mess around with thread local vars unless we actually need toJon Leighton2011-08-131-18/+23
* | Fix default scope thread safety. Thanks @thedarkone for reporting.Jon Leighton2011-08-131-15/+26
* | Fully marshal AR::Base objects. Fixes #2431.Jon Leighton2011-08-081-21/+0
* | Make it the responsibility of the connection to hold onto an ARel visitor for...Jon Leighton2011-08-081-2/+1
* | Revert "Explicitly included hashes in sentence regarding SQL-injection-safe f...Xavier Noria2011-08-041-3/+3
* | Explicitly included hashes in sentence regarding SQL-injection-safe formsPete Campbell2011-08-041-3/+3
|/
* fix after_initialize edge case (close #2074 and close #2175)Les Fletcher2011-07-241-2/+1
* Merge pull request #2185 from castlerock/lazy_load_abstract_adapterAaron Patterson2011-07-231-2/+0
|\
| * lazy load ConnectionAdapters remove require.Vishnu Atrai2011-07-221-2/+0
* | Merge pull request #2086 from amatsuda/date_multiparameter_nilXavier Noria2011-07-231-3/+6
|\ \
| * | convert multiple Date parameters into a nil if any of its bits were blankAkira Matsuda2011-07-151-3/+6
* | | Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-07-231-1/+1
|\ \ \ | |_|/ |/| |
| * | use simpler words in docsVijay Dev2011-07-101-1/+1
* | | Refactor the code a bit to reduce the duplicationPrem Sichanugrist2011-07-171-17/+8
* | | Raise an ArgumentError if user passing less number of argument in the dynamic...Prem Sichanugrist2011-07-171-0/+10
| |/ |/|
* | Fix and unit test for https://github.com/rails/rails/issues/2059Evan Light2011-07-141-1/+2
|/
* Merge pull request #1273 from jeremyf/feature-association-proxy-sendSantiago Pastorino2011-07-061-1/+1
|\
| * Addresses an inconsistency in the ActiveRecord::Base.method_missing handling ...Jeremy Friesen2011-05-241-1/+1
* | Use an instance variable to store the current masss assignment optionsAndrew White2011-07-041-9/+14