aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Added Array#to_s(:db) that'll produce a comma-separated list of ids [DHH] ↵David Heinemeier Hansson2006-05-316-40/+92
| | | | | | Split Grouping into its own file git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4387 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* fix test warningsJeremy Kemper2006-05-315-28/+32
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4386 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add a list of regexes assert_queries skips in the ActiveRecord test suite. ↵Rick Olson2006-05-312-1/+7
| | | | | | [Rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4385 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added interrogation of params[:format] to determine Accept type. If :format ↵David Heinemeier Hansson2006-05-314-1/+71
| | | | | | is specified and matches a declared extension, like "rss" or "xml", that mime type will be put in front of the accept handler. This means you can link to the same action from different extensions and use that fact to determine output [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4384 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make "script/plugin install" work with svn+ssh URLsSam Stephenson2006-05-312-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4383 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Easy way to set accepting for functional testsDavid Heinemeier Hansson2006-05-311-0/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4382 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* If not passing a hash, assume :id => whateverDavid Heinemeier Hansson2006-05-311-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4381 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* band-aid for oracleRick Olson2006-05-291-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4380 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix the has_and_belongs_to_many #create doesn't populate the join for new ↵Rick Olson2006-05-294-0/+47
| | | | | | records. Closes #3692 [josh@hasmanythrough.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4379 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Expanded :method option in FormTagHelper#form_tag, FormHelper#form_for, ↵David Heinemeier Hansson2006-05-291-0/+6
| | | | | | PrototypeHelper#remote_form_for, PrototypeHelper#remote_form_tag, and PrototypeHelper#link_to_remote to allow for verbs other than GET and POST by automatically creating a hidden form field named _method, which will simulate the other verbs over post [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4376 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Expanded :method option in FormTagHelper#form_tag, FormHelper#form_for, ↵David Heinemeier Hansson2006-05-293-4/+14
| | | | | | PrototypeHelper#remote_form_for, PrototypeHelper#remote_form_tag, and PrototypeHelper#link_to_remote to allow for verbs other than GET and POST by automatically creating a hidden form field named _method, which will simulate the other verbs over post [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4375 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added :method handling for other verbs to remote_form_tag and ↵David Heinemeier Hansson2006-05-285-10/+22
| | | | | | remote_form_for [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4374 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added lib/ to the directories that will get application docs generated [DHH]David Heinemeier Hansson2006-05-282-0/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4373 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Provide Association Extensions access to the instance that the association ↵Rick Olson2006-05-285-1/+57
| | | | | | is being accessed from. Closes #4433 [josh@hasmanythrough.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4372 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Expanded :method option in FormHelper#form_tag to allow for verbs other than ↵David Heinemeier Hansson2006-05-284-3/+47
| | | | | | GET and POST by automatically creating a hidden form field named _method, which will simulate the other verbs over post [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4371 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added :method option to UrlHelper#link_to, which allows for using other ↵David Heinemeier Hansson2006-05-283-15/+38
| | | | | | verbs than GET for the link. This replaces the :post option, which is now deprecated. Example: link_to "Destroy", person_url(:id => person), :method => :delete [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4370 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update OpenBase adaterp's maintainer's email address. Closes #5176. [Derrick ↵Marcel Molina2006-05-242-1/+3
| | | | | | Spell] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4366 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add generator files...Marcel Molina2006-05-234-0/+43
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4365 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add observer generator. Closes #5167. [francois.beausoleil@gmail.com]Marcel Molina2006-05-231-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4364 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add a quick note about :select and eagerly included associations. [Rick]Rick Olson2006-05-232-1/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4363 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* preliminary support for plugin meta filesRick Olson2006-05-231-14/+50
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4362 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* follow_redirect doesn't complain about being redirected to the same ↵Jeremy Kemper2006-05-223-9/+44
| | | | | | controller. Closes #5153. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4361 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Session migration generator obeys pluralize_table_names. Closes #5145.Jeremy Kemper2006-05-224-5/+15
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4360 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Normalize classify's argument to a String so that it plays nice with ↵Marcel Molina2006-05-223-1/+9
| | | | | | Symbols. [Marcel Molina Jr.] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4359 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add docs for the :as option in has_one associations. Closes #5144 ↵Rick Olson2006-05-222-1/+5
| | | | | | [cdcarter@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4358 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make Oracle happyDavid Heinemeier Hansson2006-05-211-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4357 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add modifications to database rake tasks as part of #5139. ↵Marcel Molina2006-05-211-3/+3
| | | | | | [schoenm@earthlink.net] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4356 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Minor style tweaksDavid Heinemeier Hansson2006-05-212-8/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4355 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that has_many collections shouldn't load the entire association to do ↵David Heinemeier Hansson2006-05-214-3/+66
| | | | | | build or create [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4354 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added :allow_nil option for aggregations (closes #5091) [ian.w.white@gmail.com]David Heinemeier Hansson2006-05-215-18/+85
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4353 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Disabling sessions is not a common day eventDavid Heinemeier Hansson2006-05-211-4/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4352 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix Oracle boolean support and tests. Closes #5139. [schoenm@earthlink.net]Marcel Molina2006-05-216-42/+48
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4351 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Strip out leading schema name in classify. References #5139. ↵Marcel Molina2006-05-212-1/+5
| | | | | | [schoenm@earthlink.net] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4350 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove Enumerable#first_match in favor of using break(result_for_each)Nicholas Seckar2006-05-213-18/+13
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4349 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* create! no longer blows up when no attributes are passed and a :create scope ↵Jeremy Kemper2006-05-193-0/+9
| | | | | | is in effect (e.g. foo.bars.create! failed whereas foo.bars.create!({}) didn't.) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4348 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Change the request.env example in AC::Base docs to a var that exists ↵Jeremy Kemper2006-05-171-3/+3
| | | | | | (REMOTE_IP doesn't) and isn't already wrapped by a request method (i.e. request.remote_ip). Closes #5113. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4347 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add layout attribute to response object with the name of the layout that was ↵Marcel Molina2006-05-174-1/+55
| | | | | | rendered, or nil if none rendered. [Kevin Clark kevin.clark@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4346 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make Array#in_groups_of just return the grouped collection if a block isn't ↵Marcel Molina2006-05-173-2/+9
| | | | | | given. [Marcel Molina Jr.] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4345 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* performance enhancement for previous patch [skaes]Michael Koziarski2006-05-161-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4344 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix NoMethodError when parsing params like &&. [Adam Greenfield]. Closes #4955Michael Koziarski2006-05-163-0/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4343 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Call Inflector#demodulize on the class name when eagerly including an STI ↵Rick Olson2006-05-153-1/+10
| | | | | | model. Closes #5077 [info@loobmedia.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4342 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix flip flopped logic in docs for url_for's :only_path option. Closes ↵Marcel Molina2006-05-142-1/+3
| | | | | | #4998. [esad@esse.at] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4341 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Preserve MySQL boolean column defaults when changing a column in a ↵Marcel Molina2006-05-144-2/+14
| | | | | | migration. Closes #5015. [pdcawley@bofh.org.uk] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4340 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't destroy a HashWithIndifferentAccess if symbolize_keys! or ↵Marcel Molina2006-05-143-0/+16
| | | | | | stringify_keys! is called on it. Closes #5076. [Marcel Molina Jr., guy.naor@famundo.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4339 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Wipe those tears.. References [4335].Jeremy Kemper2006-05-121-16/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4338 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* rake test:recent understands subdirectories. Closes #2925.Jeremy Kemper2006-05-122-5/+22
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4337 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* The app generator detects the XAMPP package's MySQL socket location. Closes ↵Jeremy Kemper2006-05-122-1/+4
| | | | | | #3832. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4336 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* PostgreSQL: migrations support :limit with :integer columns by mapping limit ↵Jeremy Kemper2006-05-123-0/+54
| | | | | | < 4 to smallint, > 4 to bigint, and anything else to integer. Closes #2900. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4335 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* form.text_area handles the :size option just like the original text_area ↵Jeremy Kemper2006-05-113-0/+14
| | | | | | (:size => '60x10' becomes cols="60" rows="10") git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4334 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* ActionMailer::Base documentation rewrite. Closes #4991 [Kevin Clark, Marcel ↵Marcel Molina2006-05-102-36/+102
| | | | | | Molina Jr.] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4332 5ecf4fe2-1ee6-0310-87b1-e25e094e27de