Michael Koziarski
|
f81dae3fca
|
Remove deprecated functionality from actionpack. Closes #8958 [lifofifo]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7403 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-03 00:18:30 +00:00 |
|
Jeremy Kemper
|
dcaa074abf
|
Routing: respond with 405 Method Not Allowed status when the route path matches but the HTTP method does not. Closes #6953.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6862 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-26 20:07:34 +00:00 |
|
David Heinemeier Hansson
|
70ac560e42
|
Removed breakpointer and Binding.of_caller in favor of relying on ruby-debug by Kent Sibilev since the breakpointer has been broken since Ruby 1.8.4 and will not be coming back [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6611 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-04-28 15:57:29 +00:00 |
|
David Heinemeier Hansson
|
e105653066
|
Added .erb and .builder as preferred aliases to the now deprecated .rhtml and .rxml extensions [Chad Fowler]. This is done to separate the renderer from the mime type. .erb templates are often used to render emails, atom, csv, whatever. So labeling them .rhtml doesn't make too much sense. The same goes for .rxml, which can be used to build everything from HTML to Atom to whatever. .rhtml and .rxml will continue to work until Rails 3.0, though. So this is a slow phasing out. All generators and examples will start using the new aliases, though.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6178 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-02-20 22:09:12 +00:00 |
|
Jeremy Kemper
|
d38417fc02
|
RecordInvalid, RecordNotSaved => 422 Unprocessable Entity, StaleObjectError => 409 Conflict. References #7097.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5966 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-17 00:43:53 +00:00 |
|
Michael Koziarski
|
67194d9c2d
|
Improve the documentation for customising your rescue actions. Closes #7041 [rsanheim]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5941 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-15 07:17:58 +00:00 |
|
Jeremy Kemper
|
a1ca37ec86
|
Use 400 Bad Request status for unrescued ActiveRecord::RecordInvalid exceptions.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5771 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-12-22 00:27:39 +00:00 |
|
Jeremy Kemper
|
9a27b29755
|
Silence log_error deprecation warnings from inspecting deprecated instance variables.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5757 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-12-19 23:16:10 +00:00 |
|
Jeremy Kemper
|
a454dcf012
|
Unrescued ActiveRecord::RecordNotFound responds with 404 instead of 500.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5706 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-12-08 22:19:00 +00:00 |
|
Jeremy Kemper
|
f0753992ab
|
test controller rescues
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5504 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-11-13 02:03:50 +00:00 |
|
David Heinemeier Hansson
|
31d3048706
|
Fixed that rescue template path shouldn't be hardcoded, then it's easier to hook in your own (closes #6295) [mnaberez]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5243 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-10-09 00:40:05 +00:00 |
|
Rick Olson
|
3010e30f0e
|
Fixed some deprecation warnings in ActionPack [Rick Olson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5212 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-30 01:38:22 +00:00 |
|
David Heinemeier Hansson
|
2caf4d5a93
|
Added proper getters and setters for content type and charset [DHH] Added utf-8 as the default charset for all renders. You can change this default using ActionController::Base.default_charset=(encoding) [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5129 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-17 16:20:32 +00:00 |
|
David Heinemeier Hansson
|
3558322b9d
|
Changed that uncaught exceptions raised any where in the application will cause RAILS_ROOT/public/500.html to be read and shown instead of just the static "Application error (Rails)" [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4955 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-03 23:51:34 +00:00 |
|
Jeremy Kemper
|
12ff554cd4
|
Tighten rescue clauses. Closes #5985.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4885 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-31 03:16:28 +00:00 |
|
Jeremy Kemper
|
c40b1a4a67
|
Deprecate direct usage of @params. Update ActionView::Base for instance var deprecation.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4715 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-07 12:40:14 +00:00 |
|
Marcel Molina
|
9f92dd3984
|
Replace alias method chaining with Module#alias_method_chain. [Marcel Molina Jr.]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4312 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-29 20:20:22 +00:00 |
|
Marcel Molina
|
6186490962
|
Replace Ruby's deprecated append_features in favor of included. [Marcel Molina Jr.]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4310 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-29 18:10:14 +00:00 |
|
David Heinemeier Hansson
|
f7359342af
|
Added protection against proxy setups treating requests as local even when they're not #3898 [stephen_purcell@yahoo.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3892 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-16 03:31:40 +00:00 |
|
David Heinemeier Hansson
|
82f1e19e4c
|
Fixed docs (closes #2468)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2749 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-26 13:20:46 +00:00 |
|
David Heinemeier Hansson
|
0ea1375d75
|
Really fix the syntax error issue
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1952 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-07-28 17:41:19 +00:00 |
|
David Heinemeier Hansson
|
9fad3251d3
|
More fixes, but still broken
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1948 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-07-27 14:17:47 +00:00 |
|
David Heinemeier Hansson
|
5b52b716b7
|
Fixing the fix, but not quite
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1945 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-07-27 13:55:39 +00:00 |
|
David Heinemeier Hansson
|
36fee9c02e
|
Fixed broken error handling #1827 [Stefan Kaes]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1920 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-07-25 09:39:57 +00:00 |
|
Nicholas Seckar
|
fe0c7f4f76
|
Fix rescue handling to erase both render and redirect results
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1827 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-07-14 00:34:27 +00:00 |
|
David Heinemeier Hansson
|
dab360e181
|
Added DoubleRenderError exception that'll be raised if render* is called twice #518 [Nicholas Seckar]. Fixed exceptions occuring after render has been called #1096 [Nicholas Seckar]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1348 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-05-21 18:51:08 +00:00 |
|
David Heinemeier Hansson
|
3306813be1
|
Tweaked the rescue with breakpoint, still not perfect
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@986 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-23 12:03:30 +00:00 |
|
David Heinemeier Hansson
|
2d9e59b2b6
|
Enable diagnostics screen again
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@638 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-16 16:39:14 +00:00 |
|
David Heinemeier Hansson
|
b1999be5a7
|
A hopefully more successful attempt at the Routing branch merge
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@617 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-15 01:45:35 +00:00 |
|
David Heinemeier Hansson
|
88a3343ed5
|
Backed out of routing merge.. investigating missing patches
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@616 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-15 01:24:55 +00:00 |
|
David Heinemeier Hansson
|
c844755e5a
|
Merged back the Routing branch
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@614 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-15 00:51:02 +00:00 |
|
David Heinemeier Hansson
|
098fa94356
|
Fixed documentation snafus #575, #576, #577, #585
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@525 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-07 14:15:53 +00:00 |
|
David Heinemeier Hansson
|
0b554201bb
|
Updated documentation
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@194 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-16 17:45:37 +00:00 |
|
David Heinemeier Hansson
|
1b7ea2a50e
|
Added breakpoint retries on rescue screens
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@103 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-09 19:48:32 +00:00 |
|
David Heinemeier Hansson
|
0ffb6c1625
|
Syntax errors and other exceptions thrown outside of an action are now gracefully handled by the dispatcher
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@51 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-06 18:25:01 +00:00 |
|
David Heinemeier Hansson
|
38e5fe97be
|
Pass on the original exception
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@30 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-11-30 17:11:40 +00:00 |
|
David Heinemeier Hansson
|
db045dbbf6
|
Initial
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-11-24 01:04:44 +00:00 |
|