aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | fixing test warningsAaron Patterson2011-04-301-7/+1
| | | | | |
* | | | | | using bind parameters for updatesAaron Patterson2011-04-306-5/+16
| | | | | |
* | | | | | fixing arel requirements for released arelAaron Patterson2011-04-301-1/+1
| | | | | |
* | | | | | making sure the `create_fixtures` method works to prevent regressionsAaron Patterson2011-04-291-0/+5
| | | | | |
* | | | | | make sure we flatten the fixture path listAaron Patterson2011-04-291-1/+1
| | | | | |
* | | | | | shorten up our fixture path resolving codeAaron Patterson2011-04-291-2/+2
| | | | | |
* | | | | | table name needs to be classified when instantiating fixturesAaron Patterson2011-04-291-2/+4
|/ / / / /
* | | | | convert query results to a list of listsAaron Patterson2011-04-291-2/+1
| | | | |
* | | | | requring pg ~> 0.11, so remove conditional code for supporting older ↵Aaron Patterson2011-04-291-56/+12
| | | | | | | | | | | | | | | | | | | | versions of the gem
* | | | | Make postgresql faster on development (thanks to @tapajos).José Valim2011-04-291-0/+8
| | | | |
* | | | | lean on rubygems to provide error messages about missing gemsAaron Patterson2011-04-291-9/+2
| | | | |
* | | | | supporting delete with bind parameters in mysql2Aaron Patterson2011-04-291-0/+8
| | | | |
* | | | | refactor exec_delete to reuse the statement cache from exec_queryAaron Patterson2011-04-291-70/+44
| | | | |
* | | | | statement cache for deletes working on mysqlAaron Patterson2011-04-291-0/+39
| | | | |
* | | | | sqlite3 supports prepared statement deletesAaron Patterson2011-04-291-0/+5
| | | | |
* | | | | postgresql supports prepare statement deletesAaron Patterson2011-04-294-26/+52
| | | | |
* | | | | supporting nil when passed in as an IN clauseAaron Patterson2011-04-292-4/+16
| | | | |
* | | | | Test that passing nil member of array in conditions retrieves records with nilgmile2011-04-291-0/+22
| | | | | | | | | | | | | | | | | | | | value on a selected field.
* | | | | clearing statement from cache on exception in order to support older ↵Aaron Patterson2011-04-281-3/+13
| |_|_|/ |/| | | | | | | | | | | versions of mysql
* | | | requiring a newer version of the mysql2 gemAaron Patterson2011-04-271-0/+1
| | | |
* | | | some test renaming to avoid collisions, and some annoying issues between dbsJosh Kalderimis2011-04-271-7/+7
| | | |
* | | | final corrections to the mass-assignment security testsJosh Kalderimis2011-04-271-4/+4
| | | |
* | | | fix mass-assignment security tests, this was due to a string column limit ↵Josh Kalderimis2011-04-272-15/+15
| |_|/ |/| | | | | | | | which doesn't cause issues on sqlite
* | | Fix #update_attributes api format errorSebastian Martinez2011-04-261-1/+1
| | |
* | | Merged pull request #307 from arunagw/master.Aaron Patterson2011-04-261-1/+1
|\ \ \ | | | | | | | | jdbcpostgresql support added into template.
| * | | Database creation for jdbcpostgresql #jrubyArun Agrawal2011-04-261-1/+1
| | | |
* | | | AR update_attributes api is updated to reflect the addition of assign_attributesJosh Kalderimis2011-04-262-4/+49
| | | |
* | | | Merged pull request #310 from beanieboi/master.Aaron Patterson2011-04-264-2/+51
|\ \ \ \ | | | | | | | | | | Added support for tsvector datatype in postgres
| * | | | Added tsvector Datatype SupportBenjamin Fritsch2011-04-264-2/+51
| | | | | | | | | | | | | | | Applied Patch from https://rails.lighthouseapp.com/projects/8994/tickets/5577-suport-from-tsvector-data-type-in-postgresql
* | | | | Merged pull request #308 from joshk/assign_attributes.José Valim2011-04-253-11/+22
|\ \ \ \ \ | | | | | | | | | | | | deprecated the use of guard_protected_attributes with attributes= in AR
| * | | | | deprecated the use of the guard_protected_attributes argument with ↵Josh Kalderimis2011-04-253-11/+22
| | |/ / / | |/| | | | | | | | | | | | | attributes= in AR in favor of assign_attributes(attrs, :without_protection => true)
* / | | | Do not use SQL LIKE operator for case insensitive uniqueness validationRaimonds Simanovskis2011-04-252-2/+29
|/ / / / | | | | | | | | It can result in wrong results if values contain special % or _ characters. It is safer to use SQL LOWER function and compare for equality.
* | | | Fixed error when running db:create with jdbcmysqlRashmi Yadav2011-04-252-1/+23
| | | |
* | | | Use existing #empty_insert_statement_value for an insert with no columns.Ken Collins2011-04-243-9/+1
| | | |
* | | | added config.active_record.whitelist_attributes which creates an empty ↵Josh Kalderimis2011-04-241-0/+3
| | | | | | | | | | | | | | | | whitelist of attributes available for mass assignment for all models in your app
* | | | Added assign_attributes to Active Record which accepts a mass-assignment ↵Josh Kalderimis2011-04-246-27/+132
| |_|/ |/| | | | | | | | security scope using the :as option, while also allowing mass-assignment security to be bypassed using :with_protected
* | | Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-04-233-8/+24
|\ \ \ | | |/ | |/| | | | | | | Conflicts: activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
| * | copy-edits 0e2644cXavier Noria2011-04-233-3/+3
| | |
| * | copy-edits e2656e0Xavier Noria2011-04-232-3/+3
| | |
| * | copy-edits 3d45964Xavier Noria2011-04-232-2/+2
| | |
| * | Added docs for #drop_database on MySQL adapterSebastian Martinez2011-04-222-1/+5
| | |
| * | Added docs for #disconnect! on adaptersSebastian Martinez2011-04-223-1/+6
| | |
| * | Added missing docs for clear_cache! on adaptersSebastian Martinez2011-04-223-0/+3
| | |
| * | Added missing docs for +supports_primary_key?+ on some adaptersSebastian Martinez2011-04-222-0/+2
| | |
| * | Added missing docs for +support_migrations?+ on some adaptersSebastian Martinez2011-04-222-0/+2
| | |
| * | Have a more connection specific rdoc for +supports_statement_cache?+Sebastian Martinez2011-04-223-6/+6
| | |
| * | Removed ON() on distinct commentSebastian Martinez2011-04-221-1/+1
| | |
* | | split indexes and column types on money / binary iterationAaron Patterson2011-04-221-6/+5
| | |
* | | fetch result row arrays from pg in C and return early if there are no money ↵Aaron Patterson2011-04-221-31/+36
| | | | | | | | | | | | or binary columns. :heart:
* | | set the backtrace to prevent AR exceptions from lying to usAaron Patterson2011-04-221-1/+3
| | |