Rick Olson
|
80074cb4de
|
Assume that rendered partials go by the HTML format by default
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6734 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-15 03:13:32 +00:00 |
|
Jeremy Kemper
|
f8273e4309
|
Shine some sunlight on the CGI extensions. Remove unused CGI#session.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6733 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-15 00:08:05 +00:00 |
|
Jeremy Kemper
|
7fb5d44df7
|
Non-executable source files.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6732 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-14 23:18:22 +00:00 |
|
David Heinemeier Hansson
|
6e7b593992
|
Added record identifications to FormHelper#form_for and PrototypeHelper#remote_form_for [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6731 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-14 17:30:35 +00:00 |
|
Jeremy Kemper
|
50253edec9
|
Rationalize route path escaping according to RFC 2396 section 3.3. Closes #7544, #8307.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6730 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-14 11:14:30 +00:00 |
|
David Heinemeier Hansson
|
c769ad8533
|
Removed deprecated parameters_for_method_reference concept (legacy from before named routes) [DHH] Added record identification with polymorphic routes for ActionController::Base#url_for and ActionView::Base#url_for [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6729 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-12 21:12:31 +00:00 |
|
Nicholas Seckar
|
2ca6f57f85
|
Add broken test
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6724 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-12 04:46:17 +00:00 |
|
Nicholas Seckar
|
a5fe13e871
|
Add ActionController::Routing::Helpers, a module to contain common URL helpers such as polymorphic_url.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6722 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-12 04:18:46 +00:00 |
|
Michael Koziarski
|
a722b48000
|
Ensure copy table test runs for sqlite and sqlite3. [mislav] Cllosoes #8328
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6721 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-12 00:44:50 +00:00 |
|
David Heinemeier Hansson
|
e105e599e7
|
Sexy dumper now has its groove on (closes #8281) [Chris Wanstrath]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6719 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-11 21:26:53 +00:00 |
|
Jamis Buck
|
19ed709b09
|
don't assume the http authorization header will be nil, since some configurations will pass it through as an empty string
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6718 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-11 16:30:57 +00:00 |
|
Rick Olson
|
08736788c9
|
Handle string and symbol param keys when splitting params into prefix params and query params.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6703 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-09 03:51:06 +00:00 |
|
Marcel Molina
|
2b6ad48ea3
|
Evaluate expression for assert_difference in the scope of the block
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6701 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-08 06:27:10 +00:00 |
|
David Heinemeier Hansson
|
388f504f6d
|
Rendering is protected
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6700 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-08 06:09:14 +00:00 |
|
David Heinemeier Hansson
|
20eb59ad8a
|
Included the HttpAuthentication plugin as part of core (ActionController::HttpAuthentication::Basic) [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6699 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-08 05:48:18 +00:00 |
|
Marcel Molina
|
5a9dc1231c
|
Fix typo and clarify code examples in documentation for assert_difference.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6694 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-08 03:57:28 +00:00 |
|
Marcel Molina
|
689b529ea8
|
Simplify API of assert_difference by passing in an expression that is evaluated before and after the passed in block. See documenation for examples of new API. [Marcel Molina Jr.]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6693 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-08 03:54:34 +00:00 |
|
Jeremy Kemper
|
c7befb896e
|
Generators use *.html.erb view template naming. Closes #8278.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6690 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-06 10:34:18 +00:00 |
|
Marcel Molina
|
e4c5ddd839
|
Modernize documentation for form helpers. Closes #8035. [jeremymcanally]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6689 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-06 05:23:03 +00:00 |
|
Marcel Molina
|
f02a0bf274
|
Minor wording tweak to documentation for the debug helper. Closes #8037. [jeremymcanally]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6688 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-06 05:19:02 +00:00 |
|
Marcel Molina
|
ca3e89d4de
|
Document :allow_nil option for validates_acceptance_of since it defaults to true. Closes #8050. [tzaharia]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6687 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-06 05:16:41 +00:00 |
|
Marcel Molina
|
6ad9d1dbde
|
Update documentation for :dependent declaration so that it explicitly uses the non-deprecated API. Closes #8069. [danger]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6686 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-06 05:14:37 +00:00 |
|
Marcel Molina
|
ee614d6319
|
Add documentation caveat about when to use count_by_sql. Closes #8090. [fearoffish]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6685 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-06 05:10:19 +00:00 |
|
Marcel Molina
|
15dc567e0f
|
Also add documentation enhancements for increment_counter. Closes #8092. [fearoffish]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6684 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-06 05:08:05 +00:00 |
|
Marcel Molina
|
5bd35705ca
|
Enhance documentation for decrement_counter. Closes #8093. [fearoffish]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6683 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-06 05:06:26 +00:00 |
|
Marcel Molina
|
194b4aa4f3
|
Provide brief introduction to what optimistic locking is. Closes #8097. [fearoffish]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6682 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-06 05:01:31 +00:00 |
|
Marcel Molina
|
06cd7b0906
|
Add brief introduction to REST to the resources documentation. Closes #8100. [fearoffish]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6681 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-06 04:55:16 +00:00 |
|
Marcel Molina
|
4e51123a01
|
Fix various documentation typos throughout ActionPack. Closes #8111. [Henrik N]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6679 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-06 04:46:11 +00:00 |
|
Marcel Molina
|
6bdcc0cfaf
|
Add documentation for :encoding option to mysql adapter. Closes #8219 [marclove]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6678 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-06 04:41:45 +00:00 |
|
Marcel Molina
|
f07d0e29da
|
Enhance documentation and add examples for url_for. Closes #8227. [jeremymcanally]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6674 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-06 04:29:42 +00:00 |
|
Marcel Molina
|
b7565075c3
|
More documentations for typos in routes. Closes #8228 [pam]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6673 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-06 04:26:49 +00:00 |
|
Marcel Molina
|
93c29e58f3
|
Fix documentation typo in routes. Closes #8250. [norbert]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6672 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-06 04:24:27 +00:00 |
|
Marcel Molina
|
dac6aae7f8
|
Sweep flash when filter chain is halted. Closes #6175. [Caio Chassot <lists@v2studio.com>]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6670 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-06 04:17:01 +00:00 |
|
Michael Koziarski
|
67ca9224d7
|
Bug fix for the filter implementation
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6669 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-06 04:10:26 +00:00 |
|
Michael Koziarski
|
e642368829
|
Use assert_match instead of String#include? so we can get helpful error messages on failure
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6668 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-06 02:03:46 +00:00 |
|
David Heinemeier Hansson
|
4cbbebb1c3
|
Added short-hand declaration style to migrations (inspiration from Sexy Migrations, http://errtheblog.com/post/2381) [DHH] Updated resource_scaffold and model generators to use short-hand style migrations [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6667 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-06 01:48:19 +00:00 |
|
Tobias Lütke
|
0306e4a204
|
Make respond_to? work as expected
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6657 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-04 20:07:37 +00:00 |
|
Michael Koziarski
|
0c960602fe
|
Change Base#to_xml to take the name for a container element for an association from the element name, not the first record's class name. Closes #7004
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6654 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-03 02:24:50 +00:00 |
|
David Heinemeier Hansson
|
b8e74466cc
|
Try the class itself if the ancestor doesnt have anything
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6653 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-02 23:46:31 +00:00 |
|
David Heinemeier Hansson
|
edaf6baea7
|
Fixed that content_tag with a block will just return the result instead of concate it if not used in a ERb view #7857, #7432 [michael.niessner]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6652 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-02 22:30:41 +00:00 |
|
Rick Olson
|
0778464168
|
Replace the current block/continuation filter chain handling by an implementation based on a simple loop. #8226 [Stefan Kaes]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6649 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-02 13:22:38 +00:00 |
|
Nicholas Seckar
|
5a3bb880db
|
Update UrlWriter to accept :anchor parameter. Closes #6771.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6648 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-02 04:40:33 +00:00 |
|
Tobias Lütke
|
8f5c83bdea
|
Added assert_difference and assert_no_difference to test/unit assertions
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6647 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-01 21:02:37 +00:00 |
|
David Heinemeier Hansson
|
04fd94d8f8
|
BACKWARDS INCOMPATIBLE: Changed the finder API to be more extensible with :params and more strict usage of scopes [DHH] Added find-one with symbol [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6646 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-01 04:48:48 +00:00 |
|
David Heinemeier Hansson
|
da257eb81b
|
Added the first part of Simply Helpful to core. The rest is pending a clean integartion of polymorphic urls [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6633 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-04-30 01:17:56 +00:00 |
|
David Heinemeier Hansson
|
0dc7038309
|
You're dead! We killed you!
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6632 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-04-29 14:16:19 +00:00 |
|
David Heinemeier Hansson
|
6ffa68e9eb
|
Include sub-resources example
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6631 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-04-29 14:05:34 +00:00 |
|
Nicholas Seckar
|
4ef9ad8653
|
Updated initializer to only load #{RAILS_ENV}.rb once. Added deprecation warning for config.breakpoint_server.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6627 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-04-29 07:35:22 +00:00 |
|
Rick Olson
|
8e8fd99d7f
|
change #custom_headers to just #headers [Rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6625 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-04-29 04:46:14 +00:00 |
|
Rick Olson
|
bd50d82f70
|
Add support for setting custom headers per ActiveResource model [Rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6624 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-04-29 03:14:36 +00:00 |
|