Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Allow limit values to accept an ARel SQL literal. | Ken Collins | 2011-02-09 | 1 | -3/+7 | |
| | ||||||
* | primary keys should not be cleared on cache clear, fixing oracle tests | Aaron Patterson | 2011-02-08 | 1 | -2/+0 | |
| | ||||||
* | limit() should sanitize limit values | Aaron Patterson | 2011-02-08 | 1 | -15/+15 | |
| | | | | This fixes CVE-2011-0448 | |||||
* | the connection pool caches table_exists? calls | Aaron Patterson | 2011-02-07 | 1 | -8/+14 | |
| | ||||||
* | adjust query counts to be consistent across databases, make sure database ↵ | Aaron Patterson | 2011-02-04 | 1 | -5/+9 | |
| | | | | log the same things | |||||
* | column cache now lives on the connection pool | Aaron Patterson | 2011-02-04 | 1 | -1/+5 | |
| | ||||||
* | almost fisted | Aaron Patterson | 2011-02-04 | 1 | -0/+7 | |
| | ||||||
* | making sure primary key is set on the columns | Aaron Patterson | 2011-02-04 | 1 | -1/+9 | |
| | ||||||
* | connection pool can cache column, table, and primary key information | Aaron Patterson | 2011-02-04 | 1 | -0/+34 | |
| | ||||||
* | Revert "ARel only requires the connection from the AR class. Simply return ↵ | Aaron Patterson | 2011-02-03 | 1 | -24/+24 | |
| | | | | | | the AR class rather than jump through hoops and store ivars" This reverts commit d65e3b481e72e8c76818a94353e9ac315c7c0272. | |||||
* | ARel only requires the connection from the AR class. Simply return the AR ↵ | Aaron Patterson | 2011-02-03 | 1 | -24/+24 | |
| | | | | class rather than jump through hoops and store ivars | |||||
* | moving AR::ConnectionAdapters::Column to its own file | Aaron Patterson | 2011-02-01 | 1 | -263/+0 | |
| | ||||||
* | column will use coder to typecase value when it is available | Aaron Patterson | 2011-02-01 | 1 | -0/+2 | |
| | ||||||
* | coders can be assigned to columns | Aaron Patterson | 2011-02-01 | 1 | -1/+4 | |
| | ||||||
* | dry up our case / when statements | Aaron Patterson | 2011-02-01 | 1 | -34/+31 | |
| | ||||||
* | expand mulasgn for enhancing readability | Aaron Patterson | 2011-01-31 | 1 | -6/+9 | |
| | ||||||
* | Use run_callbacks; the generated _run_<name>_callbacks method is not a ↵ | John Firebaugh | 2011-01-31 | 1 | -1/+1 | |
| | | | | | | public interface. Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | Add :bulk => true option to change_table | Pratik Naik | 2011-01-31 | 1 | -31/+59 | |
| | ||||||
* | always return the identity function from type_cast_code | Aaron Patterson | 2011-01-28 | 1 | -1/+1 | |
| | ||||||
* | use an identity conversion to avoid conditional codes | Aaron Patterson | 2011-01-28 | 1 | -2/+2 | |
| | ||||||
* | no need to specify self | Aaron Patterson | 2011-01-05 | 1 | -1/+1 | |
| | ||||||
* | require ActiveSupport deprecatation file before using deprecate method in ↵ | Raimonds Simanovskis | 2011-01-04 | 1 | -0/+2 | |
| | | | | | database_statements otherwise when using external ActiveRecord adapters (e.g. Oracle) database_statements might be loaded before active_support/core_ext/module/deprecation which results in NoMethodError (commit 60cf65def805995bcca184c40b44bb01d86a48aa added "deprecate" call to database_statements.rb) | |||||
* | herp derpricating add_limit_offset! | Aaron Patterson | 2011-01-03 | 1 | -0/+3 | |
| | ||||||
* | Make serialized fixtures work again | Pratik Naik | 2010-12-29 | 1 | -1/+2 | |
| | ||||||
* | move ivar to initialize, use triple dot rather than minus | Aaron Patterson | 2010-12-16 | 1 | -1/+1 | |
| | ||||||
* | Use Array.wrap instead of using ternary | Piotr Sarnacki | 2010-12-09 | 1 | -1/+1 | |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Allow to run migrations from more than one directory | Piotr Sarnacki | 2010-12-09 | 1 | -2/+4 | |
| | ||||||
* | made in_clause_length default nil (no limit) | Alex Rothenberg | 2010-12-02 | 1 | -2/+2 | |
| | ||||||
* | rolling out migrated_at until I can fix the build | Aaron Patterson | 2010-12-01 | 1 | -15/+3 | |
| | ||||||
* | tests mostly pass | Josh Susser | 2010-12-01 | 1 | -2/+2 | |
| | | | | | adjust to work with instance-based migations migrated_at can't be null why must people have last names? it's killing me! | |||||
* | name in schema_migrations, migrations in schema dump | Josh Susser | 2010-12-01 | 1 | -0/+4 | |
| | ||||||
* | Add migrated_at column to schema_migrations table. | Josh Susser | 2010-12-01 | 1 | -1/+9 | |
| | ||||||
* | Don't depend on rubygems loading thread (for Mutex) | raggi | 2010-11-25 | 1 | -0/+1 | |
| | ||||||
* | converted exec to exec_query for sqlite | Aaron Patterson | 2010-11-05 | 1 | -1/+1 | |
| | ||||||
* | select_all() should always return an array, so no need to test | Aaron Patterson | 2010-10-27 | 1 | -9/+1 | |
| | ||||||
* | speeding up query cache | Aaron Patterson | 2010-10-27 | 1 | -4/+3 | |
| | ||||||
* | making query cache work with prepared statements | Aaron Patterson | 2010-10-27 | 1 | -6/+7 | |
| | ||||||
* | renaming bind_values to binds where it makes sense | Aaron Patterson | 2010-10-26 | 1 | -6/+6 | |
| | ||||||
* | adding backwards compatibility for non-prepare statement handling drivers | Aaron Patterson | 2010-10-26 | 1 | -2/+16 | |
| | ||||||
* | exec returns an AR::Result | Aaron Patterson | 2010-10-26 | 1 | -3/+3 | |
| | ||||||
* | adding the abstract method | Aaron Patterson | 2010-10-26 | 1 | -0/+6 | |
| | ||||||
* | replace if ! with unless | Neeraj Singh | 2010-10-17 | 1 | -1/+1 | |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | dry up column type testing | Aaron Patterson | 2010-10-12 | 1 | -5/+5 | |
| | ||||||
* | all columns respond to string_to_binary, so no need to check respond_to? | Aaron Patterson | 2010-10-12 | 2 | -2/+11 | |
| | ||||||
* | drying up true and false cases | Aaron Patterson | 2010-10-12 | 1 | -3/+7 | |
| | ||||||
* | reducing comparisons in when statements | Aaron Patterson | 2010-10-12 | 1 | -6/+6 | |
| | ||||||
* | removing intermediate variables | Aaron Patterson | 2010-10-12 | 1 | -2/+1 | |
| | ||||||
* | reduce the number of times we test for the column variable | Aaron Patterson | 2010-10-12 | 1 | -2/+5 | |
| | ||||||
* | refactoring date / time / datetime when statement | Aaron Patterson | 2010-10-12 | 1 | -11/+8 | |
| | ||||||
* | fixing case / when indentation | Aaron Patterson | 2010-10-12 | 1 | -20/+20 | |
| |