Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | | | statement cache for deletes working on mysql | Aaron Patterson | 2011-04-29 | 1 | -0/+39 | |
| | | | | | ||||||
* | | | | | sqlite3 supports prepared statement deletes | Aaron Patterson | 2011-04-29 | 1 | -0/+5 | |
| | | | | | ||||||
* | | | | | postgresql supports prepare statement deletes | Aaron Patterson | 2011-04-29 | 4 | -26/+52 | |
| | | | | | ||||||
* | | | | | supporting nil when passed in as an IN clause | Aaron Patterson | 2011-04-29 | 2 | -4/+16 | |
| | | | | | ||||||
* | | | | | Test that passing nil member of array in conditions retrieves records with nil | gmile | 2011-04-29 | 1 | -0/+22 | |
| | | | | | | | | | | | | | | | | | | | | value on a selected field. | |||||
* | | | | | clearing statement from cache on exception in order to support older ↵ | Aaron Patterson | 2011-04-28 | 1 | -3/+13 | |
| |_|_|/ |/| | | | | | | | | | | | versions of mysql | |||||
* | | | | requiring a newer version of the mysql2 gem | Aaron Patterson | 2011-04-27 | 1 | -0/+1 | |
| | | | | ||||||
* | | | | some test renaming to avoid collisions, and some annoying issues between dbs | Josh Kalderimis | 2011-04-27 | 1 | -7/+7 | |
| | | | | ||||||
* | | | | final corrections to the mass-assignment security tests | Josh Kalderimis | 2011-04-27 | 1 | -4/+4 | |
| | | | | ||||||
* | | | | fix mass-assignment security tests, this was due to a string column limit ↵ | Josh Kalderimis | 2011-04-27 | 2 | -15/+15 | |
| |_|/ |/| | | | | | | | | which doesn't cause issues on sqlite | |||||
* | | | Fix #update_attributes api format error | Sebastian Martinez | 2011-04-26 | 1 | -1/+1 | |
| | | | ||||||
* | | | Merged pull request #307 from arunagw/master. | Aaron Patterson | 2011-04-26 | 1 | -1/+1 | |
|\ \ \ | | | | | | | | | jdbcpostgresql support added into template. | |||||
| * | | | Database creation for jdbcpostgresql #jruby | Arun Agrawal | 2011-04-26 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | AR update_attributes api is updated to reflect the addition of assign_attributes | Josh Kalderimis | 2011-04-26 | 2 | -4/+49 | |
| | | | | ||||||
* | | | | Merged pull request #310 from beanieboi/master. | Aaron Patterson | 2011-04-26 | 4 | -2/+51 | |
|\ \ \ \ | | | | | | | | | | | Added support for tsvector datatype in postgres | |||||
| * | | | | Added tsvector Datatype Support | Benjamin Fritsch | 2011-04-26 | 4 | -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é Valim | 2011-04-25 | 3 | -11/+22 | |
|\ \ \ \ \ | | | | | | | | | | | | | deprecated the use of guard_protected_attributes with attributes= in AR | |||||
| * | | | | | deprecated the use of the guard_protected_attributes argument with ↵ | Josh Kalderimis | 2011-04-25 | 3 | -11/+22 | |
| | |/ / / | |/| | | | | | | | | | | | | | attributes= in AR in favor of assign_attributes(attrs, :without_protection => true) | |||||
* / | | | | Do not use SQL LIKE operator for case insensitive uniqueness validation | Raimonds Simanovskis | 2011-04-25 | 2 | -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 jdbcmysql | Rashmi Yadav | 2011-04-25 | 2 | -1/+23 | |
| | | | | ||||||
* | | | | Use existing #empty_insert_statement_value for an insert with no columns. | Ken Collins | 2011-04-24 | 3 | -9/+1 | |
| | | | | ||||||
* | | | | added config.active_record.whitelist_attributes which creates an empty ↵ | Josh Kalderimis | 2011-04-24 | 1 | -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 Kalderimis | 2011-04-24 | 6 | -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/docrails | Xavier Noria | 2011-04-23 | 3 | -8/+24 | |
|\ \ \ | | |/ | |/| | | | | | | | Conflicts: activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb | |||||
| * | | copy-edits 0e2644c | Xavier Noria | 2011-04-23 | 3 | -3/+3 | |
| | | | ||||||
| * | | copy-edits e2656e0 | Xavier Noria | 2011-04-23 | 2 | -3/+3 | |
| | | | ||||||
| * | | copy-edits 3d45964 | Xavier Noria | 2011-04-23 | 2 | -2/+2 | |
| | | | ||||||
| * | | Added docs for #drop_database on MySQL adapter | Sebastian Martinez | 2011-04-22 | 2 | -1/+5 | |
| | | | ||||||
| * | | Added docs for #disconnect! on adapters | Sebastian Martinez | 2011-04-22 | 3 | -1/+6 | |
| | | | ||||||
| * | | Added missing docs for clear_cache! on adapters | Sebastian Martinez | 2011-04-22 | 3 | -0/+3 | |
| | | | ||||||
| * | | Added missing docs for +supports_primary_key?+ on some adapters | Sebastian Martinez | 2011-04-22 | 2 | -0/+2 | |
| | | | ||||||
| * | | Added missing docs for +support_migrations?+ on some adapters | Sebastian Martinez | 2011-04-22 | 2 | -0/+2 | |
| | | | ||||||
| * | | Have a more connection specific rdoc for +supports_statement_cache?+ | Sebastian Martinez | 2011-04-22 | 3 | -6/+6 | |
| | | | ||||||
| * | | Removed ON() on distinct comment | Sebastian Martinez | 2011-04-22 | 1 | -1/+1 | |
| | | | ||||||
* | | | split indexes and column types on money / binary iteration | Aaron Patterson | 2011-04-22 | 1 | -6/+5 | |
| | | | ||||||
* | | | fetch result row arrays from pg in C and return early if there are no money ↵ | Aaron Patterson | 2011-04-22 | 1 | -31/+36 | |
| | | | | | | | | | | | | or binary columns. :heart: | |||||
* | | | set the backtrace to prevent AR exceptions from lying to us | Aaron Patterson | 2011-04-22 | 1 | -1/+3 | |
| | | | ||||||
* | | | removing incorrect comment and string concatenation | Aaron Patterson | 2011-04-22 | 1 | -4/+1 | |
| | | | ||||||
* | | | Added test case and fix for proper eager loading associations | Pavel Forkert | 2011-04-22 | 1 | -0/+10 | |
| | | | ||||||
* | | | The #substitute_at gets an ActiveRecord::ConnectionAdapters::Column in ↵ | Ken Collins | 2011-04-23 | 1 | -1/+1 | |
| | | | | | | | | | | | | #insert to match replacement in #exec_query. | |||||
* | | | Move #exec_insert to abstract adapter's database statements. | Ken Collins | 2011-04-22 | 4 | -12/+7 | |
| |/ |/| | ||||||
* | | stop using distinct on for the unique id queries. [#6450 state:resolved] | Aaron Patterson | 2011-04-21 | 2 | -1/+3 | |
|/ | ||||||
* | Avoid define_method if possible. | José Valim | 2011-04-19 | 2 | -2/+2 | |
| | ||||||
* | Bring back support for passing a callable object to the default_scope macro. ↵ | Jon Leighton | 2011-04-18 | 4 | -0/+52 | |
| | | | | You can also just use a block. | |||||
* | Un-deprecate using 'default_scope' as a macro, but if you are calling the ↵ | Jon Leighton | 2011-04-18 | 10 | -270/+85 | |
| | | | | macro multiple times that will give deprecation warnings, and in 3.2 we will simply overwrite the default scope when you call the macro multiple times. | |||||
* | Fix test_load_save in test/cases/binary_test.rb (thanks @tenderlove for ↵ | Jon Leighton | 2011-04-17 | 1 | -2/+1 | |
| | | | | actually working out how to fix it) | |||||
* | Fix test_associate_existing in has_many_through_associations_test on mysql ↵ | Jon Leighton | 2011-04-17 | 1 | -1/+1 | |
| | | | | and postgresql | |||||
* | Bring back some bits of documentation for scopes which were removed as part ↵ | Jon Leighton | 2011-04-17 | 1 | -1/+29 | |
| | | | | of the reversion in 256b363 | |||||
* | Revert "Deprecate defining scopes with a callable (lambda, proc, etc) via ↵ | Jon Leighton | 2011-04-17 | 6 | -114/+23 | |
| | | | | | | | | | | the scope class method. Just define a class method yourself instead." This reverts commit f0e198bfa1e3f9689e0cde1d194a44027fc90b3c. Conflicts: activerecord/test/models/post.rb | |||||
* | Bypass IdentityMap in PostgreSQL geometric tests. | Jason Weathered | 2011-04-17 | 1 | -2/+2 | |
| | | | | The identity map cache prevents us from seeing the DB formatted strings. |