Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add some tests for functionality in JoinAssociation which already exists but ↵ | Jon Leighton | 2010-10-13 | 5 | -12/+34 | |
| | | | | was previously untested | |||||
* | all columns respond to string_to_binary, so no need to check respond_to? | Aaron Patterson | 2010-10-12 | 1 | -3/+8 | |
| | ||||||
* | test quoting a string with an unknown column type | Aaron Patterson | 2010-10-12 | 1 | -0/+4 | |
| | ||||||
* | test quoting multibyte chars object | Aaron Patterson | 2010-10-12 | 1 | -0/+20 | |
| | ||||||
* | test quoting strings with binary columns | Aaron Patterson | 2010-10-12 | 1 | -0/+13 | |
| | ||||||
* | test quoting a string with a float column | Aaron Patterson | 2010-10-12 | 1 | -0/+5 | |
| | ||||||
* | testing quoting a string for an int column | Aaron Patterson | 2010-10-12 | 1 | -0/+12 | |
| | ||||||
* | testing crazy object quoting | Aaron Patterson | 2010-10-12 | 1 | -0/+12 | |
| | ||||||
* | test that dates / times / datetimes call quoted_date | Aaron Patterson | 2010-10-12 | 1 | -0/+10 | |
| | ||||||
* | test quoting of bigdecimals | Aaron Patterson | 2010-10-12 | 1 | -0/+6 | |
| | ||||||
* | testing floats, fixnum, and bignums | Aaron Patterson | 2010-10-11 | 1 | -0/+18 | |
| | ||||||
* | test quoting nils, true, false, id | Aaron Patterson | 2010-10-11 | 1 | -0/+20 | |
| | ||||||
* | getting quoted_time under more specific tests | Aaron Patterson | 2010-10-11 | 1 | -0/+65 | |
| | ||||||
* | starting to get the quote module under test | Aaron Patterson | 2010-10-11 | 1 | -0/+30 | |
| | ||||||
* | Honor distinct option when used with count operation after group clause ↵ | Marcelo Giorgi | 2010-10-11 | 1 | -0/+9 | |
| | | | | [#5721 state:resolved] | |||||
* | reorder removed in favor of except(:order).order | Santiago Pastorino | 2010-10-11 | 2 | -14/+2 | |
| | ||||||
* | Add callback on skipped migration while copying migrations | Piotr Sarnacki | 2010-10-09 | 1 | -2/+20 | |
| | ||||||
* | Change the method for copying migrations, do not add scope. | Piotr Sarnacki | 2010-10-09 | 1 | -21/+23 | |
| | | | | | | | The purpose of this change is to allow copying fail on the same names. Migrations change database and they should be treated with caution, if 2 migrations are named the same it's much better to skip migration and allow user decide if it should be copied or not. | |||||
* | fix ruby 1.9 deadlock problem, fixes #5736 add connection pool tests | Hemant Kumar | 2010-10-06 | 1 | -0/+29 | |
| | ||||||
* | type_name should check for blank because people may have messed up databases | Aaron Patterson | 2010-09-30 | 1 | -0/+14 | |
| | ||||||
* | AssociationCollection#include? working properly for objects added with build ↵ | Marcelo Giorgi | 2010-09-30 | 3 | -0/+26 | |
| | | | | method [#3472 state:resolved] | |||||
* | group clause must be more specific | Aaron Patterson | 2010-09-30 | 1 | -1/+1 | |
| | ||||||
* | Tests proving #5441 | oleg dashevskii | 2010-09-30 | 1 | -1/+11 | |
| | ||||||
* | eliminating method_missing on TableDefinition | Aaron Patterson | 2010-09-29 | 1 | -2/+12 | |
| | ||||||
* | fisting test organization | Aaron Patterson | 2010-09-29 | 2 | -52/+50 | |
| | ||||||
* | Revert "porting 515917f5d8678af6c57842ca5dfd7c18e67ff1fe to master" | Aaron Patterson | 2010-09-28 | 1 | -6/+0 | |
| | | | | This reverts commit bee447a5b9fe1d683c6cc69aefb7fc22c2a9d9af. | |||||
* | Set attributes properly for model built from association with conditions ↵ | Marcelo Giorgi | 2010-09-28 | 6 | -1/+47 | |
| | | | | | | [#5562 state:resolved] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | fixing indentation warning | Aaron Patterson | 2010-09-28 | 1 | -1/+1 | |
| | ||||||
* | Test add_index and remove_index with a symbol name #4891 | Étienne Barrié | 2010-09-28 | 1 | -0/+7 | |
| | ||||||
* | porting 515917f5d8678af6c57842ca5dfd7c18e67ff1fe to master | Aaron Patterson | 2010-09-28 | 1 | -0/+6 | |
| | ||||||
* | adding test cases for the dynamic finder matcher match method | Aaron Patterson | 2010-09-27 | 1 | -0/+49 | |
| | ||||||
* | @klass also uses DynamicFinderMatch, so no need for it on the relation | Aaron Patterson | 2010-09-27 | 1 | -0/+5 | |
| | ||||||
* | make sure we use the engine assigned to the table when quoting | Aaron Patterson | 2010-09-27 | 1 | -0/+18 | |
| | ||||||
* | Fix for #5579 involved the code change for both has_one and has_many ↵ | Neeraj Singh | 2010-09-27 | 1 | -1/+9 | |
| | | | | | | | | relationships. The path included test only for has_one. This patch adds test for has_many relationship. [#5706 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Fix for nested_attributes with has_many association fails when a single ↵ | Neeraj Singh | 2010-09-27 | 1 | -0/+8 | |
| | | | | | | | | record is being updated. [#5705 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | adding a test for slug behavior | Aaron Patterson | 2010-09-27 | 1 | -0/+4 | |
| | ||||||
* | Fix remove_index issue when provided :name is a symbol | Tim Connor | 2010-09-26 | 1 | -1/+1 | |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | Delegate ActiveRecord::Base.offset to scoped methods (analogous to limit) ↵ | Marcelo Giorgi | 2010-09-24 | 1 | -0/+6 | |
| | | | | | | [#5688 state:resolved] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | restore behavior of touch for models without :updated_xx [#5439 state:resolved] | tnp | 2010-09-24 | 1 | -5/+13 | |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | reject_id option should be respected while using nested_attributes | Neeraj Singh | 2010-09-24 | 1 | -0/+9 | |
| | | | | | | [#5579 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Hash#to_s behaves differently between 1.8 and 1.9, so adjust accordingly | Aaron Patterson | 2010-09-23 | 1 | -1/+1 | |
| | ||||||
* | testing poor behavior of hash serialization | Aaron Patterson | 2010-09-22 | 1 | -0/+4 | |
| | ||||||
* | fixing tests. woo | Aaron Patterson | 2010-09-21 | 1 | -4/+7 | |
| | ||||||
* | remove join table rows before removing owner row for habtm associations, ↵ | Hemant Kumar | 2010-09-21 | 1 | -1/+1 | |
| | | | | fixes#5674 | |||||
* | providing arel with column information when possible [#5392 state:resolved] | Aaron Patterson | 2010-09-21 | 2 | -0/+19 | |
| | ||||||
* | Remove helper methods that were moved to helper.rb | Emilio Tagua | 2010-09-21 | 1 | -15/+0 | |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Move helper methods to helper.rb. Make test not depend on local TZ to pass ↵ | Emilio Tagua | 2010-09-21 | 2 | -9/+27 | |
| | | | | | | or fail. Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Fix issue with remove_index and add unit test [#5645 state:resolved] | Tim Connor | 2010-09-18 | 1 | -3/+4 | |
| | ||||||
* | expanding the test to include both type of order declaration | Neeraj Singh | 2010-09-18 | 1 | -6/+22 | |
| | | | | | | | | | while declaring default_scope Also added test for unscoped using block style with four different combinations Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | removing nonsensical tests, limit now actually adds a limit | Aaron Patterson | 2010-09-15 | 2 | -5/+1 | |
| |