Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | raise an error if limit for deletion is specified while using IBM_DB | Praveen Devarao | 2010-02-25 | 1 | -1/+1 |
| | | | | Signed-off-by: Emilio Tagua <miloops@gmail.com> | ||||
* | Moved adding of limit on deletion and adding of limit on update conditions ↵ | Praveen Devarao | 2010-02-25 | 3 | -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 Tagua | 2010-02-19 | 1 | -4/+5 |
| | |||||
* | Insertions should use insert and not execute to get a valid returning | Emilio Tagua | 2010-02-18 | 4 | -27/+30 |
| | | | | value. Moved clasuses to Arel::Relation. | ||||
* | Fixed compiler require. | Emilio Tagua | 2010-02-18 | 1 | -1/+1 |
| | |||||
* | Added support for RETURNING primary key when available, only for | Emilio Tagua | 2010-02-18 | 4 | -2/+11 |
| | | | | PostgreSQL. | ||||
* | Moved primary_key to relation, send pk to engine, to build a better | Emilio Tagua | 2010-02-18 | 3 | -8/+11 |
| | | | | query if possible. | ||||
* | Merge branch 'master' of github.com:rails/arel | Emilio Tagua | 2010-02-17 | 1 | -1/+1 |
|\ | |||||
| * | Quoting every part of a Range. Calling .to_s is not enough for Range with ↵ | Eugene Pimenov | 2010-02-01 | 1 | -1/+1 |
| | | | | | | | | two Time objects. | ||||
* | | Move update conditions with limit logic into compilers. | Emilio Tagua | 2010-02-16 | 3 | -10/+15 |
| | | |||||
* | | If a compiler is not found for the current adapter, use the generic one. | Emilio Tagua | 2010-02-16 | 1 | -1/+5 |
| | | |||||
* | | Removed blank lines, rename query to subquery. | Emilio Tagua | 2010-02-16 | 1 | -4/+2 |
| | | |||||
* | | Move using_distinct_on? to PostgreSQL compiler. Extract order tweaking | Emilio Tagua | 2010-02-16 | 2 | -9/+12 |
| | | | | | | | | to a new method. | ||||
* | | Extract SQL logic from Arel::Relation into compilers. | Emilio Tagua | 2010-02-15 | 9 | -74/+130 |
| | | |||||
* | | Release v0.2.1 | Bryan Helmkamp | 2010-02-05 | 1 | -1/+1 |
|/ | |||||
* | Release v0.2.0 | Bryan Helmkamp | 2010-01-31 | 1 | -1/+1 |
| | |||||
* | Fix the generated SQL when In predicate is supplied an empty Array | Pratik Naik | 2010-01-30 | 1 | -1/+5 |
| | |||||
* | Cache adapter_name in Sql::Engine | Pratik Naik | 2010-01-21 | 1 | -0/+4 |
| | |||||
* | Make sure string join relations can be chained | Pratik Naik | 2010-01-13 | 1 | -0/+4 |
| | |||||
* | Table alias should be considered when checking for equality | Pratik Naik | 2010-01-12 | 1 | -2/+3 |
| | |||||
* | Make sure not to use alias if it's same as the table name | Pratik Naik | 2010-01-12 | 1 | -1/+1 |
| | |||||
* | Dont require activerecord | Pratik Naik | 2010-01-09 | 1 | -3/+0 |
| | |||||
* | Add support for table aliasing | Pratik Naik | 2010-01-01 | 3 | -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 Tagua | 2009-12-31 | 2 | -5/+5 |
| | | | | queries on SQLite. | ||||
* | Attributes may be an Arel value which doesn't respond to aggregation?, don't ↵ | Emilio Tagua | 2009-12-29 | 1 | -1/+1 |
| | | | | test them. | ||||
* | Added having to use in combination with group to filter records. | Emilio Tagua | 2009-12-28 | 6 | -2/+29 |
| | |||||
* | Don't try to lock reads when using any SQLite adapter, it's redundant | Emilio Tagua | 2009-12-28 | 1 | -1/+1 |
| | | | | and may generate an invalid query. | ||||
* | Added lock to Arel, allowing a locking read if required. | Emilio Tagua | 2009-12-27 | 5 | -3/+23 |
| | |||||
* | Don't split sql logging across multiple lines. | Emilio Tagua | 2009-12-27 | 1 | -1/+1 |
| | |||||
* | Removed useless attribute definition from TableReference. | Emilio Tagua | 2009-12-27 | 1 | -4/+0 |
| | |||||
* | Added "from" method, allowing to specify custom from clauses. | Emilio Tagua | 2009-12-27 | 7 | -4/+26 |
| | |||||
* | Don't split sql logging across multiple lines. | Emilio Tagua | 2009-12-26 | 1 | -1/+1 |
| | |||||
* | Ruby 1.9: Array#to_s behaves like inspect now, so we don't want to use it ↵ | Bryan Helmkamp | 2009-11-10 | 1 | -1/+1 |
| | | | | here (needs spec!) | ||||
* | This is 0.2.pre now | Bryan Helmkamp | 2009-11-10 | 1 | -1/+1 |
| | |||||
* | Ruby 1.9: Sort attributes deterministically so specs always pass | Bryan Helmkamp | 2009-11-09 | 1 | -3/+19 |
| | |||||
* | Dropping Jeweler in favor of some simple Thor tasks (for Gemcutter) | Bryan Helmkamp | 2009-10-27 | 1 | -0/+2 |
| | |||||
* | Removing unused params from #to_sql methods on writes | Bryan Helmkamp | 2009-10-01 | 1 | -3/+4 |
| | |||||
* | Whitespace | Bryan Helmkamp | 2009-09-30 | 1 | -9/+9 |
| | |||||
* | Pull primitives up one level | Bryan Helmkamp | 2009-09-30 | 6 | -6/+6 |
| | |||||
* | Create Predicates module to match directory structure | Bryan Helmkamp | 2009-09-30 | 4 | -96/+102 |
| | |||||
* | Move extensions directories to core_extensions | Bryan Helmkamp | 2009-09-30 | 14 | -10/+10 |
| | |||||
* | Autoload Arel::Session | Bryan Helmkamp | 2009-09-30 | 1 | -3/+5 |
| | |||||
* | Fix almost all Ruby warnings during spec suite | Bryan Helmkamp | 2009-09-20 | 2 | -4/+10 |
| | |||||
* | When Arel is loaded the $LOAD_PATH should already be set properly, so don't ↵ | Bryan Helmkamp | 2009-09-20 | 1 | -1/+0 |
| | | | | modify it | ||||
* | Whitespace | Bryan Helmkamp | 2009-09-20 | 9 | -9/+9 |
| | |||||
* | Merge remote branch 'miloops/master' into miloops | Bryan Helmkamp | 2009-09-20 | 9 | -21/+78 |
|\ | | | | | | | | | | | | | Conflicts: spec/connections/mysql_connection.rb spec/connections/postgresql_connection.rb spec/connections/sqlite3_connection.rb | ||||
| * | Cherry pick AS extensions. | Emilio Tagua | 2009-09-14 | 1 | -0/+4 |
| | | |||||
| * | Remove explicit rubygems require. Use Active Support provided by Active ↵ | Jeremy Kemper | 2009-09-14 | 1 | -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 Kemper | 2009-09-14 | 1 | -2/+2 |
| | | | | | | | | name (deprecated) | ||||
| * | Accept Arel::Value in hash values and treat them properly. | Emilio Tagua | 2009-08-14 | 1 | -1/+1 |
| | |