Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | these methods are no longer needed | Aaron Patterson | 2010-11-17 | 1 | -8/+0 |
| | |||||
* | updating CHANGELOG | Aaron Patterson | 2010-11-17 | 1 | -0/+9 |
| | |||||
* | do not need these accessors | Aaron Patterson | 2010-11-17 | 1 | -8/+0 |
| | |||||
* | testing instance based migrations | Aaron Patterson | 2010-11-17 | 2 | -0/+40 |
| | |||||
* | singleton method added is no longer needed | Aaron Patterson | 2010-11-17 | 1 | -19/+1 |
| | |||||
* | schema migrations work as instances | Aaron Patterson | 2010-11-17 | 3 | -6/+11 |
| | |||||
* | converted migrations to support instance methods | Aaron Patterson | 2010-11-17 | 3 | -14/+40 |
| | |||||
* | fixing assertions so error messages will be more helpful | Aaron Patterson | 2010-11-17 | 1 | -4/+4 |
| | |||||
* | Update the version.rb files to include a PRE part | Carl Lerche | 2010-11-16 | 1 | -2/+2 |
| | |||||
* | removing many unused variables | Aaron Patterson | 2010-11-16 | 15 | -30/+23 |
| | |||||
* | super automatically passes on the implicit block | Aaron Patterson | 2010-11-16 | 1 | -5/+1 |
| | |||||
* | use unless instead of if ! | Aaron Patterson | 2010-11-16 | 1 | -1/+1 |
| | |||||
* | removing space errors | Aaron Patterson | 2010-11-16 | 2 | -5/+5 |
| | |||||
* | reloading an association will properly set attributes of instantiated ↵ | Aaron Patterson | 2010-11-16 | 2 | -1/+24 |
| | | | | objects. Thanks Brian Palmer [#5802 state:resolved] | ||||
* | refactoring uniq method | Aaron Patterson | 2010-11-16 | 1 | -7/+4 |
| | |||||
* | refactor to reduce method calls | Aaron Patterson | 2010-11-16 | 1 | -10/+19 |
| | |||||
* | Fix ActiveRecord calculations when grouped by multiple fields | Alexandru Catighera | 2010-11-16 | 2 | -14/+31 |
| | |||||
* | Create directory before copying migrations if it does not exist | Piotr Sarnacki | 2010-11-16 | 2 | -0/+17 |
| | |||||
* | revises RDoc of AR::Base#== | Xavier Noria | 2010-11-16 | 1 | -1/+9 |
| | |||||
* | Models should be equals even after destroyed | Santiago Pastorino | 2010-11-16 | 3 | -4/+13 |
| | | | | [#5978 state:committed] | ||||
* | support finding by a ruby class [#5979 state:resolved] | Aaron Patterson | 2010-11-15 | 2 | -0/+10 |
| | |||||
* | 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 | 2 | -0/+8 |
| | |||||
* | if association is already loaded and if a find operation is performed on the ↵ | Neeraj Singh | 2010-11-15 | 2 | -1/+13 |
| | | | | | | 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 |
| | |||||
* | Remove unused var | Santiago Pastorino | 2010-11-14 | 1 | -1/+1 |
| | |||||
* | Fix bug where size of through association is not correct after adding a ↵ | Jason Cheow | 2010-11-14 | 2 | -1/+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 | 2 | -1/+11 |
| | |||||
* | present? is better here | Santiago Pastorino | 2010-11-11 | 1 | -1/+1 |
| | |||||
* | Merge remote branch 'drogus/plugin_new' | José Valim | 2010-11-11 | 1 | -1/+1 |
|\ | | | | | | | | | Conflicts: railties/test/generators/app_generator_test.rb | ||||
| * | Use application's generators defaults as engine defaults to not force users ↵ | Piotr Sarnacki | 2010-11-02 | 1 | -1/+1 |
| | | | | | | | | to manually set it | ||||
* | | STI type is now updated when calling AR::Base.becomes on subclasses [#5953 ↵ | Franck Verrot | 2010-11-12 | 2 | -0/+10 |
| | | | | | | | | state:resolved] | ||||
* | | Use ! instead of not | Santiago Pastorino | 2010-11-11 | 1 | -1/+1 |
| | | |||||
* | | Fixed bug in active_record/nested_attributes where an empty string id caused ↵ | Santiago Pastorino | 2010-11-11 | 2 | -1/+9 |
| | | | | | | | | | | | | | | | | an ActiveRecord::RecordNotFound error. Found by [Ben Tillman] [#5638 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | | Bump Arel up to 2.0.2 | Santiago Pastorino | 2010-11-11 | 1 | -1/+1 |
| | | |||||
* | | Allow AR Session Store to be renewed | José Valim | 2010-11-11 | 1 | -0/+1 |
| | | |||||
* | | syncs CHANGELOGs for 3.0.2 in 3-0-stable with the ones in master | Xavier Noria | 2010-11-09 | 1 | -0/+29 |
| | | |||||
* | | Double negation of an already boolean value produces the same result | Santiago Pastorino | 2010-11-09 | 1 | -1/+1 |
| | | |||||
* | | Don't check if persisted is defined just initialize it properly | Santiago Pastorino | 2010-11-09 | 3 | -4/+1 |
| | | |||||
* | | Execute less operations | Santiago Pastorino | 2010-11-09 | 1 | -2/+1 |
| | | |||||
* | | use persisted? instead of new_record? wherever possible | David Chelimsky | 2010-11-09 | 35 | -196/+203 |
| | | | | | | | | | | | | | | | | | | | | | | - 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> | ||||
* | | Update the validates_uniqueness_of documentation to tell you to use a unique ↵ | Michael Koziarski | 2010-11-08 | 1 | -25/+17 |
| | | | | | | | | | | | | index. The other options mentioned were not good ideas and disclaimed as such in the documentation. | ||||
* | | use column names as order by complex function parameters, fix for postgresql ↵ | Raimonds Simanovskis | 2010-11-07 | 2 | -13/+3 |
| | | | | | | | | | | | | adapter to correctly remove ASC/DESC Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | | reduce duplication in assiciations #construct() | Aaron Patterson | 2010-11-06 | 1 | -9/+3 |
| | | |||||
* | | make sure we keep parent records in order | Aaron Patterson | 2010-11-06 | 1 | -6/+6 |
| | | |||||
* | | only call to_s on the association variable once | Aaron Patterson | 2010-11-05 | 1 | -2/+5 |
| | | |||||
* | | simplify instantiate in the join parts object | Aaron Patterson | 2010-11-05 | 1 | -8/+7 |
| | | |||||
* | | index is not used, so removing it | Aaron Patterson | 2010-11-05 | 1 | -1/+1 |
| | | |||||
* | | reduce method calls to the join base object | Aaron Patterson | 2010-11-05 | 1 | -4/+6 |
| | | |||||
* | | stop recursively calling exists? | Aaron Patterson | 2010-11-05 | 1 | -3/+5 |
| | |