aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorBryan Helmkamp <bryan@brynary.com>2009-05-17 13:58:29 -0400
committerBryan Helmkamp <bryan@brynary.com>2009-05-17 13:58:29 -0400
commit2bbf8ca9d2af3ea959a21c3729b4894bc31f088b (patch)
treed28994667dbebe135cc7c43d3948a5e5d968f214 /doc
parent49d119ae84bbb7cd180ca855cf48997dc731554c (diff)
downloadrails-2bbf8ca9d2af3ea959a21c3729b4894bc31f088b.tar.gz
rails-2bbf8ca9d2af3ea959a21c3729b4894bc31f088b.tar.bz2
rails-2bbf8ca9d2af3ea959a21c3729b4894bc31f088b.zip
reorganized call
Conflicts: doc/TODO lib/arel/relations/relation.rb lib/arel/relations/writes/delete.rb lib/arel/relations/writes/insert.rb lib/arel/relations/writes/update.rb lib/arel/session.rb spec/arel/unit/relations/delete_spec.rb spec/arel/unit/relations/insert_spec.rb spec/arel/unit/relations/relation_spec.rb spec/arel/unit/relations/update_spec.rb spec/arel/unit/session/session_spec.rb
Diffstat (limited to 'doc')
-rw-r--r--doc/TODO16
1 files changed, 7 insertions, 9 deletions
diff --git a/doc/TODO b/doc/TODO
index 740e5db5fe..ad12640881 100644
--- a/doc/TODO
+++ b/doc/TODO
@@ -1,19 +1,16 @@
todo:
-- joining with LIMIT is like aggregations!!
+- refactor adapter pattern
+- implement in memory adapter
+- implement mnesia adapter
+- joins become subselects in writes:
users.delete().where(
addresses.c.user_id==
select([users.c.id]).
where(users.c.name=='jack')
)
-
- SELECT id, name,
- (select count(*) FROM addresses WHERE
- user_id=users.id)
- FROM users
-
- SELECT users.*, (SELECT count(id) FROM addresses WHERE
- addresses.user_id=users.id) FROM users
+- rename externalize to derived.
+- and/or w/ predicates
- blocks for all operations
- result sets to attr correlation too
- cache expiry on write
@@ -85,6 +82,7 @@ done:
- test: find_attribute_given_attribute and all @attribute ||= everywhere and memoization of table class.
- rename select to where
- rename all ion classes
+- joining with LIMIT is like aggregations!!
icebox:
- #bind in Attribute and Expression should be doing a descend?