aboutsummaryrefslogtreecommitdiffstats
path: root/spec
Commit message (Collapse)AuthorAgeFilesLines
...
* Inequality shouldn't descend from equality, due to Rails type checks, and ↵Ernie Miller2010-05-071-3/+3
| | | | resolve conflicts from rebase
* Tests for notmatches and notin, and fixes for issues found in testsErnie Miller2010-05-073-10/+35
|
* Rename Attribute Not -> Inequality and add a Not predicate (complement)Ernie Miller2010-05-071-1/+1
|
* Added NotMatch and NotIn predicates, made Not derive from Equality (reverted ↵Ernie Miller2010-05-071-0/+4
| | | | later)
* Merge remote branch 'spastorino/master'Emilio Tagua2010-04-221-0/+75
|\
| * build expression not(nil) as IS NOT NULLSantiago Pastorino2010-04-211-0/+75
| |
* | Return nil when looking up an attribute by name that does not exist instead ↵Carl Lerche2010-04-032-21/+9
| | | | | | | | of returning a fictitious attribute.
* | Create an Arel::Header class representing a relation's attributesCarl Lerche2010-04-025-7/+45
|/
* Restrictions should be able to contain multiple predicates.Carl Lerche2010-03-231-0/+1
|
* Cleanup the spec helper and spec rake task a bitCarl Lerche2010-03-235-24/+24
|
* Switch Arel::Relation to a module. This will allow for classes with Relation ↵Carl Lerche2010-03-221-1/+3
| | | | extended on them to represent relations themselves (as opposed to their instances being relations).
* Add specs for simple in memory joins.Carl Lerche2010-03-121-0/+40
|
* Move the relation "integration" specs to specs/relationsCarl Lerche2010-03-122-31/+31
|
* Add shared tests for skipCarl Lerche2010-03-121-0/+23
|
* Add full stack tests for #takeCarl Lerche2010-03-121-0/+27
|
* Organize the matchers a bit moreCarl Lerche2010-03-128-93/+117
|
* Add support for a NOT predicateCarl Lerche2010-03-121-0/+33
|
* We're obviously writing specs for arel. No need for a sub directory.Carl Lerche2010-03-1257-0/+0
|
* This seems like it accidentally got included into the repoCarl Lerche2010-03-121-0/+0
|
* Add a bunch of specs for attribute type casting.Carl Lerche2010-03-127-50/+424
|
* Attributes should be typedCarl Lerche2010-03-1210-26/+33
|
* Remove crazyCarl Lerche2010-03-112-28/+0
|
* Move all spec support files into spec/supportCarl Lerche2010-03-1118-41/+43
|
* Start writing integration specs for arel.Carl Lerche2010-03-111-0/+120
|
* Get the specs to start when an AR connection is not present.Carl Lerche2010-03-111-1/+1
|
* 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-0129-70/+693
| | | | 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-015-5/+32
| | | | 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-284-0/+57
|
* 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-094-11/+11
|
* Ruby 1.9: the constants must be qualifiedBryan Helmkamp2009-11-096-10/+10
|
* Adding spec.optsBryan Helmkamp2009-10-011-0/+3
|
* Create Predicates module to match directory structureBryan Helmkamp2009-09-309-260/+274
|
* Fix almost all Ruby warnings during spec suiteBryan Helmkamp2009-09-208-15/+26
|
* WhitespaceBryan Helmkamp2009-09-202-3/+3
|
* Merge remote branch 'miloops/master' into miloopsBryan Helmkamp2009-09-2056-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 Kemper2009-09-1453-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 Kemper2009-09-143-4/+7
| | | | | | | | name (deprecated)