aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Release v0.2.0Bryan Helmkamp2010-01-311-1/+1
|
* Fix the generated SQL when In predicate is supplied an empty ArrayPratik Naik2010-01-301-1/+5
|
* Cache adapter_name in Sql::EnginePratik Naik2010-01-211-0/+4
|
* Make sure string join relations can be chainedPratik Naik2010-01-131-0/+4
|
* 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-121-1/+1
|
* Dont require activerecordPratik Naik2010-01-091-3/+0
|
* Add support for table aliasingPratik Naik2010-01-013-5/+18
| | | | | | | Example : users = Table(:users, :as => :accounts) users.to_sql => SELECT `accounts`.`id`, `accounts`.`name` FROM `users` AS `accounts`
* 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-286-2/+29
|
* Don't try to lock reads when using any SQLite adapter, it's redundantEmilio Tagua2009-12-281-1/+1
| | | | and may generate an invalid query.
* Added lock to Arel, allowing a locking read if required.Emilio Tagua2009-12-275-3/+23
|
* 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-277-4/+26
|
* 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!)
* This is 0.2.pre nowBryan Helmkamp2009-11-101-1/+1
|
* Ruby 1.9: Sort attributes deterministically so specs always passBryan Helmkamp2009-11-091-3/+19
|
* Dropping Jeweler in favor of some simple Thor tasks (for Gemcutter)Bryan Helmkamp2009-10-271-0/+2
|
* Removing unused params from #to_sql methods on writesBryan Helmkamp2009-10-011-3/+4
|
* WhitespaceBryan Helmkamp2009-09-301-9/+9
|
* Pull primitives up one levelBryan Helmkamp2009-09-306-6/+6
|
* Create Predicates module to match directory structureBryan Helmkamp2009-09-304-96/+102
|
* Move extensions directories to core_extensionsBryan Helmkamp2009-09-3014-10/+10
|
* Autoload Arel::SessionBryan Helmkamp2009-09-301-3/+5
|
* Fix almost all Ruby warnings during spec suiteBryan Helmkamp2009-09-202-4/+10
|
* When Arel is loaded the $LOAD_PATH should already be set properly, so don't ↵Bryan Helmkamp2009-09-201-1/+0
| | | | modify it
* WhitespaceBryan Helmkamp2009-09-209-9/+9
|
* Merge remote branch 'miloops/master' into miloopsBryan Helmkamp2009-09-209-21/+78
|\ | | | | | | | | | | | | Conflicts: spec/connections/mysql_connection.rb spec/connections/postgresql_connection.rb spec/connections/sqlite3_connection.rb
| * Cherry pick AS extensions.Emilio Tagua2009-09-141-0/+4
| |
| * Remove explicit rubygems require. Use Active Support provided by Active ↵Jeremy Kemper2009-09-141-7/+1
| | | | | | | | Record. Add self to load path after requiring Active Record.
| * Require active_support and active_record by name in LOAD_PATH instead of gem ↵Jeremy Kemper2009-09-141-2/+2
| | | | | | | | name (deprecated)
| * Accept Arel::Value in hash values and treat them properly.Emilio Tagua2009-08-141-1/+1
| |
| * Allow joining a StringJoin with another join relation.Emilio Tagua2009-08-141-2/+2
| |
| * Allow SQL strings to insert query. Insert should better return engine's result.Emilio Tagua2009-07-012-4/+8
| |
| * If the class or method isn't defined use "id" as primary_key.Emilio Tagua2009-06-231-1/+6
| |
| * Build valid SQL query when using PostreSQL with given order and DISTINCTEmilio Tagua2009-06-231-0/+24
| | | | | | | | ON clause. TODO: refactoring to clean up components.
| * Build valid SQL query for SQLite3 and PostgreSQL when updating records with ↵Emilio Tagua2009-06-231-2/+18
| | | | | | | | limited conditions
| * Allow strings as update assignmentsEmilio Tagua2009-06-101-3/+7
| |
| * Return delete result instead Arel objectEmilio Tagua2009-06-021-2/+0
| |
| * Allow expressions on literal SQL fragmentsEmilio Tagua2009-05-281-1/+3
| |
| * Don't quote the table if it isn't a table name. By doing this Arel supports ↵Emilio Tagua2009-05-281-2/+6
| | | | | | | | using custom SQL FROM like: edges USE INDEX(unique_edge_index)
| * This should be performed by the engine, if it does not exists, then create ↵Emilio Tagua2009-05-281-1/+0
| | | | | | | | SQLLiteral not Attribute.
| * Merge commit 'brynary/master'Emilio Tagua2009-05-2660-0/+1629
| |\ | | | | | | | | | | | | | | | | | | Conflicts: lib/arel.rb lib/arel/session.rb
| * | Removed lib to avoid any conflict in mergeEmilio Tagua2009-05-2641-1144/+0
| | |
| * | Don't quote columns when they are not an attributeEmilio Tagua2009-05-181-3/+8
| | |
| * | Require active_support/core_ext since ActiveRecord don't require it any moreEmilio Tagua2009-05-181-1/+2
| | |
* | | Bug fix: Don't use #delegate to declare delegations when intentionally ↵Lee Bankewitz2009-08-101-2/+8
| |/ |/| | | | | | | | | delegating to nil This accounts for a behavior change after Rails 2.3