aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
Commit message (Collapse)AuthorAgeFilesLines
...
* removing nonsensical tests, limit now actually adds a limitAaron Patterson2010-09-153-6/+14
|
* @join_values is passed in, so we should use the parameterAaron Patterson2010-09-151-1/+1
|
* passing the quoted id to arel if the object has a quoted idAaron Patterson2010-09-101-1/+3
|
* converting an inject to a map + Hash[]Aaron Patterson2010-09-101-1/+1
|
* Add more examples in performance script.Emilio Tagua2010-09-101-0/+17
| | | | | | [#5610 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Ruby 1.9 compat: convert Pathname to stringJeremy Kemper2010-09-101-1/+1
|
* Switch back to mysql for easier comparisonJeremy Kemper2010-09-101-1/+1
|
* specific number of spaces should not be enforcedAaron Patterson2010-09-101-1/+1
|
* avoid method_missing and reduce method callsAaron Patterson2010-09-101-1/+1
|
* intersection between a relation and an array works in both directionsMarcelo Giorgi2010-09-101-0/+1
| | | | Signed-off-by: Mikel Lindsaar <raasdnil@gmail.com>
* added a test for relation which checks intersection between a relation and ↵kane2010-09-101-0/+6
| | | | | | an array works in both directions Signed-off-by: Mikel Lindsaar <raasdnil@gmail.com>
* fixed Subject model after_initialize callback for test_oracle_synonym testRaimonds Simanovskis2010-09-091-3/+7
|
* Cheaper attribute reads and respond_to?. Add underscore-prefixed method ↵Jeremy Kemper2010-09-093-7/+12
| | | | aliased to the attribute name so it can be overridden but still called internally.
* Fewer object allocationsJeremy Kemper2010-09-091-3/+3
|
* Cache unserialized attributesJeremy Kemper2010-09-093-20/+26
|
* AR perf test: switch to mysql2, bundle faker and rbenchJeremy Kemper2010-09-091-1/+1
|
* Refactor finder conditions look up and assigment for apply_finder_conditions.Emilio Tagua2010-09-091-13/+7
|
* Refactor Relation#only. No need to go through every option and test it.Emilio Tagua2010-09-091-8/+6
|
* Add tests for Relation#only.Emilio Tagua2010-09-091-0/+11
|
* No need to go through every option and test it, just don't add skipped ones.Emilio Tagua2010-09-091-4/+4
|
* return is not needed hereNeeraj Singh2010-09-091-2/+2
|
* remove unnecessary callNeeraj Singh2010-09-091-1/+0
| | | | if operation is count then column_name will never be blank
* creating a new array is required. who knew? :-(Aaron Patterson2010-09-091-1/+1
|
* no need for Array.wrap, also avoid array creationAaron Patterson2010-09-091-5/+4
|
* make apply_modules run fasterNeeraj Singh2010-09-091-3/+5
|
* eliminate present? for fewer method callsAaron Patterson2010-09-081-10/+2
|
* returning arrays lets us avoid Array.wrapAaron Patterson2010-09-081-4/+4
|
* removing unnecessary conditional testAaron Patterson2010-09-081-4/+4
|
* switch to blank? to avoid method callsAaron Patterson2010-09-081-6/+6
|
* refactor to use faster empty?Aaron Patterson2010-09-081-1/+3
|
* drying up joins()Aaron Patterson2010-09-081-4/+2
|
* reduce method calls, use reject + blank? instead of select + present?Aaron Patterson2010-09-081-3/+3
|
* refactor a couple injects to map + Hash[]Aaron Patterson2010-09-081-5/+2
|
* avoid an inject in favor of dupAaron Patterson2010-09-081-3/+3
|
* attributes should be constructed with table objectsAaron Patterson2010-09-071-1/+1
|
* attributes should be associated with tablesAaron Patterson2010-09-071-1/+1
|
* serialized attributes should be serialized before validation [#5525 ↵Aaron Patterson2010-09-073-3/+12
| | | | state:resolved]
* no need to freeze this stringAaron Patterson2010-09-071-1/+1
|
* fixed some issues with JSON encodingJakub Suder2010-09-073-2/+11
| | | | | | | | | | | - as_json in ActiveModel should return a hash and handle :only/:except/:methods options - Array and Hash should call as_json on their elements - json methods should not modify options argument [#5374 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* removing useless code, cleaning variable namesAaron Patterson2010-09-071-6/+2
|
* select should raise error when no block or no parameter is passedAaron Patterson2010-09-072-3/+7
|
* select does not need a *argsAaron Patterson2010-09-071-2/+2
|
* unscoped has nothing so merging with a relation just returns the relationSantiago Pastorino2010-09-071-1/+1
|
* cleaning up confusing logicAaron Patterson2010-09-061-3/+6
|
* Use railties:copy_migrations instead of db:copy_migrationsPiotr Sarnacki2010-09-061-1/+5
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Refactor AR validations a bitCarlos Antonio da Silva2010-09-061-5/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Cleanup deprecation warnings in active recordCarlos Antonio da Silva2010-09-067-112/+11
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Improved indentationPratik Naik2010-09-061-7/+3
|
* Use scoped here to get the scoped whereSantiago Pastorino2010-09-051-5/+3
|
* Make scoped reorder override previous applied ordersSantiago Pastorino2010-09-052-3/+15
| | | | [5528 state:committed]