Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | removing space errors | Aaron Patterson | 2010-11-18 | 1 | -1/+1 |
| | |||||
* | Adapters can specify maximum number of ids they support in a list of expressions | Alex Rothenberg | 2010-11-18 | 1 | -0/+52 |
| | | | | | (default is nil meaning unlimited but Oracle imposes a limit of 1000) Limit is used to make multiple queries when preloading associated has_many or habtm records | ||||
* | When use where more than once on the same column, relation doesn't do an ↵ | Santiago Pastorino | 2010-11-17 | 1 | -0/+9 |
| | | | | 'or' or 'in' with the values | ||||
* | Fix bug with 0bb85ed9ffa9808926b46e8f7e59cab5b85ac19f which missed out a ↵ | Jon Leighton | 2010-11-17 | 1 | -1/+2 |
| | | | | fixtures declaration in cascaded_eager_loading_test.rb | ||||
* | testing instance based migrations | Aaron Patterson | 2010-11-17 | 1 | -0/+38 |
| | |||||
* | schema migrations work as instances | Aaron Patterson | 2010-11-17 | 1 | -0/+1 |
| | |||||
* | converted migrations to support instance methods | Aaron Patterson | 2010-11-17 | 1 | -4/+4 |
| | |||||
* | fixing assertions so error messages will be more helpful | Aaron Patterson | 2010-11-17 | 1 | -4/+4 |
| | |||||
* | removing many unused variables | Aaron Patterson | 2010-11-16 | 15 | -30/+23 |
| | |||||
* | reloading an association will properly set attributes of instantiated ↵ | Aaron Patterson | 2010-11-16 | 1 | -0/+21 |
| | | | | objects. Thanks Brian Palmer [#5802 state:resolved] | ||||
* | Fix ActiveRecord calculations when grouped by multiple fields | Alexandru Catighera | 2010-11-16 | 1 | -0/+13 |
| | |||||
* | Create directory before copying migrations if it does not exist | Piotr Sarnacki | 2010-11-16 | 1 | -0/+15 |
| | |||||
* | Models should be equals even after destroyed | Santiago Pastorino | 2010-11-16 | 2 | -1/+10 |
| | | | | [#5978 state:committed] | ||||
* | support finding by a ruby class [#5979 state:resolved] | Aaron Patterson | 2010-11-15 | 1 | -0/+7 |
| | |||||
* | adding more test coverage around finding with active record objects | Aaron Patterson | 2010-11-15 | 1 | -0/+12 |
| | |||||
* | use quoted id of single AR::Base objects in predicates | Aaron Patterson | 2010-11-15 | 1 | -0/+6 |
| | |||||
* | if association is already loaded and if a find operation is performed on the ↵ | Neeraj Singh | 2010-11-15 | 1 | -0/+11 |
| | | | | | | already loaded association list with an empty hash then do not perform another sql [#5972 state:resolved] | ||||
* | fisting a bunch of unused variable warnings | Aaron Patterson | 2010-11-15 | 4 | -20/+16 |
| | |||||
* | Fix bug where size of through association is not correct after adding a ↵ | Jason Cheow | 2010-11-14 | 1 | -0/+7 |
| | | | | | | | | has_many association (occurs only before main object has been reloaded). [#5968 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Finder gives a little bit more info on the lookup column (primary key) | Franck Verrot | 2010-11-13 | 1 | -0/+10 |
| | |||||
* | STI type is now updated when calling AR::Base.becomes on subclasses [#5953 ↵ | Franck Verrot | 2010-11-12 | 1 | -0/+9 |
| | | | | state:resolved] | ||||
* | Fixed bug in active_record/nested_attributes where an empty string id caused ↵ | Santiago Pastorino | 2010-11-11 | 1 | -0/+8 |
| | | | | | | | | an ActiveRecord::RecordNotFound error. Found by [Ben Tillman] [#5638 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | use persisted? instead of new_record? wherever possible | David Chelimsky | 2010-11-09 | 12 | -128/+128 |
| | | | | | | | | | | | - persisted? is the API defined in ActiveModel - makes it easier for extension libraries to conform to ActiveModel APIs without concern for whether the extended object is specifically ActiveRecord [#5927 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | use column names as order by complex function parameters, fix for postgresql ↵ | Raimonds Simanovskis | 2010-11-07 | 1 | -12/+2 |
| | | | | | | adapter to correctly remove ASC/DESC Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Fixes queries using limits and punctuation in order, removes order("col1, ↵ | Santiago Pastorino | 2010-11-05 | 3 | -4/+25 |
| | | | | | | col2") usage in favor of order(["col1", "col2"}) [#4597 state:committed] | ||||
* | renaming exec in the mysql adapter | Aaron Patterson | 2010-11-05 | 1 | -13/+13 |
| | |||||
* | renaming exec in the PG adapter | Aaron Patterson | 2010-11-05 | 2 | -11/+11 |
| | |||||
* | converted exec to exec_query for sqlite | Aaron Patterson | 2010-11-05 | 2 | -15/+15 |
| | |||||
* | ignoring certain SQL when using Oracle | Aaron Patterson | 2010-11-03 | 1 | -0/+4 |
| | |||||
* | Ensure save always updates timestamps when serialized attributes are present | Pratik Naik | 2010-11-02 | 1 | -0/+14 |
| | |||||
* | Add timestamps to Topic | Pratik Naik | 2010-11-02 | 2 | -6/+6 |
| | |||||
* | adding tests for #5234 and #5184. Tests were from Akira Matsuda. Thanks Akira! | Aaron Patterson | 2010-10-30 | 2 | -0/+11 |
| | |||||
* | Convert :primary_key in association to a string before comparing to column ↵ | Denis Odorcic | 2010-10-30 | 1 | -0/+7 |
| | | | | names, so that for example :primary_key => :another_pk works as well [#5605 state:resolved] | ||||
* | Fix issues when including the same association multiple times and mixing ↵ | Ernie Miller | 2010-10-30 | 1 | -0/+26 |
| | | | | joins/includes together. | ||||
* | fisting test name | Aaron Patterson | 2010-10-27 | 1 | -1/+1 |
| | |||||
* | making query cache work with prepared statements | Aaron Patterson | 2010-10-27 | 1 | -0/+6 |
| | |||||
* | setting the authorized session clears the statement cache | Aaron Patterson | 2010-10-26 | 1 | -0/+11 |
| | |||||
* | add a session authorization setter to the pg connection | Aaron Patterson | 2010-10-26 | 1 | -1/+8 |
| | |||||
* | avoiding statement cache if there are no bind values | Aaron Patterson | 2010-10-26 | 1 | -0/+12 |
| | |||||
* | bind substitution is working properly | Aaron Patterson | 2010-10-26 | 1 | -0/+8 |
| | |||||
* | bind parameters are now typecast | Aaron Patterson | 2010-10-26 | 1 | -0/+14 |
| | |||||
* | basic bind parameters are working | Aaron Patterson | 2010-10-26 | 1 | -0/+12 |
| | |||||
* | initial exec() method is working in pg adapter | Aaron Patterson | 2010-10-26 | 1 | -0/+17 |
| | |||||
* | one more mysql test left! | Aaron Patterson | 2010-10-26 | 1 | -1/+1 |
| | |||||
* | mysql tests are mostly passing | Aaron Patterson | 2010-10-26 | 2 | -3/+61 |
| | |||||
* | refactoring tests | Aaron Patterson | 2010-10-26 | 1 | -36/+20 |
| | |||||
* | type casting bound value based on column associated with value | Aaron Patterson | 2010-10-26 | 1 | -0/+18 |
| | |||||
* | exec returns an AR::Result | Aaron Patterson | 2010-10-26 | 2 | -0/+43 |
| | |||||
* | adding bind_values to relations | Aaron Patterson | 2010-10-26 | 1 | -0/+9 |
| | |||||
* | adding bind value substitution | Aaron Patterson | 2010-10-26 | 1 | -0/+9 |
| |