aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* r3118@asus: jeremy | 2005-11-16 00:32:48 -0800Jeremy Kemper2005-11-162-2/+2
| | | | | | | correct prefetch_primary_key? table_name param git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3053 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r3116@asus: jeremy | 2005-11-16 00:17:06 -0800Jeremy Kemper2005-11-1611-5/+793
| | | | | | | Introducing the Firebird adapter. Closes #1874. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3052 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r3095@asus: jeremy | 2005-11-15 22:40:51 -0800Jeremy Kemper2005-11-1615-60/+88
| | | | | | | | | | | | | | | | | | | | | | | Ticket #1874 - Firebird adapter r3107@asus: jeremy | 2005-11-16 00:06:14 -0800 quote column aliases r3108@asus: jeremy | 2005-11-16 00:08:12 -0800 quote columns in construct_conditions_from_arguments. update sequence_name docs. introduce prefetched primary keys. r3109@asus: jeremy | 2005-11-16 00:09:08 -0800 double-quote rather than single-quote sqlite columns r3110@asus: jeremy | 2005-11-16 00:09:56 -0800 quote column names and use attribute_condition in validates_uniqueness_of r3111@asus: jeremy | 2005-11-16 00:12:24 -0800 Use QUOTED_TYPE constant in tests r3112@asus: jeremy | 2005-11-16 00:13:28 -0800 restrict test_inserts_with_pre_and_suffix to those adapters which support migrations r3113@asus: jeremy | 2005-11-16 00:14:09 -0800 Use QUOTED_TYPE constant in tests r3114@asus: jeremy | 2005-11-16 00:14:30 -0800 Use QUOTED_TYPE constant in tests git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3051 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Change Inflector#constantize to use eval instead of const_getNicholas Seckar2005-11-163-3/+12
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3049 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* SQLServer: active? and reconnect! methods for handling stale connections. ↵Jeremy Kemper2005-11-152-12/+9
| | | | | | References #428. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3045 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* SQLServer: active? and reconnect! methods for handling stale connections. ↵Jeremy Kemper2005-11-152-3/+34
| | | | | | References #428. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3044 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Associations handle case-equality more consistently: item.parts.is_a?(Array) ↵Jeremy Kemper2005-11-153-5/+30
| | | | | | and item.parts === Array. Closes #1345. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3043 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Mention app/apis and db directories in README. Closes #1616.Jeremy Kemper2005-11-151-0/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3042 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove invalid links in ActionView::Helpers::UrlHelper documentation. ↵Jeremy Kemper2005-11-151-2/+2
| | | | | | Closes #1961. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3041 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Stricter matching for implicitly multipart filenames excludes files ending ↵Jeremy Kemper2005-11-154-4/+13
| | | | | | in unsupported extensions (such as foo.rhtml.bak) and without a two-part content type (such as foo.text.rhtml or foo.text.really.plain.rhtml). Closes #2398. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3040 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Handle cookie parsing irregularity for certain Nokia phones. Closes #2530.Jeremy Kemper2005-11-153-1/+15
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3039 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Refactored JavaScriptHelper into PrototypeHelper and ScriptaculousHelper. ↵Sam Stephenson2005-11-147-604/+947
| | | | | | Added PrototypeHelper::JavaScriptGenerator and PrototypeHelper#update_page for easily modifying multiple elements in an Ajax response. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3036 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* SQLServer: insert uses given primary key value if not nil rather than SELECT ↵Jeremy Kemper2005-11-143-1/+4
| | | | | | @@IDENTITY. References #2866. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3035 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update trunk to latests script.aculo.usThomas Fuchs2005-11-148-218/+144
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3033 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* * Updated docs for in_place_editor, fixes a couple bugs and offers extended ↵Tobias Lütke2005-11-143-10/+14
| | | | | | support for external controls [Justin Palmer] closes #2870 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3032 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Oracle: active? and reconnect! methods for handling stale connections. ↵Jeremy Kemper2005-11-142-8/+120
| | | | | | Optionally retry queries after reconnect. References #428. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3025 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix reconnect success rate to report as percentage. References #428.Jeremy Kemper2005-11-141-5/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3024 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Correct documentation for Base.delete_all. References #1568.Jeremy Kemper2005-11-142-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3021 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Oracle: test case for column default parsing. References #2788.Jeremy Kemper2005-11-144-2/+22
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3019 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update documentation for Migrations. References #2861.Jeremy Kemper2005-11-142-13/+32
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3017 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update documentation for render :file. References #2858.Jeremy Kemper2005-11-142-8/+14
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3015 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Note that the ruby-memcache bindings are required to use the memcache store.Jeremy Kemper2005-11-141-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3013 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update CHANGELOG with more details. References #2842.Jeremy Kemper2005-11-131-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3012 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Eliminate Subversion dependencies in scripts/plugin. Correct install ↵Jeremy Kemper2005-11-132-61/+96
| | | | | | options. Introduce --force option to reinstall a plugin. Closes #2842. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3011 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Reapply [2942] which was elided by [2997]. References #2788. References #2848.Jeremy Kemper2005-11-131-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3009 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Only include builtin filters whose filenames match ↵Jeremy Kemper2005-11-132-5/+6
| | | | | | /^[a-z][a-z_]*_helper.rb$/ to avoid including operating system metadata such as ._foo_helper.rb. References #2855. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3007 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* hidden_field can also be in fields_forDavid Heinemeier Hansson2005-11-131-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3006 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make form_for work with additional optionsDavid Heinemeier Hansson2005-11-131-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3005 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Show with local varsDavid Heinemeier Hansson2005-11-131-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3004 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added FormHelper#form_for and FormHelper#fields_for that makes it easier to ↵David Heinemeier Hansson2005-11-1310-24/+338
| | | | | | work with forms for single objects also if they don't reside in instance variables [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3003 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r3046@asus: jeremy | 2005-11-13 02:31:21 -0800Jeremy Kemper2005-11-131-4/+8
| | | | | | | AbstractAdapter#reconnect_if_inactive! returns boolean success. AbstractAdapter#log alters exception message on reconnect failure rather than raising ConnectionFailed. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3002 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r3042@asus: jeremy | 2005-11-13 01:51:08 -0800Jeremy Kemper2005-11-134-20/+52
| | | | | | | | | | | MySQL active? and reconnect! References #428. r3043@asus: jeremy | 2005-11-13 01:58:28 -0800 SQLite active? and reconnect! References #428. r3044@asus: jeremy | 2005-11-13 02:02:27 -0800 Update CHANGELOG with admonishment regarding avoidance of the log method. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3001 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r3032@asus: jeremy | 2005-11-12 23:16:52 -0800Jeremy Kemper2005-11-133-16/+45
| | | | | | | | | Ticket 428 - stale connections r3040@asus: jeremy | 2005-11-13 00:22:29 -0800 When AbstractAdapter#log rescues an exception, attempt to detect and reconnect to an inactive database connection. Connection adapter must respond to the active? and reconnect! instance methods. Initial support for PostgreSQL. References #428. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3000 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* PostgreSQL: last_insert_id uses select_value rather than using ↵Jeremy Kemper2005-11-131-2/+2
| | | | | | @connection.exec directly. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2998 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Much faster Oracle column reflection. References #2848.Jeremy Kemper2005-11-132-16/+24
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2996 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r4331@asus: jeremy | 2005-11-12 17:03:45 -0800Jeremy Kemper2005-11-131-2/+2
| | | | | | | | | PostgreSQL: default_sequence_name falls back to 'id' pk if both the given pk and discovered pk are nil. r4336@asus: jeremy | 2005-11-12 22:31:39 -0800 PostgreSQL: correct the sequence discovery fallback query. References #2594. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2994 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* SQLite: the clone_structure_to_test and purge_test_database Rake tasks ↵Jeremy Kemper2005-11-132-2/+2
| | | | | | should always use the test environment. Reference #2846. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2992 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* SQLite: the clone_structure_to_test Rake task should always use the test ↵Jeremy Kemper2005-11-132-1/+3
| | | | | | environment. References #2846. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2990 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* PostgreSQL: min_messages = warning for AR tests.Jeremy Kemper2005-11-121-5/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2989 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Pulled auto-starting browser: More pain than gainDavid Heinemeier Hansson2005-11-124-9/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2987 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r4325@asus: jeremy | 2005-11-12 03:57:46 -0800Jeremy Kemper2005-11-126-39/+103
| | | | | | | PostgreSQL: correctly discover custom primary key sequences. PostgreSQL: smarter sequence name defaults, stricter last_insert_id, warn on pk without sequence. Base.reset_sequence_name analogous to reset_table_name (mostly useful for testing). Base.define_attr_method allows nil values. References #2594. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2985 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make Validations#create! use the current scopeJamis Buck2005-11-121-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2984 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* SQLServer: don't report limits for unsupported field types. Closes #2835.Jeremy Kemper2005-11-112-0/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2982 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Include the Enumerable module in ActiveRecord::Errors.Jeremy Kemper2005-11-112-0/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2981 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* ChangeloggingDavid Heinemeier Hansson2005-11-111-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2979 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make sure that legacy db tasks also reference :database for SQLite (closes ↵David Heinemeier Hansson2005-11-111-3/+6
| | | | | | #2830) [kazuhiko@fdiary.net] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2978 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* options_for_select allows any objects which respond_to? :first and :last ↵Jeremy Kemper2005-11-103-7/+19
| | | | | | rather than restricting to Array and Range. Closes #2824. References [2126]. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2977 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix const_missing handler to ignore the trailing '.rb' on files when ↵Nicholas Seckar2005-11-102-1/+3
| | | | | | comparing paths. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2976 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update docs for AR::Base#clone.Jeremy Kemper2005-11-101-1/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2975 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add :group option, correspond to GROUP BY, to the find method and to the ↵Jeremy Kemper2005-11-105-3/+19
| | | | | | has_many association. Closes #2818. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2974 5ecf4fe2-1ee6-0310-87b1-e25e094e27de