Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Added support for RETURNING primary key when available, only for | Emilio Tagua | 2010-02-18 | 1 | -1/+12 |
| | | | | PostgreSQL. | ||||
* | Fix test which depends on the RUBY_VERSION when using sqlite3 adapter. | Emilio Tagua | 2010-02-17 | 1 | -1/+5 |
| | |||||
* | Quoting every part of a Range. Calling .to_s is not enough for Range with ↵ | Eugene Pimenov | 2010-02-01 | 5 | -5/+32 |
| | | | | two Time objects. | ||||
* | Fix the generated SQL when In predicate is supplied an empty Array | Pratik Naik | 2010-01-30 | 1 | -0/+19 |
| | |||||
* | Make sure string join relations can be chained | Pratik Naik | 2010-01-13 | 1 | -1/+30 |
| | |||||
* | Make sure not to use alias if it's same as the table name | Pratik Naik | 2010-01-12 | 1 | -0/+19 |
| | |||||
* | Add support for table aliasing | Pratik Naik | 2010-01-01 | 2 | -2/+74 |
| | | | | | | | Example : users = Table(:users, :as => :accounts) users.to_sql => SELECT `accounts`.`id`, `accounts`.`name` FROM `users` AS `accounts` | ||||
* | Added having to use in combination with group to filter records. | Emilio Tagua | 2009-12-28 | 4 | -0/+57 |
| | |||||
* | Don't try to lock reads when using any SQLite adapter, it's redundant | Emilio Tagua | 2009-12-28 | 1 | -2/+16 |
| | | | | and may generate an invalid query. | ||||
* | Added lock to Arel, allowing a locking read if required. | Emilio Tagua | 2009-12-27 | 1 | -0/+47 |
| | |||||
* | Added "from" method, allowing to specify custom from clauses. | Emilio Tagua | 2009-12-27 | 1 | -0/+50 |
| | |||||
* | Ruby 1.9: Improve the way we spec this | Bryan Helmkamp | 2009-11-09 | 1 | -2/+2 |
| | |||||
* | Switch from rr to RSpec mocks. rr has issues on 1.9.2pre | Bryan Helmkamp | 2009-11-09 | 4 | -11/+11 |
| | |||||
* | Ruby 1.9: the constants must be qualified | Bryan Helmkamp | 2009-11-09 | 6 | -10/+10 |
| | |||||
* | Adding spec.opts | Bryan Helmkamp | 2009-10-01 | 1 | -0/+3 |
| | |||||
* | Create Predicates module to match directory structure | Bryan Helmkamp | 2009-09-30 | 9 | -260/+274 |
| | |||||
* | Fix almost all Ruby warnings during spec suite | Bryan Helmkamp | 2009-09-20 | 8 | -15/+26 |
| | |||||
* | Whitespace | Bryan Helmkamp | 2009-09-20 | 2 | -3/+3 |
| | |||||
* | Merge remote branch 'miloops/master' into miloops | Bryan Helmkamp | 2009-09-20 | 56 | -75/+93 |
|\ | | | | | | | | | | | | | Conflicts: spec/connections/mysql_connection.rb spec/connections/postgresql_connection.rb spec/connections/sqlite3_connection.rb | ||||
| * | Use load path rather than relative path for spec_helper requires. Also fixes ↵ | Jeremy Kemper | 2009-09-14 | 53 | -53/+53 |
| | | | | | | | | specs on Ruby 1.9 since . is no longer in the load path. | ||||
| * | Require active_support and active_record by name in LOAD_PATH instead of gem ↵ | Jeremy Kemper | 2009-09-14 | 3 | -4/+7 |
| | | | | | | | | name (deprecated) | ||||
| * | Allow SQL strings to insert query. Insert should better return engine's result. | Emilio Tagua | 2009-07-01 | 2 | -10/+9 |
| | | |||||
| * | Build valid SQL query for SQLite3 and PostgreSQL when updating records with ↵ | Emilio Tagua | 2009-06-23 | 1 | -6/+12 |
| | | | | | | | | limited conditions | ||||
| * | Allow expressions on literal SQL fragments | Emilio Tagua | 2009-05-28 | 1 | -0/+12 |
| | | |||||
| * | Merge commit 'brynary/master' | Emilio Tagua | 2009-05-26 | 83 | -1292/+2640 |
| |\ | | | | | | | | | | | | | | | | | | | Conflicts: lib/arel.rb lib/arel/session.rb | ||||
* | | | Bug fix: Don't use #delegate to declare delegations when intentionally ↵ | Lee Bankewitz | 2009-08-10 | 2 | -1/+16 |
| | | | | | | | | | | | | | | | | | | delegating to nil This accounts for a behavior change after Rails 2.3 | ||||
* | | | Adding jeweler for gem management | Bryan Helmkamp | 2009-08-06 | 3 | -0/+3 |
| |/ |/| | |||||
* | | Adding SqlLiteral with spec for counts | Bryan Helmkamp | 2009-05-19 | 1 | -0/+23 |
| | | |||||
* | | Expand sql engine CRUD specs | Bryan Helmkamp | 2009-05-18 | 1 | -5/+14 |
| | | |||||
* | | Log queries to debug.log when running specs | Bryan Helmkamp | 2009-05-18 | 3 | -0/+6 |
| | | |||||
* | | Better inspect output for Expressions | Bryan Helmkamp | 2009-05-18 | 1 | -0/+6 |
| | | |||||
* | | Remvoing unused variable from spec | Bryan Helmkamp | 2009-05-18 | 1 | -1/+0 |
| | | |||||
* | | Adding skeleton of spec for CRUD operations in Sql::Engine | Bryan Helmkamp | 2009-05-17 | 1 | -0/+36 |
| | | |||||
* | | Fix bug in Order equality where Descending.new(attribute) was == ↵ | Bryan Helmkamp | 2009-05-17 | 2 | -2/+12 |
| | | | | | | | | Ascending.new(attribute) | ||||
* | | Moving SQL predicates spec to correct dir | Bryan Helmkamp | 2009-05-17 | 1 | -1/+1 |
| | | |||||
* | | Added PostgreSQL to build | Bryan Helmkamp | 2009-05-17 | 8 | -13/+132 |
| | | |||||
* | | Add spec for Attribute#inspect | Bryan Helmkamp | 2009-05-17 | 1 | -0/+6 |
| | | |||||
* | | Whitespace | Bryan Helmkamp | 2009-05-17 | 46 | -150/+150 |
| | | |||||
* | | joining across engines in either direction | Bryan Helmkamp | 2009-05-17 | 1 | -11/+28 |
| | | | | | | | | | | | | Conflicts: spec/arel/engines/memory/integration/joins/cross_engine_spec.rb | ||||
* | | initial implementation of cross-engine join | Bryan Helmkamp | 2009-05-17 | 1 | -0/+31 |
| | | | | | | | | | | | | | | Conflicts: lib/arel/engines/memory/relations/array.rb lib/arel/engines/sql/primitives.rb | ||||
* | | basic implementation of in memory insertions | Bryan Helmkamp | 2009-05-17 | 1 | -0/+28 |
| | | | | | | | | | | | | Conflicts: lib/arel/engines/memory/relations.rb | ||||
* | | using in memory relations as results from sql relation | Nick Kallen | 2009-05-17 | 3 | -8/+16 |
| | | | | | | | | | | | | | | Conflicts: lib/arel/algebra/primitives/expression.rb lib/arel/algebra/relations/relation.rb | ||||
* | | performing in memory joins | Nick Kallen | 2009-05-17 | 1 | -0/+32 |
| | | |||||
* | | better test ordering | Bryan Helmkamp | 2009-05-17 | 6 | -86/+145 |
| | | | | | | | | | | | | Conflicts: doc/TODO | ||||
* | | recursive memory operations now possible | Bryan Helmkamp | 2009-05-17 | 1 | -26/+57 |
| | | | | | | | | | | | | Conflicts: lib/arel/algebra/relations/relation.rb | ||||
* | | removed duplicates from sql tests | Bryan Helmkamp | 2009-05-17 | 13 | -553/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: spec/arel/engines/sql/unit/predicates/binary_spec.rb spec/arel/engines/sql/unit/predicates/equality_spec.rb spec/arel/engines/sql/unit/primitives/attribute_spec.rb spec/arel/engines/sql/unit/primitives/expression_spec.rb spec/arel/engines/sql/unit/relations/alias_spec.rb spec/arel/engines/sql/unit/relations/join_spec.rb spec/arel/engines/sql/unit/relations/project_spec.rb spec/arel/engines/sql/unit/relations/relation_spec.rb spec/arel/engines/sql/unit/relations/table_spec.rb spec/arel/engines/sql/unit/relations/where_spec.rb spec/arel/engines/sql/unit/session/session_spec.rb | ||||
* | | reorganizing tests | Nick Kallen | 2009-05-17 | 44 | -24/+790 |
| | | |||||
* | | most in memory operations save join and group | Bryan Helmkamp | 2009-05-17 | 3 | -19/+72 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: lib/arel/algebra/extensions/object.rb lib/arel/algebra/primitives/value.rb lib/arel/engines/memory/relations.rb lib/arel/engines/sql/formatters.rb lib/arel/engines/sql/primitives.rb spec/arel/unit/relations/alias_spec.rb spec/arel/unit/relations/array_spec.rb spec/arel/unit/relations/order_spec.rb | ||||
* | | join sql stuff moved into sql adapter | Bryan Helmkamp | 2009-05-17 | 2 | -8/+8 |
| | | | | | | | | | | | | | | | | | | Conflicts: lib/arel/algebra/primitives/value.rb lib/arel/algebra/relations/operations/join.rb lib/arel/algebra/relations/relation.rb spec/arel/unit/relations/join_spec.rb | ||||
* | | removed function_sql in favor of polymorphism | Bryan Helmkamp | 2009-05-17 | 2 | -9/+9 |
| | | | | | | | | | | | | | | | | Conflicts: lib/arel/algebra/primitives/attribute.rb lib/arel/algebra/primitives/expression.rb spec/arel/unit/primitives/expression_spec.rb |