Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | | | Ensure attribute methods are included after all the AR stuff | Jon Leighton | 2011-12-24 | 1 | -0/+1 | |
| | | | | | ||||||
* | | | | | Fix #exists? for AR::Model | Jon Leighton | 2011-12-24 | 1 | -0/+5 | |
| | | | | | ||||||
* | | | | | Make generated_feature_methods work with ActiveRecord::Model | Jon Leighton | 2011-12-24 | 1 | -0/+4 | |
| | | | | | ||||||
* | | | | | Fixtures support for ActiveRecord::Model | Jon Leighton | 2011-12-24 | 1 | -0/+12 | |
| | | | | | ||||||
* | | | | | Deal with global config better between AR::Base and AR::Model | Jon Leighton | 2011-12-24 | 3 | -0/+36 | |
| | | | | | ||||||
* | | | | | Add test for inheritance from a non-AR superclass | Jon Leighton | 2011-12-24 | 1 | -0/+8 | |
| | | | | | ||||||
* | | | | | Extract common logic into a method | Jon Leighton | 2011-12-24 | 2 | -0/+4 | |
| | | | | | ||||||
* | | | | | I herd you like modules. | Jon Leighton | 2011-12-24 | 2 | -1/+37 | |
| | | | | | ||||||
* | | | | | stop test resetting global state | Jon Leighton | 2011-12-23 | 1 | -0/+6 | |
| | | | | | ||||||
* | | | | | Fix #4046. | Jon Leighton | 2011-12-23 | 3 | -0/+22 | |
| | | | | | ||||||
* | | | | | serialize fails on subclass | Alvaro Bautista | 2011-12-23 | 2 | -6/+26 | |
| | | | | | ||||||
* | | | | | Make ActiveRecord::Relation#pluck work with serialized attributes | Jon Leighton | 2011-12-22 | 1 | -1/+8 | |
| | | | | | ||||||
* | | | | | Revert "Merge pull request #4114 from ↵ | Jon Leighton | 2011-12-22 | 1 | -36/+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 Leighton | 2011-12-22 | 1 | -23/+36 | |
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | 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/suffix | Alexey Muranov | 2011-12-22 | 1 | -23/+36 | |
| | | | | | | | | | | | | | | | | | | 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. | |||||
* | | | | | | Merge pull request #4122 from qoobaa/mass_assignment_with_associated_object | José Valim | 2011-12-21 | 2 | -5/+63 | |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | 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źma | 2011-12-21 | 2 | -5/+63 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | strict mass assignment sanitizer, fixed build_record to not merge creation_attributes, removed failing nested attributes tests (that feature was broken anyway) #4051 | |||||
* | | | | | | | remove deprecated set and original methods for table_name, primary_key, etc | Sergey Nartimov | 2011-12-21 | 2 | -203/+0 | |
| |/ / / / / |/| | | | | | ||||||
* | | | | | | remove deprecated underscore versions of attribute methods | Sergey Nartimov | 2011-12-21 | 1 | -8/+0 | |
| | | | | | | ||||||
* | | | | | | remove requires of core_ext/array/random_access that no longer exists | lest | 2011-12-21 | 2 | -2/+0 | |
|/ / / / / | ||||||
* | | | | | More tests deep including through habtm | Arun Agrawal | 2011-12-21 | 1 | -0/+7 | |
| | | | | | | | | | | | | | | | fixes #3183 | |||||
* | | | | | 'with_kcode' removed. | Arun Agrawal | 2011-12-21 | 2 | -25/+19 | |
| | | | | | | | | | | | | | | | | | | | | Testing Sandbox removed. | |||||
* | | | | | Removed test which works only < 1.9 | Arun Agrawal | 2011-12-21 | 3 | -34/+0 | |
| | | | | | ||||||
* | | | | | No Ruby 1.8 stuff. No more checks in code. | Arun Agrawal | 2011-12-21 | 2 | -25/+0 | |
| | | | | | ||||||
* | | | | | skip hstore tests on PG databases that do not have hstore | Aaron Patterson | 2011-12-20 | 1 | -2/+8 | |
| | | | | | ||||||
* | | | | | making sure updates work | Aaron Patterson | 2011-12-20 | 1 | -7/+13 | |
| | | | | | ||||||
* | | | | | hstores can cycle | Aaron Patterson | 2011-12-20 | 1 | -2/+26 | |
| | | | | | ||||||
* | | | | | can create hstore records via AR API | Aaron Patterson | 2011-12-20 | 1 | -0/+7 | |
| | | | | | ||||||
* | | | | | multiple key / values work | Aaron Patterson | 2011-12-20 | 1 | -0/+6 | |
| | | | | | ||||||
* | | | | | PostgreSQL hstore types are automatically deserialized from the database. | Aaron Patterson | 2011-12-20 | 1 | -0/+16 | |
| | | | | | ||||||
* | | | | | pg columns should understand the hstore type | Aaron Patterson | 2011-12-20 | 1 | -0/+24 | |
| | | | | | ||||||
* | | | | | remove more uses of deprecated loggers | Karunakar (Ruby) | 2011-12-21 | 1 | -2/+2 | |
| | | | | | ||||||
* | | | | | Merge pull request #4035 from lest/date-type-cast | Aaron Patterson | 2011-12-20 | 1 | -0/+8 | |
|\ \ \ \ \ | | | | | | | | | | | | | handle not only strings in date type cast | |||||
| * | | | | | handle not only strings in date type cast | Sergey Nartimov | 2011-12-19 | 1 | -0/+8 | |
| | | | | | | ||||||
* | | | | | | remove more uses of deprecated logger methods | Aaron Patterson | 2011-12-19 | 3 | -6/+8 | |
|/ / / / / | ||||||
* | | | | | Merge pull request #4014 from lest/bypass-preloading-for-ids-reader | Jon Leighton | 2011-12-18 | 1 | -0/+6 | |
|\ \ \ \ \ | | | | | | | | | | | | | bypass preloading for ids_reader | |||||
| * | | | | | bypass preloading for ids_reader | Sergey Nartimov | 2011-12-18 | 1 | -0/+6 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | when fetching ids for a collection, bypass preloading to avoid the unnecessary performance overhead | |||||
* | | | | | | call scope within unscoped to prevent duplication of where values | Sergey Nartimov | 2011-12-17 | 1 | -0/+5 | |
|/ / / / / | ||||||
* | | | | | Delete obsolete comment | Jon Leighton | 2011-12-16 | 1 | -1/+0 | |
| | | | | | ||||||
* | | | | | Should clear the primary keys cache also | Jon Leighton | 2011-12-16 | 1 | -1/+5 | |
| | | | | | ||||||
* | | | | | Don't store defaults in the schema cache | Jon Leighton | 2011-12-16 | 2 | -1/+2 | |
| | | | | | ||||||
* | | | | | Cache columns at the model level. | Jon Leighton | 2011-12-16 | 4 | -21/+34 | |
| | | | | | | | | | | | | | | | | | | | | Allows two models to use the same table but have different primary keys. | |||||
* | | | | | Let AttributeMethods do its own including etc | Jon Leighton | 2011-12-15 | 1 | -4/+2 | |
| | | | | | ||||||
* | | | | | Split out most of the AR::Base code into separate modules :cake: | Jon Leighton | 2011-12-15 | 1 | -13/+0 | |
| | | | | | ||||||
* | | | | | Fix #3987. | Jon Leighton | 2011-12-15 | 1 | -0/+10 | |
| | | | | | ||||||
* | | | | | Allow nested attributes in associations to update values in it's owner ↵ | Andrew Kaspick | 2011-12-14 | 1 | -0/+5 | |
| | | | | | | | | | | | | | | | | | | | | object. Fixes a regression from 3.0.x | |||||
* | | | | | Remove that there copy/pasted code :bomb: | Jon Leighton | 2011-12-14 | 1 | -5/+0 | |
| | | | | | ||||||
* | | | | | Don't try to autosave nested assocs. Fixes #2961. | Jon Leighton | 2011-12-14 | 1 | -0/+14 | |
| | | | | | ||||||
* | | | | | Stop the build asploding on 1.8.7 | Jon Leighton | 2011-12-14 | 1 | -0/+4 | |
| | | | | | ||||||
* | | | | | Add return for 1.8.7 | Jon Leighton | 2011-12-14 | 1 | -1/+1 | |
| | | | | |