Commit Graph

23 Commits

Author SHA1 Message Date
David Heinemeier Hansson
6cc961555d Fixed that cached template loading would still check the file system to see if the file existed #258 [Andreas Schwarz]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@43 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-01 16:10:40 +00:00
David Heinemeier Hansson
005371e16c Added options to tailor header tag, div id, and div class on ActiveRecordHelper#error_messages_for [josh]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@41 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-01 13:59:16 +00:00
David Heinemeier Hansson
50f333b203 Added graceful handling of non-alphanumeric names and misplaced brackets in input parameters [bitsweat]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@39 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-01 12:57:16 +00:00
David Heinemeier Hansson
d6d875bfb4 Moved the global require_* out of the classes so they actually work without stack overflows
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@33 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-11-30 19:13:34 +00:00
David Heinemeier Hansson
d82f73ecab Abolished ActionController::Base.require_or_load in favor of require_dependency and ActiveRecord::Base.require_or_load in favor of require_association. Both methods are now also available in the global namespace when you need to require dependencies or associations outside of whats done automatically.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@32 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-11-30 18:52:20 +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
2fc559a4ca A change in attempt to combat periodical errors with FCGI processes hanging for a long time before returning the response
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@29 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-11-30 17:11:14 +00:00
David Heinemeier Hansson
bcfd649de8 Silenced warnings from reloading files
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@28 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-11-30 17:10:32 +00:00
David Heinemeier Hansson
a682d20873 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@26 5ecf4fe2-1ee6-0310-87b1-e25e094e27de 2004-11-26 16:33:23 +00:00
David Heinemeier Hansson
9e1fb3235d Handle empty cookie jars gracefully -- dont pout!
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@25 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-11-26 16:30:44 +00:00
David Heinemeier Hansson
55af595214 Renamed CookieContainer to CookieJar to be cute. Its a private container anyway, so what do you care?
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@24 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-11-26 14:52:59 +00:00
David Heinemeier Hansson
08a2249e90 Report to logger when a cookie is set
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@23 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-11-26 02:16:05 +00:00
David Heinemeier Hansson
177cae5483 Allow symbols to be used as names for setting cookies
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@22 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-11-26 02:11:42 +00:00
David Heinemeier Hansson
defda16b83 Allow symbols to be used as keys for setting cookies
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@21 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-11-26 02:09:38 +00:00
David Heinemeier Hansson
d0c90331f1 Added a new container for cookies that makes them more intuative to use. The old methods of cookie and @cookies have been deprecated.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@20 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-11-26 02:04:35 +00:00
David Heinemeier Hansson
b62937acbd Added ActionController#cookies[]= as an alias for cookie "name", "value" -- youll still need to use the latter if you have options to set.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@19 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-11-26 01:12:46 +00:00
David Heinemeier Hansson
bd5985331c Added ActionController#cookies[] as a reader for @cookies that'll return the value of the cookie instead of the cookie object itself. NOTE: If you were using the old accessor, this could potentially break your code -- if you expect a full cookie object!
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@18 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-11-26 01:09:59 +00:00
David Heinemeier Hansson
d8207adb5f Added the opportunity to defined method_missing on a controller which will handle all requests for actions not otherwise defined #223 [timb]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@15 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-11-25 23:51:46 +00:00
David Heinemeier Hansson
18d614040a Fixed AbstractRequest#remote_ip for users going through proxies - Patch #228 [Eric Hodel]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@12 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-11-25 16:39:18 +00:00
David Heinemeier Hansson
43704662ef Dont include svn directories in packages
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@11 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-11-25 16:31:27 +00:00
David Heinemeier Hansson
1042de2370 Added Request#ssl? which is shorthand for @request.protocol == "https://"
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-11-24 19:46:30 +00:00
David Heinemeier Hansson
e0b904e74f Allow form_tag with no arguments (resulting in a form posting to current action) - Patch #236
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-11-24 01:15:16 +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