David Heinemeier Hansson
|
f9cd92f4ee
|
Added interrogation of params[:format] to determine Accept type. If :format 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
|
2006-05-31 18:52:24 +00:00 |
|
Sam Stephenson
|
e7fe1c47ba
|
Make "script/plugin install" work with svn+ssh URLs
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4383 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-05-31 18:06:50 +00:00 |
|
David Heinemeier Hansson
|
bf1b06e90a
|
Easy way to set accepting for functional tests
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4382 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-05-31 04:49:18 +00:00 |
|
David Heinemeier Hansson
|
4a98cbe2dd
|
If not passing a hash, assume :id => whatever
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4381 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-05-31 04:48:46 +00:00 |
|
Rick Olson
|
cc88679c0c
|
band-aid for oracle
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4380 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-05-29 04:22:49 +00:00 |
|
Rick Olson
|
06075a9eb5
|
Fix the has_and_belongs_to_many #create doesn't populate the join for new records. Closes #3692 [josh@hasmanythrough.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4379 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-05-29 03:48:17 +00:00 |
|
David Heinemeier Hansson
|
8498c74a99
|
Expanded :method option in FormTagHelper#form_tag, FormHelper#form_for, 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
|
2006-05-29 00:05:41 +00:00 |
|
David Heinemeier Hansson
|
2b5894741b
|
Expanded :method option in FormTagHelper#form_tag, FormHelper#form_for, 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
|
2006-05-29 00:05:13 +00:00 |
|
David Heinemeier Hansson
|
140a998de3
|
Added :method handling for other verbs to remote_form_tag and remote_form_for [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4374 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-05-28 23:39:37 +00:00 |
|
David Heinemeier Hansson
|
d84ba8b8a9
|
Added lib/ to the directories that will get application docs generated [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4373 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-05-28 23:05:08 +00:00 |
|
Rick Olson
|
ea51d72edb
|
Provide Association Extensions access to the instance that the association 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
|
2006-05-28 21:33:34 +00:00 |
|
David Heinemeier Hansson
|
062845b4da
|
Expanded :method option in FormHelper#form_tag 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@4371 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-05-28 01:04:27 +00:00 |
|
David Heinemeier Hansson
|
0b1d6fd9c8
|
Added :method option to UrlHelper#link_to, which allows for using other 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
|
2006-05-28 00:33:53 +00:00 |
|
Marcel Molina
|
c9ef5ac7c7
|
Update OpenBase adaterp's maintainer's email address. Closes #5176. [Derrick Spell]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4366 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-05-24 17:20:51 +00:00 |
|
Marcel Molina
|
3115c425a0
|
Add generator files...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4365 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-05-23 17:15:15 +00:00 |
|
Marcel Molina
|
5108fa87af
|
Add observer generator. Closes #5167. [francois.beausoleil@gmail.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4364 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-05-23 17:14:23 +00:00 |
|
Rick Olson
|
0b41d088dc
|
Add a quick note about :select and eagerly included associations. [Rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4363 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-05-23 14:16:52 +00:00 |
|
Rick Olson
|
9bfcfa8d8f
|
preliminary support for plugin meta files
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4362 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-05-23 06:34:25 +00:00 |
|
Jeremy Kemper
|
6ce3bf70a2
|
follow_redirect doesn't complain about being redirected to the same controller. Closes #5153.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4361 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-05-22 22:59:56 +00:00 |
|
Jeremy Kemper
|
3de8239a7c
|
Session migration generator obeys pluralize_table_names. Closes #5145.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4360 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-05-22 21:09:47 +00:00 |
|
Marcel Molina
|
f91096a543
|
Normalize classify's argument to a String so that it plays nice with Symbols. [Marcel Molina Jr.]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4359 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-05-22 15:17:45 +00:00 |
|
Rick Olson
|
213992195d
|
Add docs for the :as option in has_one associations. Closes #5144 [cdcarter@gmail.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4358 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-05-22 08:00:05 +00:00 |
|
David Heinemeier Hansson
|
cc1c943aa1
|
Make Oracle happy
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4357 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-05-21 22:17:56 +00:00 |
|
Marcel Molina
|
738c43c549
|
Add modifications to database rake tasks as part of #5139. [schoenm@earthlink.net]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4356 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-05-21 20:17:22 +00:00 |
|
David Heinemeier Hansson
|
b5a6ba6833
|
Minor style tweaks
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4355 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-05-21 19:20:14 +00:00 |
|
David Heinemeier Hansson
|
66586bc168
|
Fixed that has_many collections shouldn't load the entire association to do build or create [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4354 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-05-21 19:17:37 +00:00 |
|
David Heinemeier Hansson
|
59c8c63ecd
|
Added :allow_nil option for aggregations (closes #5091) [ian.w.white@gmail.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4353 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-05-21 17:32:37 +00:00 |
|
David Heinemeier Hansson
|
fa207c2446
|
Disabling sessions is not a common day event
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4352 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-05-21 16:51:46 +00:00 |
|
Marcel Molina
|
d22f9c9488
|
Fix Oracle boolean support and tests. Closes #5139. [schoenm@earthlink.net]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4351 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-05-21 15:13:28 +00:00 |
|
Marcel Molina
|
422cba934c
|
Strip out leading schema name in classify. References #5139. [schoenm@earthlink.net]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4350 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-05-21 15:11:00 +00:00 |
|
Nicholas Seckar
|
04fb7c30e3
|
Remove Enumerable#first_match in favor of using break(result_for_each)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4349 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-05-21 01:42:36 +00:00 |
|
Jeremy Kemper
|
c50113bc61
|
create! no longer blows up when no attributes are passed and a :create scope 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
|
2006-05-19 01:05:20 +00:00 |
|
Jeremy Kemper
|
0cd883e1e1
|
Change the request.env example in AC::Base docs to a var that exists (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
|
2006-05-17 19:52:06 +00:00 |
|
Marcel Molina
|
7252666b74
|
Add layout attribute to response object with the name of the layout that was 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
|
2006-05-17 07:25:36 +00:00 |
|
Marcel Molina
|
36d1a2f302
|
Make Array#in_groups_of just return the grouped collection if a block isn't given. [Marcel Molina Jr.]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4345 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-05-17 05:12:53 +00:00 |
|
Michael Koziarski
|
ff96498848
|
performance enhancement for previous patch [skaes]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4344 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-05-16 21:09:41 +00:00 |
|
Michael Koziarski
|
d153525c53
|
Fix NoMethodError when parsing params like &&. [Adam Greenfield]. Closes #4955
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4343 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-05-16 20:56:41 +00:00 |
|
Rick Olson
|
be3a4849a9
|
Call Inflector#demodulize on the class name when eagerly including an STI model. Closes #5077 [info@loobmedia.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4342 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-05-15 14:08:51 +00:00 |
|
Marcel Molina
|
6ef5b747b3
|
Fix flip flopped logic in docs for url_for's :only_path option. Closes #4998. [esad@esse.at]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4341 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-05-14 19:03:14 +00:00 |
|
Marcel Molina
|
9c5591da2d
|
Preserve MySQL boolean column defaults when changing a column in a migration. Closes #5015. [pdcawley@bofh.org.uk]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4340 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-05-14 18:37:22 +00:00 |
|
Marcel Molina
|
f2b3deb85c
|
Don't destroy a HashWithIndifferentAccess if symbolize_keys! or 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
|
2006-05-14 18:17:30 +00:00 |
|
Jeremy Kemper
|
f9f65433ef
|
Wipe those tears.. References [4335].
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4338 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-05-12 05:15:17 +00:00 |
|
Jeremy Kemper
|
942132bda2
|
rake test:recent understands subdirectories. Closes #2925.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4337 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-05-12 04:41:23 +00:00 |
|
Jeremy Kemper
|
a61c1825ab
|
The app generator detects the XAMPP package's MySQL socket location. Closes #3832.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4336 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-05-12 04:06:41 +00:00 |
|
Jeremy Kemper
|
491b4a3c84
|
PostgreSQL: migrations support :limit with :integer columns by mapping limit < 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
|
2006-05-12 03:59:43 +00:00 |
|
Jeremy Kemper
|
c069f361f0
|
form.text_area handles the :size option just like the original text_area (:size => '60x10' becomes cols="60" rows="10")
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4334 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-05-11 16:36:59 +00:00 |
|
Marcel Molina
|
0a407bca50
|
ActionMailer::Base documentation rewrite. Closes #4991 [Kevin Clark, Marcel Molina Jr.]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4332 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-05-10 05:38:43 +00:00 |
|
Jeremy Kemper
|
5a960d2568
|
Excise ingrown code from FormOptionsHelper#options_for_select. Closes #5008.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4331 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-05-09 05:19:32 +00:00 |
|
Jeremy Kemper
|
d249ff579a
|
Trim typo.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4330 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-05-08 18:10:40 +00:00 |
|
Jeremy Kemper
|
befd62c2fc
|
Document Active Support's Module::delegate. Closes #5002.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4329 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-05-08 18:04:07 +00:00 |
|