aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/base_test.rb
Commit message (Expand)AuthorAgeFilesLines
...
* Cache columns at the model level.Jon Leighton2011-12-161-2/+2
* Split out most of the AR::Base code into separate modules :cake:Jon Leighton2011-12-151-13/+0
* Fix sequence name with abstract classes.Edgars Beigarts2011-12-041-0/+10
* Create method with known identifier then alias into place.Jon Leighton2011-12-011-0/+2
* Deprecated `define_attr_method` in `ActiveModel::AttributeMethods`Jon Leighton2011-11-291-21/+12
* Deprecate set_primary_key in favour of self.primary_key=Jon Leighton2011-11-291-2/+26
* Make sure the original_foo accessor still works (but deprecated) if we are us...Jon Leighton2011-11-291-7/+55
* Deprecate set_sequence_name in favour of self.sequence_name=Jon Leighton2011-11-291-2/+6
* Add tests for set_sequence_name etcJon Leighton2011-11-291-0/+22
* Deprecate set_inheritance_column in favour of self.inheritance_column=Jon Leighton2011-11-291-2/+7
* Deprecate set_table_name in favour of self.table_name= or defining your own m...Jon Leighton2011-11-291-7/+20
* Merge pull request #3636 from joshsusser/masterJon Leighton2011-11-291-0/+9
|\
| * use GeneratedFeatureMethods module for associationsJosh Susser2011-11-271-0/+9
* | `ActiveRecord::Base#becomes` should retain the errors of the original object.James Adam2011-11-161-0/+8
|/
* Add ActiveRecord::Relation#uniq for toggling DISTINCT in the SQL queryJon Leighton2011-11-051-0/+6
* Revert "Raise error on unknown primary key."Jon Leighton2011-10-051-0/+4
* Raise error on unknown primary key.Jon Leighton2011-10-051-4/+0
* Rename first_or_new to first_or_initialize.Jon Leighton2011-09-131-10/+2
* Add missing require in base_test.rb, fixes isolated testGuillermo Iguaran2011-09-091-0/+1
* Merge pull request #2757 from andmej/first_or_create_pull_requestJon Leighton2011-09-081-0/+31
|\
| * Adding first_or_create, first_or_create!, first_or_new and first_or_build to ...Andrés Mejía2011-08-301-0/+31
* | Disable active record marshalling tests on Ruby 1.8.7 on Travis CI, as they h...Jon Leighton2011-09-061-0/+15
* | Need to add here to pass the testArun Agrawal2011-09-031-0/+1
|/
* Merge pull request #2750 from rsim/fix_test_column_names_are_escaped_for_oracleJon Leighton2011-08-301-1/+7
* do not compute table names for abstract classesAkira Matsuda2011-08-241-0/+4
* prevent sql injection attacks by escaping quotes in column namesAaron Patterson2011-08-161-0/+17
* Work around for lolruby bug. (Read on for explanation.)Jon Leighton2011-08-131-3/+8
* Fully marshal AR::Base objects. Fixes #2431.Jon Leighton2011-08-081-0/+13
* Make it the responsibility of the connection to hold onto an ARel visitor for...Jon Leighton2011-08-081-19/+0
* remove deprication warning: ambiguous first argument; put parentheses or even...Vishnu Atrai2011-07-261-1/+1
* Revert "allow select to have multiple arguments"Piotr Sarnacki2011-07-261-5/+0
* allow select to have multiple argumentsSławosz Sławiński2011-07-261-0/+5
* use existing model for testing Base.create with #after_initializeGabriel Horner2011-07-241-9/+7
* simplify and be more explicit about create and after_initialize testsGabriel Horner2011-07-241-18/+10
* fix after_initialize edge case (close #2074 and close #2175)Les Fletcher2011-07-241-0/+23
* Merge pull request #2086 from amatsuda/date_multiparameter_nilXavier Noria2011-07-231-24/+9
|\
| * convert multiple Date parameters into a nil if any of its bits were blankAkira Matsuda2011-07-151-24/+9
* | bigdecimal should be typecast to a float on sqlite3. fixes #2162Aaron Patterson2011-07-201-0/+11
|/
* Fix and unit test for https://github.com/rails/rails/issues/2059Evan Light2011-07-141-2/+27
* ActiveRecord::Base should pass ActiveModel::Lint.Grant Hutchins & Peter Jaros2011-07-081-0/+10
* comparing different classes returns nilDamien Mathieu2011-06-261-0/+6
* allow comparison on model objects - Closes #1858Damien Mathieu2011-06-261-0/+7
* please use ruby -I lib:test path/to/test.rb, or export RUBY_OPTAaron Patterson2011-06-061-1/+1
* Refactor Active Record test connection setup. Please see the RUNNING_UNIT_TES...Jon Leighton2011-06-041-1/+1
* Raise NameError instead of ArgumentError in ActiveSupport::DependenciesAndrew White2011-06-011-0/+7
* removed deprecated methods, and related tests, from ActiveRecordJosh Kalderimis2011-05-251-7/+0
* Allow pluralize_table_names for individual modelGuillermo Iguaran2011-05-201-0/+9
* Add ActiveRecord::attribute_names to retrieve a list of attribute names. This...Prem Sichanugrist2011-05-151-0/+13
* Fix assigning protected attributes by attributes=knapo2011-05-111-2/+7
* minor cleaningVishnu Atrai2011-05-101-1/+1