From 7bd0d634867ccbdf4537ba3d62b865b1cb7beebf Mon Sep 17 00:00:00 2001 From: Nick Kallen Date: Sun, 16 Mar 2008 17:27:40 -0700 Subject: allowing string passthrough for order clauses --- TODO | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'TODO') diff --git a/TODO b/TODO index 4e7701917d..c58a6d091f 100644 --- a/TODO +++ b/TODO @@ -11,9 +11,6 @@ todo: {:conditions=>{"topics.approved"=>false}} {:conditions=>{:address=>#, "customers.name"=>"David1"}} -- need to_sql for ranges - {:conditions=>{:id=>2..3}} - - orders need string pass through :order=>"developers.name desc, developers.id desc", @@ -69,3 +66,5 @@ done: - #formatter is now on value, attribute and relation; you must admit it's name is confusing given that e.g., relation already has a formatter (Sql::Relation) ... should it be called predicate formatter? operand1.to_sql(operand2.predicate) maybe prefer operand1.cast(operand2) or project or in light of - renamed to #format: operand1.format(operand2) - rename sql strategies +- need to_sql for ranges + - {:conditions=>{:id=>2..3}} \ No newline at end of file -- cgit v1.2.3