aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix doc bugDavid Heinemeier Hansson2006-01-091-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3389 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make HashWithIndifferentAccess#update behave like Hash#update by returning ↵Marcel Molina2006-01-083-2/+30
| | | | | | the hash. Closes #3419, #3425 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3388 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Have the form builder output radio button, not check box, when calling the ↵Marcel Molina2006-01-062-1/+3
| | | | | | radio button helper. Closes #3331. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3383 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't raise an exception when there are more keys than there are named bind ↵Marcel Molina2006-01-054-23/+2
| | | | | | variables when sanitizing conditions. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3382 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Multiple enhancements and adjustments to DB2 adaptor. Closes #3377.Marcel Molina2006-01-047-169/+207
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3380 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Sanitize scoped conditions.Marcel Molina2006-01-046-15/+37
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3379 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added assignment of the Autocompleter object created by ↵David Heinemeier Hansson2006-01-038-18/+65
| | | | | | JavaScriptMacroHelper#auto_complete_field to a local javascript variables [DHH] Added :on option for PrototypeHelper#observe_field that allows you to specify a different callback hook to have the observer trigger on [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3378 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added JavaScriptHelper#button_to_function that works just like ↵David Heinemeier Hansson2005-12-313-0/+21
| | | | | | JavaScriptHelper#link_to_function but uses a button instead of a href [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3367 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made Field.focus in prototype friendly to effects by adding optional delay ↵David Heinemeier Hansson2005-12-313-4/+25
| | | | | | parameter [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3366 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added that JavaScriptHelper#link_to_function will honor existing :onclick ↵David Heinemeier Hansson2005-12-312-2/+2
| | | | | | definitions when adding the function call [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3365 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added that JavaScriptHelper#link_to_function will honor existing :onclick ↵David Heinemeier Hansson2005-12-313-1/+11
| | | | | | definitions when adding the function call [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3364 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added :disable_with option to FormTagHelper#submit_tag to allow for easily ↵David Heinemeier Hansson2005-12-303-19/+30
| | | | | | disabled submit buttons with different text [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3361 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make auto_link handle nil by returning quickly if blank?Scott Barron2005-12-303-0/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3359 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added option to Base.reflection_of_all_associations to specify a specific ↵David Heinemeier Hansson2005-12-273-3/+13
| | | | | | association to scope the call. For example Base.reflection_of_all_associations(:has_many) [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3357 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add ActiveSupport::JSON and Object#to_json for converting Ruby objects to ↵Sam Stephenson2005-12-2711-1/+219
| | | | | | JSON strings git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3356 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Value of full_messages on stubbed out AR instances should be an Array.Marcel Molina2005-12-262-8/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3352 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make auto_link match urls with a port number specified.Marcel Molina2005-12-263-1/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3351 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added support for toggling visual effects to ↵Thomas Fuchs2005-12-253-1/+26
| | | | | | ScriptaculousHelper::visual_effect, #3323. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3350 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update to script.aculo.us to 1.5.0 rev. 3343Thomas Fuchs2005-12-258-126/+260
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3349 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added :select option for JavaScriptMacroHelper#auto_complete_field that ↵David Heinemeier Hansson2005-12-244-18/+25
| | | | | | makes it easier to only use part of the auto-complete suggestion as the value for insertion [Thomas Fuchs] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3348 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* ActiveRecord::Base.schema_ignore_tables => ↵Tobias Lütke2005-12-245-12/+12
| | | | | | ActiveRecord::SchemaDumper.ignore_tables git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3347 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* SchemaDumper now doesn't fail anymore when there are unknown column types in ↵Tobias Lütke2005-12-245-19/+82
| | | | | | the schema. Instead the table is ignored and a Comment is left in the schema.rb also added ActiveRecord::Base.schema_ignore_tables for dealing with funky tables like the tesearch2 ones. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3346 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added :select option for JavaScriptMacroHelper#auto_complete_field that ↵David Heinemeier Hansson2005-12-241-1/+2
| | | | | | makes it easier to only use part of the auto-complete suggestion as the value for insertion [Thomas Fuchs] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3345 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added :select option for JavaScriptMacroHelper#auto_complete_field that ↵David Heinemeier Hansson2005-12-246-19/+61
| | | | | | makes it easier to only use part of the auto-complete suggestion as the value for insertion [Thomas Fuchs] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3344 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* cosmetic change to assert_validTobias Lütke2005-12-231-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3341 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* only log session_id if @session object responds to .session_id. Tobias Lütke2005-12-221-1/+1
| | | | | | | In functional test cases you often pass in a hash as session object which doesn't have this method. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3339 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added delayed execution of Javascript from within RJS (closes #3264) ↵David Heinemeier Hansson2005-12-222-2/+21
| | | | | | [devslashnull@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3335 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add session ID to default logging, but remove the verbose description of ↵David Heinemeier Hansson2005-12-223-15/+3
| | | | | | every step [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3334 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Better language for the CHANGELOG entry of previous commit.Florian Weber2005-12-211-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3333 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that saving a model with multiple habtm associations, would only save ↵Florian Weber2005-12-213-4/+19
| | | | | | the first habtm association. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3331 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix form_for use of datetime_select and date_select as well as a few ↵David Heinemeier Hansson2005-12-212-7/+8
| | | | | | stylistic upgrades to AR git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3330 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added toggle to compliment show and hide for RJSDavid Heinemeier Hansson2005-12-201-0/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3329 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Oops, I killed Tobi's changelog entries.Scott Barron2005-12-201-0/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3328 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix change_column to work with postgres 7.x and 8.x.Scott Barron2005-12-203-11/+22
| | | | | | | Closes #3141 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3327 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* removed :piggyback in favor of just allowing :select on :through associationsTobias Lütke2005-12-204-7/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3326 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* made .find() and class method delegation work on :through relationsTobias Lütke2005-12-204-4/+57
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3325 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* DRY up PG's add_column a bit to use change_column_default and match the otherScott Barron2005-12-201-9/+3
| | | | | | | methods. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3324 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* added :piggyback option to has_many :through relationships to pick up values ↵Tobias Lütke2005-12-205-3/+17
| | | | | | from the join table as needed git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3323 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Check for the key instead of the value, because it (the value) can be false.Scott Barron2005-12-201-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3322 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't try to strip out the controller name if default_action_name is nilMarcel Molina2005-12-203-2/+15
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3321 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix typo in association docs. Closes #3296.Marcel Molina2005-12-202-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3320 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add additional RJS functionality: alert, redirect_to, call, assign, and <<Sam Stephenson2005-12-203-9/+60
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3319 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Documentation fixesNicholas Seckar2005-12-192-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3318 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Honor ActiveRecord::Base.pluralize_table_names when creating and destroying ↵Marcel Molina2005-12-182-3/+9
| | | | | | session store table. Closes #3204. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3317 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't include a layout when rendering an rjs template using render's ↵Marcel Molina2005-12-174-2/+17
| | | | | | :template option. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3316 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed :through relations when using STI inherited classes would use the ↵Tobias Lütke2005-12-167-4/+39
| | | | | | inherited class's name as foreign key on the join model git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3315 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add Object#with_options for DRYing up multiple calls to methods having ↵Sam Stephenson2005-12-155-0/+73
| | | | | | shared options git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3314 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update trunk to scriptaculous 1.5 finalThomas Fuchs2005-12-132-0/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3301 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't used defined? on a scoped constant since it results in a const_missing ↵Jeremy Kemper2005-12-131-1/+1
| | | | | | call. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3298 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update to Prototype 1.4.0 finalSam Stephenson2005-12-134-16/+54
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3297 5ecf4fe2-1ee6-0310-87b1-e25e094e27de