aboutsummaryrefslogtreecommitdiffstats
path: root/spec/arel
Commit message (Collapse)AuthorAgeFilesLines
...
* starting a spec for the tableAaron Patterson2010-08-121-18/+19
|
* stripping the spec helperAaron Patterson2010-08-121-0/+38
|
* We're obviously writing specs for arel. No need for a sub directory.Carl Lerche2010-03-1257-3966/+0
|
* Add a bunch of specs for attribute type casting.Carl Lerche2010-03-121-50/+8
|
* Attributes should be typedCarl Lerche2010-03-1210-26/+33
|
* Start writing integration specs for arel.Carl Lerche2010-03-111-0/+120
|
* Release v0.3.0Emilio Tagua2010-03-101-1/+1
|
* Arel doesn't has to know if a table or column exists.Emilio Tagua2010-03-103-4/+21
|
* Remove " AS " keyword from table aliasing.Emilio Tagua2010-03-014-36/+36
|
* changes for Oracle support - OracleCompiler and corresponding tests with ↵Raimonds Simanovskis2010-03-0126-63/+638
| | | | Oracle syntax
* Added support for RETURNING primary key when available, only forEmilio Tagua2010-02-181-1/+12
| | | | PostgreSQL.
* Fix test which depends on the RUBY_VERSION when using sqlite3 adapter.Emilio Tagua2010-02-171-1/+5
|
* Quoting every part of a Range. Calling .to_s is not enough for Range with ↵Eugene Pimenov2010-02-012-2/+26
| | | | two Time objects.
* Fix the generated SQL when In predicate is supplied an empty ArrayPratik Naik2010-01-301-0/+19
|
* Make sure string join relations can be chainedPratik Naik2010-01-131-1/+30
|
* Make sure not to use alias if it's same as the table namePratik Naik2010-01-121-0/+19
|
* Add support for table aliasingPratik Naik2010-01-012-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 Tagua2009-12-281-0/+36
|
* Don't try to lock reads when using any SQLite adapter, it's redundantEmilio Tagua2009-12-281-2/+16
| | | | and may generate an invalid query.
* Added lock to Arel, allowing a locking read if required.Emilio Tagua2009-12-271-0/+47
|
* Added "from" method, allowing to specify custom from clauses.Emilio Tagua2009-12-271-0/+50
|
* Ruby 1.9: Improve the way we spec thisBryan Helmkamp2009-11-091-2/+2
|
* Switch from rr to RSpec mocks. rr has issues on 1.9.2preBryan Helmkamp2009-11-093-10/+10
|
* Ruby 1.9: the constants must be qualifiedBryan Helmkamp2009-11-096-10/+10
|
* Create Predicates module to match directory structureBryan Helmkamp2009-09-309-260/+274
|
* Fix almost all Ruby warnings during spec suiteBryan Helmkamp2009-09-206-15/+14
|
* WhitespaceBryan Helmkamp2009-09-202-3/+3
|
* Merge remote branch 'miloops/master' into miloopsBryan Helmkamp2009-09-2053-69/+86
|\ | | | | | | | | | | | | 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 Kemper2009-09-1453-53/+53
| | | | | | | | specs on Ruby 1.9 since . is no longer in the load path.
| * Allow SQL strings to insert query. Insert should better return engine's result.Emilio Tagua2009-07-012-10/+9
| |
| * Build valid SQL query for SQLite3 and PostgreSQL when updating records with ↵Emilio Tagua2009-06-231-6/+12
| | | | | | | | limited conditions
| * Allow expressions on literal SQL fragmentsEmilio Tagua2009-05-281-0/+12
| |
* | Bug fix: Don't use #delegate to declare delegations when intentionally ↵Lee Bankewitz2009-08-101-0/+15
|/ | | | | | delegating to nil This accounts for a behavior change after Rails 2.3
* Adding SqlLiteral with spec for countsBryan Helmkamp2009-05-191-0/+23
|
* Expand sql engine CRUD specsBryan Helmkamp2009-05-181-5/+14
|
* Better inspect output for ExpressionsBryan Helmkamp2009-05-181-0/+6
|
* Remvoing unused variable from specBryan Helmkamp2009-05-181-1/+0
|
* Adding skeleton of spec for CRUD operations in Sql::EngineBryan Helmkamp2009-05-171-0/+36
|
* Fix bug in Order equality where Descending.new(attribute) was == ↵Bryan Helmkamp2009-05-172-2/+12
| | | | Ascending.new(attribute)
* Moving SQL predicates spec to correct dirBryan Helmkamp2009-05-171-1/+1
|
* Added PostgreSQL to buildBryan Helmkamp2009-05-175-12/+89
|
* Add spec for Attribute#inspectBryan Helmkamp2009-05-171-0/+6
|
* WhitespaceBryan Helmkamp2009-05-1739-128/+128
|
* joining across engines in either directionBryan Helmkamp2009-05-171-11/+28
| | | | | | Conflicts: spec/arel/engines/memory/integration/joins/cross_engine_spec.rb
* initial implementation of cross-engine joinBryan Helmkamp2009-05-171-0/+31
| | | | | | | Conflicts: lib/arel/engines/memory/relations/array.rb lib/arel/engines/sql/primitives.rb
* basic implementation of in memory insertionsBryan Helmkamp2009-05-171-0/+28
| | | | | | Conflicts: lib/arel/engines/memory/relations.rb
* using in memory relations as results from sql relationNick Kallen2009-05-173-8/+16
| | | | | | | Conflicts: lib/arel/algebra/primitives/expression.rb lib/arel/algebra/relations/relation.rb
* performing in memory joinsNick Kallen2009-05-171-0/+32
|
* better test orderingBryan Helmkamp2009-05-176-86/+145
| | | | | | Conflicts: doc/TODO
* recursive memory operations now possibleBryan Helmkamp2009-05-171-26/+57
| | | | | | Conflicts: lib/arel/algebra/relations/relation.rb