Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | replace and with && as per rails coding convention | Neeraj Singh | 2010-11-18 | 1 | -1/+1 | |
| | ||||||
* | remove the rescue block by returning a not asking Base for lookup_ancestors. ↵ | Neeraj Singh | 2010-11-17 | 1 | -5/+2 | |
| | | | | It was also marked for later optimization. | |||||
* | adding an initialize with name and version defaults | Aaron Patterson | 2010-11-17 | 1 | -4/+5 | |
| | ||||||
* | updating generators | Aaron Patterson | 2010-11-17 | 3 | -6/+6 | |
| | ||||||
* | fixing more documentation | Aaron Patterson | 2010-11-17 | 1 | -3/+3 | |
| | ||||||
* | fixing documentation, removing unused AS files | Aaron Patterson | 2010-11-17 | 1 | -15/+12 | |
| | ||||||
* | fixing indentation since these methods are not class methods | Aaron Patterson | 2010-11-17 | 1 | -83/+83 | |
| | ||||||
* | these methods are no longer needed | Aaron Patterson | 2010-11-17 | 1 | -8/+0 | |
| | ||||||
* | do not need these accessors | Aaron Patterson | 2010-11-17 | 1 | -8/+0 | |
| | ||||||
* | testing instance based migrations | Aaron Patterson | 2010-11-17 | 1 | -0/+2 | |
| | ||||||
* | 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 | 2 | -6/+10 | |
| | ||||||
* | converted migrations to support instance methods | Aaron Patterson | 2010-11-17 | 2 | -10/+36 | |
| | ||||||
* | Update the version.rb files to include a PRE part | Carl Lerche | 2010-11-16 | 1 | -2/+2 | |
| | ||||||
* | 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 | 1 | -1/+3 | |
| | | | | 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 | 1 | -14/+18 | |
| | ||||||
* | Create directory before copying migrations if it does not exist | Piotr Sarnacki | 2010-11-16 | 1 | -0/+2 | |
| | ||||||
* | 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 | 1 | -3/+3 | |
| | | | | [#5978 state:committed] | |||||
* | support finding by a ruby class [#5979 state:resolved] | Aaron Patterson | 2010-11-15 | 1 | -0/+3 | |
| | ||||||
* | use quoted id of single AR::Base objects in predicates | Aaron Patterson | 2010-11-15 | 1 | -0/+2 | |
| | ||||||
* | if association is already loaded and if a find operation is performed on the ↵ | Neeraj Singh | 2010-11-15 | 1 | -1/+2 | |
| | | | | | | already loaded association list with an empty hash then do not perform another sql [#5972 state:resolved] | |||||
* | 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 | 1 | -1/+0 | |
| | | | | | | | | 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 | -1/+1 | |
| | ||||||
* | 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 | 1 | -0/+1 | |
| | | | | | | | | 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 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | an ActiveRecord::RecordNotFound error. Found by [Ben Tillman] [#5638 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | | Allow AR Session Store to be renewed | José Valim | 2010-11-11 | 1 | -0/+1 | |
| | | ||||||
* | | 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 | 19 | -64/+71 | |
| | | | | | | | | | | | | | | | | | | | | | | - 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 | 1 | -1/+1 | |
| | | | | | | | | | | | | 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 | |
| | |