diff options
author | Nick Kallen <nkallen@nick-kallens-computer-2.local> | 2008-03-16 17:27:40 -0700 |
---|---|---|
committer | Nick Kallen <nkallen@nick-kallens-computer-2.local> | 2008-03-16 17:27:40 -0700 |
commit | 7bd0d634867ccbdf4537ba3d62b865b1cb7beebf (patch) | |
tree | f469465c385a99722b2263cae5f68a1a961a3c76 /TODO | |
parent | aa5c9a19826c84bbb9c9f75f8d1a4b04b874780c (diff) | |
download | rails-7bd0d634867ccbdf4537ba3d62b865b1cb7beebf.tar.gz rails-7bd0d634867ccbdf4537ba3d62b865b1cb7beebf.tar.bz2 rails-7bd0d634867ccbdf4537ba3d62b865b1cb7beebf.zip |
allowing string passthrough for order clauses
Diffstat (limited to 'TODO')
-rw-r--r-- | TODO | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -11,9 +11,6 @@ todo: {:conditions=>{"topics.approved"=>false}} {:conditions=>{:address=>#<Address:0x3489b3c @street="Funny Street", @country="Loony Land", @city="Scary Town">, "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 |