Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | dry up some conditionals | Aaron Patterson | 2010-09-21 | 1 | -3/+4 | |
| | ||||||
* | fixing case / when indentation | Aaron Patterson | 2010-09-21 | 1 | -19/+19 | |
| | ||||||
* | fix case / when indentation | Aaron Patterson | 2010-09-21 | 1 | -18/+18 | |
| | ||||||
* | avoid a hash lookup | Aaron Patterson | 2010-09-21 | 1 | -2/+2 | |
| | ||||||
* | remove more codes | Aaron Patterson | 2010-09-21 | 1 | -6/+4 | |
| | ||||||
* | deleting more code | Aaron Patterson | 2010-09-21 | 1 | -4/+1 | |
| | ||||||
* | use each properly to avoid splatting a variable | Aaron Patterson | 2010-09-21 | 1 | -2/+1 | |
| | ||||||
* | deleting repeated codes | Aaron Patterson | 2010-09-21 | 1 | -13/+10 | |
| | ||||||
* | do not pass nil values to arel | Aaron Patterson | 2010-09-21 | 1 | -1/+1 | |
| | ||||||
* | refacoring duplicate code. <3 <3 <3 | Aaron Patterson | 2010-09-21 | 1 | -2/+3 | |
| | ||||||
* | this reject can be replaced with compact | Aaron Patterson | 2010-09-21 | 1 | -1/+1 | |
| | ||||||
* | removing unused code | Aaron Patterson | 2010-09-21 | 1 | -2/+1 | |
| | ||||||
* | remove some repeated code | Aaron Patterson | 2010-09-21 | 1 | -2/+2 | |
| | ||||||
* | break up giant method | Aaron Patterson | 2010-09-21 | 1 | -62/+72 | |
| | ||||||
* | removing lolinject | Aaron Patterson | 2010-09-21 | 1 | -1/+1 | |
| | ||||||
* | 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 | 1 | -3/+10 | |
| | ||||||
* | un-nodocs AR::Batches | Xavier Noria | 2010-09-21 | 1 | -1/+1 | |
| | ||||||
* | use instance_eval, reduce method calls. | Stevie Graham | 2010-09-21 | 1 | -15/+7 | |
| | | | | | | | | | | | | | | | | execution time in seconds for `rake test_sqlite3`: ruby 1.9.2p0 (2010-08-18 revision 29036) [x86_64-darwin10.4.0] - before: 52.771426, 52.159505, 52.937056 - after: 51.452584, 51.897017, 51.584431 rubinius 1.0.1 (1.8.7 release 2010-06-03 JI) [x86_64-apple-darwin10.4.0] - before: 284.334076 - after: 285.753028 ruby 1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10.0] - before: 75.811548, 75.533153, 75.353122 - after: 75.244243, 75.19226, 75.256925 | |||||
* | Add helper for loading seed data for engine and application | Piotr Sarnacki | 2010-09-20 | 1 | -2/+1 | |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Exception handling more readable | Thiago Pradi | 2010-09-19 | 2 | -6/+6 | |
| | | | | | | [#5601 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | adds to the API guidelines the proper spelling of Arel | Xavier Noria | 2010-09-19 | 1 | -2/+2 | |
| | ||||||
* | Fix issue with remove_index and add unit test [#5645 state:resolved] | Tim Connor | 2010-09-18 | 1 | -2/+1 | |
| | ||||||
* | Raise errors when index creation fails | Tim Connor | 2010-09-18 | 1 | -4/+2 | |
| | ||||||
* | @join_values is passed in, so we should use the parameter | Aaron Patterson | 2010-09-15 | 1 | -1/+1 | |
| | ||||||
* | passing the quoted id to arel if the object has a quoted id | Aaron Patterson | 2010-09-10 | 1 | -1/+3 | |
| | ||||||
* | converting an inject to a map + Hash[] | Aaron Patterson | 2010-09-10 | 1 | -1/+1 | |
| | ||||||
* | avoid method_missing and reduce method calls | Aaron Patterson | 2010-09-10 | 1 | -1/+1 | |
| | ||||||
* | intersection between a relation and an array works in both directions | Marcelo Giorgi | 2010-09-10 | 1 | -0/+1 | |
| | | | | Signed-off-by: Mikel Lindsaar <raasdnil@gmail.com> | |||||
* | Cheaper attribute reads and respond_to?. Add underscore-prefixed method ↵ | Jeremy Kemper | 2010-09-09 | 3 | -7/+12 | |
| | | | | aliased to the attribute name so it can be overridden but still called internally. | |||||
* | Cache unserialized attributes | Jeremy Kemper | 2010-09-09 | 2 | -11/+14 | |
| | ||||||
* | Refactor finder conditions look up and assigment for apply_finder_conditions. | Emilio Tagua | 2010-09-09 | 1 | -13/+7 | |
| | ||||||
* | Refactor Relation#only. No need to go through every option and test it. | Emilio Tagua | 2010-09-09 | 1 | -8/+6 | |
| | ||||||
* | No need to go through every option and test it, just don't add skipped ones. | Emilio Tagua | 2010-09-09 | 1 | -4/+4 | |
| | ||||||
* | return is not needed here | Neeraj Singh | 2010-09-09 | 1 | -2/+2 | |
| | ||||||
* | remove unnecessary call | Neeraj Singh | 2010-09-09 | 1 | -1/+0 | |
| | | | | if operation is count then column_name will never be blank | |||||
* | creating a new array is required. who knew? :-( | Aaron Patterson | 2010-09-09 | 1 | -1/+1 | |
| | ||||||
* | no need for Array.wrap, also avoid array creation | Aaron Patterson | 2010-09-09 | 1 | -5/+4 | |
| | ||||||
* | make apply_modules run faster | Neeraj Singh | 2010-09-09 | 1 | -3/+5 | |
| | ||||||
* | eliminate present? for fewer method calls | Aaron Patterson | 2010-09-08 | 1 | -10/+2 | |
| | ||||||
* | returning arrays lets us avoid Array.wrap | Aaron Patterson | 2010-09-08 | 1 | -4/+4 | |
| | ||||||
* | removing unnecessary conditional test | Aaron Patterson | 2010-09-08 | 1 | -4/+4 | |
| | ||||||
* | switch to blank? to avoid method calls | Aaron Patterson | 2010-09-08 | 1 | -6/+6 | |
| | ||||||
* | refactor to use faster empty? | Aaron Patterson | 2010-09-08 | 1 | -1/+3 | |
| | ||||||
* | drying up joins() | Aaron Patterson | 2010-09-08 | 1 | -4/+2 | |
| | ||||||
* | reduce method calls, use reject + blank? instead of select + present? | Aaron Patterson | 2010-09-08 | 1 | -3/+3 | |
| | ||||||
* | refactor a couple injects to map + Hash[] | Aaron Patterson | 2010-09-08 | 1 | -5/+2 | |
| | ||||||
* | avoid an inject in favor of dup | Aaron Patterson | 2010-09-08 | 1 | -3/+3 | |
| | ||||||
* | attributes should be constructed with table objects | Aaron Patterson | 2010-09-07 | 1 | -1/+1 | |
| | ||||||
* | attributes should be associated with tables | Aaron Patterson | 2010-09-07 | 1 | -1/+1 | |
| |