aboutsummaryrefslogtreecommitdiffstats
path: root/TODO
diff options
context:
space:
mode:
authorNick Kallen <nkallen@nick-kallens-computer-2.local>2008-03-16 17:49:06 -0700
committerNick Kallen <nkallen@nick-kallens-computer-2.local>2008-03-16 17:49:06 -0700
commitcae95fc02af1fff885dca4a29b2fd3711b809cab (patch)
treee177c3721d20596b4cc60e336b0999060e6e82a6 /TODO
parent2d3681bb3c9ed8136fc46857828b74ae39b6d990 (diff)
downloadrails-cae95fc02af1fff885dca4a29b2fd3711b809cab.tar.gz
rails-cae95fc02af1fff885dca4a29b2fd3711b809cab.tar.bz2
rails-cae95fc02af1fff885dca4a29b2fd3711b809cab.zip
projections now support string passthrough
- there is a weird inconsistency in where bind is called on values; this needs to be resolved
Diffstat (limited to 'TODO')
-rw-r--r--TODO18
1 files changed, 8 insertions, 10 deletions
diff --git a/TODO b/TODO
index c58a6d091f..8b60e671a1 100644
--- a/TODO
+++ b/TODO
@@ -1,34 +1,26 @@
todo:
- string passthrough:
:joins=>"INNER JOIN posts ON comments.post_id = posts.id"
- :conditions=>"(`posts`.author_id = 1)",
:select=>"`comments`.*"
- :conditions=>"1 = 1"
- need adapters for this form:
{:conditions=>["approved = ?", false]}
{:conditions=>{:approved=>false}}
{:conditions=>{"topics.approved"=>false}}
{:conditions=>{:address=>#<Address:0x3489b3c @street="Funny Street", @country="Loony Land", @city="Scary Town">, "customers.name"=>"David1"}}
-
-- orders need string pass through
- :order=>"developers.name desc, developers.id desc",
-- orders need to be composable
+- re-evaluate bind -- does bind belong inside the relation / predicate classes or in the factory methods?
- #bind in Attribute and Expression should be doing a descend?
- try to make aggration testing in join spec to be a bit more unit-like
- finish pending tests
- test relation, table reset
- cache expiry on write
- rewrite of querycache test in light of this
-- relation inclusion when given an array (1,2,3,4) should quote the elements using the appropriate quoting formatter taken from the attribute
- - descend on array, along with bind written in terms of it
- standardize quoting
- use strings everywhere, not symbols ?
- "unit" test sql strategies
- use real world examples, so they should be like a tutorial.
- rename the tion (Selection) classes so that words that don't end in tion don't seem inconsistent
-- re-evaluate bind
- mock out database
done:
@@ -67,4 +59,10 @@ done:
- renamed to #format: operand1.format(operand2)
- rename sql strategies
- need to_sql for ranges
- - {:conditions=>{:id=>2..3}} \ No newline at end of file
+ - {:conditions=>{:id=>2..3}}
+- nested orderings
+- string passthrough
+ - conditions
+ - orderings
+- relation inclusion when given an array (1,2,3,4) should quote the elements using the appropriate quoting formatter taken from the attribute
+ - descend on array, along with bind written in terms of it