aboutsummaryrefslogtreecommitdiffstats
path: root/lib/active_relation/sql.rb
Commit message (Collapse)AuthorAgeFilesLines
* renamed strategy method to formatNick Kallen2008-03-111-7/+7
| | | | | | - strategy (the method on scalar and attribute) is a complex double-dispatching scheme to format (to_sql) a scalar in the light of the particular attribute; that is, it casts strings to integers if the column is int, etc.
* scalars are now lifted; the heavy lifting is done by the operations on ↵Nick Kallen2008-03-021-1/+1
| | | | relation (select, join, etc.)
* introduced engine dependency for sql strategiesNick Kallen2008-03-021-7/+8
| | | | - hacked in default engine for scalars -- BAD
* new concept of session boundariesNick Kallen2008-03-021-1/+2
|
* quoting issuesNick Kallen2008-02-241-5/+18
|
* Introduced concept of session. It does not yet support multiple databases, ↵Nick Kallen2008-02-231-1/+1
| | | | nor transactions, but it's a start!
* adding support for scalar selectsNick Kallen2008-02-161-2/+2
|
* completed initial functionality for joining with aggregation (the meaning of ↵Nick Kallen2008-01-211-4/+10
| | | | which is joining on a subselect/derived table); the big change is the introduction of a #projections protected method; this is a private version of #attributes which preserves implementation information (e.g., the name of the function called)
* experimenting with strategy pattern rather than conditional; not as terse, ↵Nick Kallen2008-01-131-0/+51
nor transparent, but i still feel it's better