aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Rename Attribute Not -> Inequality and add a Not predicate (complement)Ernie Miller2010-05-074-9/+26
|
* Cleaner support for Ranges with excluded end.Ernie Miller2010-05-071-0/+10
|
* Add grouped predicates (_any/_all) and refactored predication method definitionsErnie Miller2010-05-073-38/+78
|
* Added NotMatch and NotIn predicates, made Not derive from Equality (reverted ↵Ernie Miller2010-05-077-8/+48
| | | | later)
* Merge remote branch 'spastorino/master'Emilio Tagua2010-04-224-1/+15
|\
| * build expression not(nil) as IS NOT NULLSantiago Pastorino2010-04-214-1/+15
| |
* | Return nil when looking up an attribute by name that does not exist instead ↵Carl Lerche2010-04-031-8/+1
| | | | | | | | of returning a fictitious attribute.
* | Remove commented out codeCarl Lerche2010-04-021-4/+0
| |
* | Create an Arel::Header class representing a relation's attributesCarl Lerche2010-04-0211-35/+115
|/
* Handle ranges with excluded end.Emilio Tagua2010-03-291-1/+5
|
* Bump the version to 0.3.3Emilio Tagua2010-03-251-1/+1
|
* Use ActiveSupport beta since beta1 is not released yet. Added ↵Emilio Tagua2010-03-251-0/+13
| | | | singleton_class until beta1 is out.
* Bump the version to 0.3.2Emilio Tagua2010-03-251-2/+2
|
* Use adapter add_limit_offset! method when building query.Emilio Tagua2010-03-252-19/+5
|
* Restrictions should be able to contain multiple predicates.Carl Lerche2010-03-232-6/+6
|
* Cleanup the spec helper and spec rake task a bitCarl Lerche2010-03-231-1/+1
|
* Rake is a better build tool than Thor. Move the gem building and releasing ↵Carl Lerche2010-03-232-2/+5
| | | | tasks to the Rakefile.
* Switch Arel::Relation to a module. This will allow for classes with Relation ↵Carl Lerche2010-03-2213-16/+22
| | | | extended on them to represent relations themselves (as opposed to their instances being relations).
* Fix uninitialized ivar warningEmilio Tagua2010-03-221-0/+1
|
* fixing uninitialized ivar warningAaron Patterson2010-03-141-0/+1
|
* Add shared tests for skipCarl Lerche2010-03-121-1/+2
|
* Add full stack tests for #takeCarl Lerche2010-03-121-1/+2
|
* Support in memory ordering better.Carl Lerche2010-03-123-11/+21
|
* Add support for a NOT predicateCarl Lerche2010-03-124-0/+15
|
* Add a bunch of specs for attribute type casting.Carl Lerche2010-03-122-13/+11
|
* Attributes should be typedCarl Lerche2010-03-1214-13/+155
|
* Merge branch 'master' of github.com:brynary/arelEmilio Tagua2010-03-123-3/+13
|\
| * Start writing integration specs for arel.Carl Lerche2010-03-111-0/+9
| |
| * Get the specs to start when an AR connection is not present.Carl Lerche2010-03-111-1/+2
| |
| * Latest ActiveSupport replaces metaclass with singleton_classCarl Lerche2010-03-111-2/+2
| |
* | Add accessibility to projections applied to the relation.Emilio Tagua2010-03-122-1/+2
|/
* Release v0.3.1Emilio Tagua2010-03-101-1/+1
|
* Release v0.3.0Emilio Tagua2010-03-101-2/+2
|
* Arel doesn't has to know if a table or column exists.Emilio Tagua2010-03-102-5/+18
|
* Refactor thethe wayy to obtain primary key value.Emilio Tagua2010-03-011-6/+7
|
* Remove " AS " keyword from table aliasing.Emilio Tagua2010-03-011-9/+2
|
* 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-011-4/+6
|
* 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-015-68/+192
| | | | Oracle syntax
* 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-184-2/+11
| | | | PostgreSQL.
* Moved primary_key to relation, send pk to engine, to build a betterEmilio Tagua2010-02-183-8/+11
| | | | query if possible.
* Merge branch 'master' of github.com:rails/arelEmilio Tagua2010-02-171-1/+1
|\