Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | | | | | | | | | | Performance: Don't reload the ARel relation on create, do it on | Emilio Tagua | 2009-08-27 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | reset_column_information. | |||||
| * | | | | | | | | | | | Performance: Don't reload the arel_table when destroying. | Emilio Tagua | 2009-08-27 | 1 | -1/+1 | |
| | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | Merge commit 'rails/master' | Emilio Tagua | 2009-08-27 | 3 | -8/+12 | |
| |\ \ \ \ \ \ \ \ \ \ \ | ||||||
| * | | | | | | | | | | | | Remove useless var local definition. | Emilio Tagua | 2009-08-26 | 1 | -1/+1 | |
| | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | No need to create a new relation if the argument is blank. | Emilio Tagua | 2009-08-25 | 1 | -6/+6 | |
| | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | 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 | 1 | -0/+8 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | 4 | -81/+76 | |
| | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | 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. | |||||
| * | | | | | | | | | | | | Use finder options as relation method names to provide more familiar | Emilio Tagua | 2009-08-18 | 4 | -50/+65 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | 2 | -42/+3 | |
| |\ \ \ \ \ \ \ \ \ \ \ \ | ||||||
| * | | | | | | | | | | | | | 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-10 | 2 | -150/+25 | |
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ | ||||||
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ | Merge commit 'rails/master' | Emilio Tagua | 2009-08-10 | 21 | -51/+240 | |
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | 2 | -14/+19 | |
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: activerecord/lib/active_record/migration.rb | |||||
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | Merge commit 'rails/master' | Emilio Tagua | 2009-08-08 | 3 | -1/+18 | |
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | 2 | -31/+39 | |
| | | | | | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | | | | | Merge commit 'rails/master' | Emilio Tagua | 2009-08-06 | 1 | -2/+1 | |
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | ||||||
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | Merge commit 'rails/master' | Emilio Tagua | 2009-08-05 | 9 | -188/+79 | |
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | ||||||
| * | | | | | | | | | | | | | | | | | | | | Added collection iteration to AR::Relation. | Emilio Tagua | 2009-08-03 | 1 | -0/+4 | |
| | | | | | | | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | | | | | | | Don't use local vars before testing its conditional. | Emilio Tagua | 2009-08-03 | 1 | -6/+6 | |
| | | | | | | | | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | | | | | | | | Merge commit 'rails/master' | Emilio Tagua | 2009-08-03 | 5 | -36/+19 | |
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | ||||||
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | Merge commit 'rails/master' | Emilio Tagua | 2009-07-31 | 23 | -556/+757 | |
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: activerecord/lib/active_record/associations.rb | |||||
| * | | | | | | | | | | | | | | | | | | | | | | Added ActiveRecord::Relation tests. Allow Relation to accept conditional | Emilio Tagua | 2009-07-31 | 2 | -3/+20 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | 4 | -45/+68 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | AR relation | |||||
| * | | | | | | | | | | | | | | | | | | | | | | Merge commit 'rails/master' | Emilio Tagua | 2009-07-21 | 2 | -8/+2 | |
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ |