aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
Commit message (Collapse)AuthorAgeFilesLines
* Intercept sends in Model::DeprecationProxyJon Leighton2011-12-242-1/+5
|
* deprecate String#encoding_aware? and remove its usageSergey Nartimov2011-12-243-23/+11
|
* Fix position of load hook so that Base has been defined and included Model ↵Jon Leighton2011-12-242-3/+6
| | | | before it runs
* Add some doc for ActiveRecord::ModelJon Leighton2011-12-242-3/+38
|
* Add test to ensure AR::Model initialization works correctlyJon Leighton2011-12-241-0/+5
|
* Add deprecation for the change to the active_record load hookJon Leighton2011-12-242-1/+38
|
* Support nested AR::ModelsJon Leighton2011-12-243-1/+13
|
* auto_explain_threshold_in_seconds should be a global config option so it can ↵Jon Leighton2011-12-241-8/+3
| | | | be shared between AR::Base and AR::Model
* Don't include anything else if AR::Model has already been includedJon Leighton2011-12-242-0/+7
|
* Make PredicateBuilder recognise AR::ModelJon Leighton2011-12-242-2/+8
|
* Ensure attribute methods are included after all the AR stuffJon Leighton2011-12-243-2/+3
|
* Fix #exists? for AR::ModelJon Leighton2011-12-242-1/+6
|
* Make generated_feature_methods work with ActiveRecord::ModelJon Leighton2011-12-242-4/+13
|
* Fixtures support for ActiveRecord::ModelJon Leighton2011-12-244-1/+17
|
* Deal with global config better between AR::Base and AR::ModelJon Leighton2011-12-2412-83/+147
|
* Add test for inheritance from a non-AR superclassJon Leighton2011-12-242-0/+19
|
* Extract common logic into a methodJon Leighton2011-12-247-28/+34
|
* I herd you like modules.Jon Leighton2011-12-2415-71/+153
|
* Start work towards making AR include-able.Jon Leighton2011-12-244-369/+390
|
* Tidy up migration types.José Valim2011-12-244-11/+10
|
* added ability to specify from cli when generating a model/migration whether ↵Dmitrii Samoilov2011-12-244-7/+16
| | | | particular property should be an index like this 'rails g model person name:string:index profile:string'
* Merge pull request #4149 from castlerock/remove_1.8_stuffJosé Valim2011-12-241-7/+0
|\ | | | | remove ruby 1.8 stuff method skip to support ruby 1.8 series
| * remove ruby 1.8 stuff skip hack from ARVishnu Atrai2011-12-231-7/+0
| |
* | stop test resetting global stateJon Leighton2011-12-231-0/+6
| |
* | Fix situation where id method didn't get defined causing postgres to failJon Leighton2011-12-231-4/+3
| |
* | Doh, remove debugging lineJon Leighton2011-12-231-1/+0
| |
* | Fix #4046.Jon Leighton2011-12-235-46/+58
| |
* | serialize fails on subclassAlvaro Bautista2011-12-234-6/+32
|/
* Reconnect to the first database after db:createTsutomu Kuroda2011-12-231-0/+1
| | | | | Otherwise, the schema and seed will be loaded onto the test database.
* Fix build when IM=trueJon Leighton2011-12-221-4/+3
|
* Delete unnecessary line that was necessary before I changed the code and it ↵Jon Leighton2011-12-221-1/+0
| | | | became no longer necessary.
* removes some unnecessary selfsXavier Noria2011-12-201-3/+3
|
* Remove 1.8 backportJon Leighton2011-12-221-9/+0
|
* Make ActiveRecord::Relation#pluck work with serialized attributesJon Leighton2011-12-222-5/+12
|
* Make read_attribute code path accessible at the class levelJon Leighton2011-12-225-56/+48
|
* Revert "Merge pull request #4114 from ↵Jon Leighton2011-12-222-78/+23
| | | | | | | | | alexeymuranov/my_fix_for_prefix_suffix_fixtures_test" This reverts commit f8e484d0f71114675ed04e987914d3f2815cb868, reversing changes made to fa5adfb1e884bf21a7071ade634a820e37ac4db4. Reason: broke the postgres tests.
* Merge pull request #4114 from ↵Jon Leighton2011-12-222-23/+78
|\ | | | | | | | | alexeymuranov/my_fix_for_prefix_suffix_fixtures_test Fix a fixtures test case with table prefix/suffix
| * Fix a fixtures test case with table prefix/suffixAlexey Muranov2011-12-222-23/+78
| | | | | | Make sure the table name of a model is reset in a test case after assigning ActiveRecord::Base.table_name_prefix and ActiveRecord::Base.table_name_suffix. This was somebody else's test case, so an independent opinion on the change can be helpful.
* | DeprecatedUnderscoreRead does not exist anymoreAaron Patterson2011-12-211-1/+0
| |
* | Merge pull request #4122 from qoobaa/mass_assignment_with_associated_objectJosé Valim2011-12-214-13/+66
|\ \ | | | | | | added failing tests for has_many, has_one and belongs_to associations wi...
| * | added failing tests for has_many, has_one and belongs_to associations with ↵Jakub Kuźma2011-12-214-13/+66
| | | | | | | | | | | | strict mass assignment sanitizer, fixed build_record to not merge creation_attributes, removed failing nested attributes tests (that feature was broken anyway) #4051
* | | Merge pull request #4109 from Karunakar/test1José Valim2011-12-211-2/+2
|\ \ \ | | | | | | | | Changed the old logger to new active support logger
| * | | Changed the old logger to new active support loggerKarunakar (Ruby)2011-12-211-2/+2
| | | |
* | | | remove deprecated set and original methods for table_name, primary_key, etcSergey Nartimov2011-12-215-276/+1
| |_|/ |/| |
* | | remove deprecated underscore versions of attribute methodsSergey Nartimov2011-12-213-41/+0
| | |
* | | removing deprecated methodsAaron Patterson2011-12-211-28/+0
| | |
* | | remove requires of core_ext/array/random_access that no longer existslest2011-12-212-2/+0
| |/ |/|
* | More tests deep including through habtmArun Agrawal2011-12-211-0/+7
| | | | | | fixes #3183
* | 'with_kcode' removed. Arun Agrawal2011-12-213-38/+19
| | | | | | | | Testing Sandbox removed.
* | Removed test which works only < 1.9Arun Agrawal2011-12-213-34/+0
| |