Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | | | | | | | | | | | | Merge commit 'rails/master' | Emilio Tagua | 2009-08-21 | 2 | -0/+163 | |
| |\ \ \ \ \ \ \ \ \ \ \ \ \ | ||||||
| * | | | | | | | | | | | | | | Add bench script for ActiveRecord. Ignore log file and temporary cache | Emilio Tagua | 2009-08-20 | 1 | -0/+229 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sql files. | |||||
| * | | | | | | | | | | | | | | Remove useless conditionals/local var. | Emilio Tagua | 2009-08-19 | 1 | -5/+1 | |
| | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | Make sure join association methods are called once. | Emilio Tagua | 2009-08-19 | 2 | -13/+14 | |
| | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | Don't sanitize_sql where it doesn't make sense. | Emilio Tagua | 2009-08-19 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | Remove old method and comment. | Emilio Tagua | 2009-08-19 | 1 | -14/+0 | |
| | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | Remove useless InnerJoinDependency, inner joins are performed through | Emilio Tagua | 2009-08-19 | 2 | -22/+5 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Arel::InnerJoin. | |||||
| * | | | | | | | | | | | | | | Remove whitespace. | Emilio Tagua | 2009-08-19 | 2 | -2/+3 | |
| | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | Remove unused quoted_record_ids, now ARel does this using ARel::In. | Emilio Tagua | 2009-08-18 | 1 | -9/+0 | |
| | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | has_many nullify associations keys using ARel. | Emilio Tagua | 2009-08-18 | 1 | -9/+9 | |
| | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | Remove now unused quote_table_name, ARel does that quoting now. | Emilio Tagua | 2009-08-18 | 1 | -7/+0 | |
| | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | habtm insertion with ARel integration. | Emilio Tagua | 2009-08-18 | 1 | -8/+5 | |
| | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | habtm delete method integrated with ARel. | Emilio Tagua | 2009-08-18 | 1 | -4/+5 | |
| | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | Call to_sql method on ActiveRecord::Relation instance not it's relation | Emilio Tagua | 2009-08-18 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | attribute.' | |||||
| * | | | | | | | | | | | | | | Override respond_to? in ActiveRecord::Relation to go with | Emilio Tagua | 2009-08-18 | 2 | -0/+16 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | method_missing. | |||||
| * | | | | | | | | | | | | | | Cache arel_table when possible, use class method arel_table instead | Emilio Tagua | 2009-08-18 | 2 | -12/+13 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | instance method. | |||||
| * | | | | | | | | | | | | | | Cache #arel_able when possible. | Emilio Tagua | 2009-08-18 | 1 | -2/+5 | |
| | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | Inline initializer setup. | Emilio Tagua | 2009-08-18 | 1 | -2/+1 | |
| | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | Use immutable relation objects to generate queries. | Emilio Tagua | 2009-08-18 | 6 | -92/+87 | |
| | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | Use explicit method definition instead of metaprogramming. | Emilio Tagua | 2009-08-18 | 1 | -11/+16 | |
| | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | Relation#joins! should know what to join instead of delegating to | Emilio Tagua | 2009-08-18 | 1 | -7/+13 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | construct_join. | |||||
| * | | | | | | | | | | | | | | Fix typo in test classname. | Emilio Tagua | 2009-08-18 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | Use finder options as relation method names to provide more familiar | Emilio Tagua | 2009-08-18 | 7 | -68/+81 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | naming. Use bang methods convention in methods that alter the relation. | |||||
| * | | | | | | | | | | | | | | Clean up relation joins when finding records with included associations. | Emilio Tagua | 2009-08-17 | 1 | -12/+12 | |
| | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | Merge commit 'rails/master' | Emilio Tagua | 2009-08-17 | 6 | -78/+14 | |
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ | ||||||
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ | Merge commit 'rails/master' | Emilio Tagua | 2009-08-17 | 2 | -3/+3 | |
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: activerecord/lib/active_record/calculations.rb | |||||
| * | | | | | | | | | | | | | | | | Remove group when building the relation, it will be added later if | Emilio Tagua | 2009-08-16 | 1 | -1/+0 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | options[:group] is given. | |||||
| * | | | | | | | | | | | | | | | | Don't use regular rinder on calculations since scoping order blows | Emilio Tagua | 2009-08-14 | 1 | -1/+7 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PostreSQL. | |||||
| * | | | | | | | | | | | | | | | | Merge commit 'rails/master' | Emilio Tagua | 2009-08-14 | 3 | -64/+49 | |
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | ||||||
| * | | | | | | | | | | | | | | | | | Use ARel's joins when building a query for finding records with included | Emilio Tagua | 2009-08-14 | 4 | -74/+88 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | associations. | |||||
| * | | | | | | | | | | | | | | | | | Merge commit 'rails/master' | Emilio Tagua | 2009-08-11 | 1 | -0/+18 | |
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | ||||||
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | Merge commit 'rails/master' | Emilio Tagua | 2009-08-10 | 5 | -165/+36 | |
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | ||||||
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | Merge commit 'rails/master' | Emilio Tagua | 2009-08-10 | 52 | -101/+704 | |
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: activerecord/lib/active_record/calculations.rb activerecord/lib/active_record/connection_adapters/mysql_adapter.rb activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb | |||||
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | Merge commit 'rails/master' | Emilio Tagua | 2009-08-10 | 3 | -14/+26 | |
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: activerecord/lib/active_record/migration.rb | |||||
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | Merge commit 'rails/master' | Emilio Tagua | 2009-08-08 | 29 | -150/+452 | |
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: activerecord/test/cases/adapter_test.rb activerecord/test/cases/method_scoping_test.rb | |||||
| * | | | | | | | | | | | | | | | | | | | | | | Removed unused methods. | Emilio Tagua | 2009-08-07 | 1 | -70/+56 | |
| | | | | | | | | | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | | | | | | | | | Removed useless OR. | Emilio Tagua | 2009-08-07 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | | | | | | | | | Don't scope order in calculations.' | Emilio Tagua | 2009-08-07 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | | | | | | | | | More work on removing plain SQL from associations and use ARel instead. | Emilio Tagua | 2009-08-07 | 3 | -35/+43 | |
| | | | | | | | | | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | | | | | | | | | Merge commit 'rails/master' | Emilio Tagua | 2009-08-06 | 1 | -2/+1 | |
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | ||||||
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | Merge commit 'rails/master' | Emilio Tagua | 2009-08-05 | 17 | -209/+324 | |
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | ||||||
| * | | | | | | | | | | | | | | | | | | | | | | | | Added collection iteration to AR::Relation. | Emilio Tagua | 2009-08-03 | 2 | -1/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | | | | | | | | | | | Don't use local vars before testing its conditional. | Emilio Tagua | 2009-08-03 | 2 | -8/+6 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | | | | | | | | | | | Merge commit 'rails/master' | Emilio Tagua | 2009-08-03 | 6 | -36/+21 | |
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | ||||||
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | Merge commit 'rails/master' | Emilio Tagua | 2009-07-31 | 28 | -571/+763 | |
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: activerecord/lib/active_record/associations.rb | |||||
| * | | | | | | | | | | | | | | | | | | | | | | | | | | Added ActiveRecord::Relation tests. Allow Relation to accept conditional | Emilio Tagua | 2009-07-31 | 3 | -3/+98 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | hashes and arrays like #find does. | |||||
| * | | | | | | | | | | | | | | | | | | | | | | | | | | Performance: cache/reload arel relation when possible to speed up things. | Emilio Tagua | 2009-07-21 | 2 | -6/+7 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | | | | | | | | | | | | | Removed unused local variable. | Emilio Tagua | 2009-07-21 | 1 | -1/+0 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | | | | | | | | | | | | | Introduced ActiveRecord::Relation, a layer between an ARel relation and an ↵ | Emilio Tagua | 2009-07-21 | 8 | -54/+77 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | AR relation | |||||
| * | | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit 'rails/master' | Emilio Tagua | 2009-07-21 | 2 | -8/+2 | |
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ |