aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Update release dates.Emilio Tagua2010-03-102-3/+3
|
* Release v0.3.0Emilio Tagua2010-03-104-4/+12
|
* Arel doesn't has to know if a table or column exists.Emilio Tagua2010-03-105-9/+39
|
* Refactor thethe wayy to obtain primary key value.Emilio Tagua2010-03-011-6/+7
|
* Remove " AS " keyword from table aliasing.Emilio Tagua2010-03-015-45/+38
|
* Prevent from getting errors when trying to get primary key value.Emilio Tagua2010-03-011-6/+6
|
* pass primary_key value to AR adapter insert method (necessary for Oracle ↵Raimonds Simanovskis2010-03-011-1/+7
| | | | adapter)
* cache primary key per engine connection, updated gemspec fileRaimonds Simanovskis2010-03-012-5/+13
|
* use primary_key method in OracleCompiler#select_sqlRaimonds Simanovskis2010-03-011-9/+3
|
* changes for Oracle support - OracleCompiler and corresponding tests with ↵Raimonds Simanovskis2010-03-0136-141/+892
| | | | Oracle syntax
* Arel should not be consired alpha anymore.Emilio Tagua2010-02-261-2/+0
|
* Fix limited_update_conditions on MySQLCompiler to receive and buildEmilio Tagua2010-02-251-1/+2
| | | | limit.
* raise an error if limit for deletion is specified while using IBM_DBPraveen Devarao2010-02-251-1/+1
| | | | Signed-off-by: Emilio Tagua <miloops@gmail.com>
* Moved adding of limit on deletion and adding of limit on update conditions ↵Praveen Devarao2010-02-253-5/+70
| | | | | | to GenericCompiler, to provide flexibility to handle db specifics Signed-off-by: Emilio Tagua <miloops@gmail.com>
* Refactored primary_key to look up for the real primary_key and cache it.Emilio Tagua2010-02-191-4/+5
|
* Insertions should use insert and not execute to get a valid returningEmilio Tagua2010-02-184-27/+30
| | | | value. Moved clasuses to Arel::Relation.
* Fixed compiler require.Emilio Tagua2010-02-181-1/+1
|
* Added support for RETURNING primary key when available, only forEmilio Tagua2010-02-185-3/+23
| | | | PostgreSQL.
* Moved primary_key to relation, send pk to engine, to build a betterEmilio Tagua2010-02-183-8/+11
| | | | query if possible.
* Fix test which depends on the RUBY_VERSION when using sqlite3 adapter.Emilio Tagua2010-02-171-1/+5
|
* Merge branch 'master' of github.com:rails/arelEmilio Tagua2010-02-176-6/+33
|\
| * Quoting every part of a Range. Calling .to_s is not enough for Range with ↵Eugene Pimenov2010-02-016-6/+33
| | | | | | | | two Time objects.
* | Move update conditions with limit logic into compilers.Emilio Tagua2010-02-163-10/+15
| |
* | If a compiler is not found for the current adapter, use the generic one.Emilio Tagua2010-02-161-1/+5
| |
* | Removed blank lines, rename query to subquery.Emilio Tagua2010-02-161-4/+2
| |
* | Move using_distinct_on? to PostgreSQL compiler. Extract order tweakingEmilio Tagua2010-02-162-9/+12
| | | | | | | | to a new method.
* | Extract SQL logic from Arel::Relation into compilers.Emilio Tagua2010-02-159-74/+130
| |
* | Release v0.2.1Bryan Helmkamp2010-02-053-3/+3
| |
* | Bump dependency version of activesupport to 3.0.0.betaBryan Helmkamp2010-02-053-5/+11
| |
* | Add Emilio Tagua as a maintainerBryan Helmkamp2010-02-012-3/+3
|/
* Release v0.2.0Bryan Helmkamp2010-01-314-7/+9
|
* Fix the generated SQL when In predicate is supplied an empty ArrayPratik Naik2010-01-302-1/+24
|
* Cache adapter_name in Sql::EnginePratik Naik2010-01-211-0/+4
|
* Make sure string join relations can be chainedPratik Naik2010-01-132-1/+34
|
* Table alias should be considered when checking for equalityPratik Naik2010-01-121-2/+3
|
* Make sure not to use alias if it's same as the table namePratik Naik2010-01-122-1/+20
|
* Dont require activerecordPratik Naik2010-01-091-3/+0
|
* Add support for table aliasingPratik Naik2010-01-015-7/+92
| | | | | | | Example : users = Table(:users, :as => :accounts) users.to_sql => SELECT `accounts`.`id`, `accounts`.`name` FROM `users` AS `accounts`
* Merge branch 'master' of github.com:rails/arelEmilio Tagua2009-12-311-1/+10
|\
| * Update GemspecBryan Helmkamp2009-12-291-1/+10
| |
* | Remove every new line when generating queries, this may build invalid ↵Emilio Tagua2009-12-312-5/+5
|/ | | | queries on SQLite.
* Attributes may be an Arel value which doesn't respond to aggregation?, don't ↵Emilio Tagua2009-12-291-1/+1
| | | | test them.
* Added having to use in combination with group to filter records.Emilio Tagua2009-12-2810-2/+86
|
* Don't try to lock reads when using any SQLite adapter, it's redundantEmilio Tagua2009-12-282-3/+17
| | | | and may generate an invalid query.
* Added lock to Arel, allowing a locking read if required.Emilio Tagua2009-12-276-3/+70
|
* Don't split sql logging across multiple lines.Emilio Tagua2009-12-271-1/+1
|
* Removed useless attribute definition from TableReference.Emilio Tagua2009-12-271-4/+0
|
* Added "from" method, allowing to specify custom from clauses.Emilio Tagua2009-12-278-4/+76
|
* Don't split sql logging across multiple lines.Emilio Tagua2009-12-261-1/+1
|
* Ruby 1.9: Array#to_s behaves like inspect now, so we don't want to use it ↵Bryan Helmkamp2009-11-101-1/+1
| | | | here (needs spec!)