Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | moving the table and index test to it's own file | Aaron Patterson | 2012-01-12 | 2 | -19/+24 |
| | |||||
* | Fix table_name in ActiveRecord with more than one abstract ancestors | Piotr Sarnacki | 2012-01-12 | 1 | -0/+11 |
| | | | | | | | | | | | | | | | | | When subclassing abstract_class table_name should be always computed based on class name, no matter if superclass is subclassing base or another abstract_class. So: class FirstAbstract < ActiveRecord::Base self.abstract_class = true end class SecondAbstract < FirstAbstract self.abstract_class = true end class Post < SecondAbstract self.table_name #=> 'posts' (not 'second_abstracts') end | ||||
* | on and ON are type casted to a true boolean column | Santiago Pastorino | 2012-01-11 | 1 | -0/+29 |
| | |||||
* | Test that #[] and #[]= keep working when #read_attribute and ↵ | Tom Stuart | 2012-01-11 | 1 | -0/+33 |
| | | | | #write_attribute are overridden | ||||
* | Test ActiveRecord::Base#[]= as well as #write_attribute | Tom Stuart | 2012-01-11 | 1 | -1/+7 |
| | |||||
* | all tested database support migrations, so stop making the tests conditional | Aaron Patterson | 2012-01-10 | 1 | -1436/+1434 |
| | |||||
* | adding missing require | Aaron Patterson | 2012-01-10 | 1 | -0/+2 |
| | |||||
* | move column ordering tests to it's own class | Aaron Patterson | 2012-01-10 | 2 | -46/+58 |
| | |||||
* | refactoring migration test | Aaron Patterson | 2012-01-10 | 2 | -447/+415 |
| | |||||
* | migrate(:down) method with table_name_prefix | kennyj | 2012-01-11 | 1 | -0/+12 |
| | |||||
* | Merge pull request #4370 from EnlightSolutions/validates_unique_association | Aaron Patterson | 2012-01-09 | 1 | -0/+24 |
|\ | | | | | Validates unique association | ||||
| * | allow association as 1st uniqueness validation arg | Dan Pickett | 2012-01-06 | 1 | -0/+12 |
| | | | | | | #4321 | ||||
| * | allow an association as a scope parameter | Dan Pickett | 2012-01-06 | 1 | -0/+12 |
| | | | | | | #4321 | ||||
* | | get rid of using instance_variable_names method from AS | Sergey Nartimov | 2012-01-07 | 1 | -1/+1 |
| | | | | | | | | | | - instance_variables return symbols in 1.9 - there is instance_variable_defined? method | ||||
* | | Fixed after_initialize callbacks call on AR model #dup | Bogdan Gusiev | 2012-01-07 | 1 | -0/+8 |
| | | |||||
* | | require test/unit and sort test order | Aaron Patterson | 2012-01-06 | 1 | -1/+1 |
|/ | |||||
* | Fixed nil field value uniqueness check | pyromaniac | 2012-01-06 | 1 | -0/+12 |
| | |||||
* | Revert "Merge pull request #2325 from pyromaniac/master" | José Valim | 2012-01-06 | 1 | -12/+0 |
| | | | | | | | It breaks the build for mysql. This reverts commit 958d25df4a1b0d41ce5deeeb0739c93b49bbd18d, reversing changes made to 8f309e31057e1b26fefedb199ab0526126fb1fe4. | ||||
* | Merge pull request #4343 from carlosantoniodasilva/activerecord-1.9-compat | José Valim | 2012-01-05 | 2 | -4/+4 |
|\ | | | | | Activerecord 1.9 compat | ||||
| * | Revert "Regexp.union seems to have different results in 1.8" | Carlos Antonio da Silva | 2012-01-06 | 1 | -3/+3 |
| | | | | | | | | | | | | This reverts commit d80e4ee20e690dfc0f4ec31c41b873d607462872. No need to care about 1.8 anymore, so reverting :) | ||||
| * | Revert "Add return for 1.8.7" | Carlos Antonio da Silva | 2012-01-06 | 1 | -1/+1 |
| | | | | | | | | | | | | This reverts commit 665ef116ac9000d514c03fc61b216513f5cb7b25. There is no need for the return anymore, so reverting. | ||||
* | | Fixed nil field value uniqueness check | pyromaniac | 2012-01-06 | 1 | -0/+12 |
|/ | |||||
* | test a subclass so that the removed method does not imact other tests | Aaron Patterson | 2012-01-05 | 1 | -2/+5 |
| | |||||
* | do not require a file that is not used | Aaron Patterson | 2012-01-05 | 1 | -0/+1 |
| | |||||
* | Merge pull request #4301 from Karunakar/refactor_tests | Aaron Patterson | 2012-01-05 | 1 | -4/+7 |
|\ | | | | | Refactor tests | ||||
| * | removed unnecessary +1 from assert_difference because default difference is 1 | Karunakar (Ruby) | 2012-01-05 | 1 | -1/+1 |
| | | |||||
| * | refactored tests -- assert_diffrence instead of checking directly with count | Karunakar (Ruby) | 2012-01-04 | 1 | -4/+7 |
| | | |||||
* | | Merge pull request #4315 from larskanis/allow_setting_of_pgconn_params | Aaron Patterson | 2012-01-05 | 1 | -0/+15 |
|\ \ | | | | | | | PostgreSQL: Allow consistent setting of libpq params in database connection specification | ||||
| * | | Postgresql: add test case for setting custom libpq connection parameters | Lars Kanis | 2012-01-04 | 1 | -0/+15 |
| | | | |||||
* | | | call super from setup | Aaron Patterson | 2012-01-04 | 1 | -0/+1 |
| | | | |||||
* | | | call super | Aaron Patterson | 2012-01-04 | 1 | -0/+10 |
| | | | |||||
* | | | Merge pull request #4282 from edgecase/order_after_reorder | Aaron Patterson | 2012-01-04 | 2 | -1/+7 |
|\ \ \ | | | | | | | | | correctly handle order calls after a reorder | ||||
| * | | | correctly handle order calls after a reorder | Matt Jones + Scott Walker | 2012-01-03 | 2 | -1/+7 |
| |/ / | |||||
* | | | No need to require psych since require yaml does that. | Rafael Mendonça França | 2012-01-04 | 1 | -1/+0 |
| | | | |||||
* | | | No need to use rescue block to require psych | Rafael Mendonça França | 2012-01-04 | 1 | -18/+14 |
| |/ |/| | |||||
* | | create_fixtures should accept symbol keys for custom table -> class ↵ | Jeremy Kemper | 2012-01-03 | 1 | -2/+10 |
| | | | | | | | | mappings. Fixes an unintended regression. | ||||
* | | Fix GH #4285. Remove options when we record calling creat_table | kennyj | 2012-01-04 | 1 | -0/+6 |
| | | |||||
* | | setup_fixture_accessors should accept symbols for table names. Fixes an ↵ | Jeremy Kemper | 2012-01-03 | 1 | -1/+1 |
| | | | | | | | | unintended (and untested) regression. | ||||
* | | Merge pull request #2955 from dmitry/master | Aaron Patterson | 2012-01-03 | 1 | -0/+12 |
|\ \ | | | | | | | Polymorphic with optimistic lock and counter cache should be destroyed | ||||
| * | | Merge branch 'master' of git://github.com/rails/rails | Dmitry Polushkin | 2011-12-31 | 79 | -849/+2158 |
| |\| | |||||
| * | | Merge branch 'master' of git://github.com/rails/rails | Dmitry Polushkin | 2011-10-05 | 3 | -4/+18 |
| |\ \ | |||||
| * \ \ | Merge branch 'master' of git://github.com/rails/rails | Dmitry Polushkin | 2011-10-01 | 6 | -3/+57 |
| |\ \ \ | |||||
| * \ \ \ | Merge branch 'master' of git://github.com/rails/rails | Dmitry Polushkin | 2011-09-15 | 7 | -62/+65 |
| |\ \ \ \ | |||||
| * | | | | | Test polymorphic record with optimistic locking and counter cache should be ↵ | Dmitry Polushkin | 2011-09-09 | 1 | -0/+12 |
| | | | | | | | | | | | | | | | | | | | | | | | | destoyed without catching the ActiveRecord::StaleObjectError. | ||||
* | | | | | | actually disconnect from the database at the end of each test | Aaron Patterson | 2012-01-03 | 1 | -2/+2 |
| |_|_|_|/ |/| | | | | |||||
* | | | | | rename start to run and use Thread.pass rather than sleeping to schedule the ↵ | Aaron Patterson | 2011-12-30 | 1 | -21/+29 |
| | | | | | | | | | | | | | | | | | | | | watchdog | ||||
* | | | | | connection pool starts the reaper | Aaron Patterson | 2011-12-30 | 1 | -0/+16 |
| | | | | | |||||
* | | | | | just dup the spec now that it will deep copy | Aaron Patterson | 2011-12-30 | 1 | -2/+1 |
| | | | | | |||||
* | | | | | connection specification will deep copy the config | Aaron Patterson | 2011-12-30 | 1 | -0/+12 |
| | | | | | |||||
* | | | | | each connection pool has a reaper | Aaron Patterson | 2011-12-30 | 1 | -0/+12 |
| | | | | |