aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Hash#to_query CGI-escapes its keys.Jeremy Kemper2007-02-113-9/+25
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6148 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't test for hash sort order.Jeremy Kemper2007-02-111-6/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6147 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Revert [6086] and [6087] since they caused a major regression with ↵Jeremy Kemper2007-02-103-18/+2
| | | | | | functional tests in 1.2.2. References #7372. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6145 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Performance: patch cgi/session to require digest/md5 once rather than per ↵Jeremy Kemper2007-02-103-0/+33
| | | | | | #create_new_id. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6143 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add a :url_based_filename => true option to ↵Thomas Fuchs2007-02-093-1/+14
| | | | | | ActionController::Streaming::send_file, which allows URL-based filenames. [Thomas Fuchs] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6142 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deprecation: warn on stderr if RAILS_DEFAULT_LOGGER isn't set yet.Jeremy Kemper2007-02-082-4/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6140 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made increment_counter/decrement_counter play nicely with optimistic ↵Jamis Buck2007-02-074-4/+97
| | | | | | locking, and added a more general update_counters method git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6139 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Introducing Model.cache { ... } for the occasional query caching needs. ( ↵Tobias Lütke2007-02-064-34/+136
| | | | | | fantastic to reduce the 200 SELECT * from accounts WHERE id=1 queries in your views ) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6138 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* More Safari appeasementDavid Heinemeier Hansson2007-02-061-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6137 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Safari requires an explicit submitDavid Heinemeier Hansson2007-02-061-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6136 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix that FormTagHelper#submit_tag using :disable_with should trigger the ↵David Heinemeier Hansson2007-02-063-3/+10
| | | | | | onsubmit handler of its form if available [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6134 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* rename #lookup_template_base_path_for to #find_base_path_for in ↵Rick Olson2007-02-061-1/+1
| | | | | | ActionView::Base [Rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6132 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix #render_file so that TemplateError is called with the correct params and ↵Rick Olson2007-02-052-5/+6
| | | | | | you don't get the WSOD. [Rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6130 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix Rails::Initializer since #view_paths is never nilRick Olson2007-02-041-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6127 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update Rails Initializer to use ActionController::Base#view_paths [Rick]Rick Olson2007-02-042-5/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6126 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix issue with deprecation messing up #template_root= usage. Add ↵Rick Olson2007-02-045-8/+28
| | | | | | | | #prepend_view_path and #append_view_path to allow modification of a copy of the superclass' view_paths. [Rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6125 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix for DateTime superclass mismatch errors seen on some linux ↵Michael Koziarski2007-02-041-3/+2
| | | | | | distributions. [Koz] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6121 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow Controllers to have multiple view_paths instead of a single ↵Rick Olson2007-02-0424-59/+183
| | | | | | template_root. Closes #2754 [John Long] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6120 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix gem deprecation warnings, which also means depending on RubyGems 0.9.0+ ↵David Heinemeier Hansson2007-02-0410-12/+14
| | | | | | [Chad Fowler] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6119 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add much-needed html-scanner tests. Fixed CDATA parsing bug. [Rick]Rick Olson2007-02-047-3/+591
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6117 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* fix problem with EMPTY_INHERITABLE_ATTRIBUTES being redefinedRick Olson2007-02-041-1/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6115 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* fix form_for example in ActionController::Resources documentation. Closes ↵Rick Olson2007-02-046-8/+77
| | | | | | #7362 [gnarg], Added enhanced docs to routing assertions. Closes #7359 [Rob Sanheim], improve error message for Routing for named routes. Closes #7346 [Rob Sanheim] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6113 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* fix #write_inheritable_attribute bug that crept inRick Olson2007-02-041-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6111 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Optimize Class Inheritable Attributes so that unnecessary hashes are not ↵Rick Olson2007-02-042-5/+16
| | | | | | created. Closes #7472 [Bruce Perens] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6110 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Plugins may be symlinked in vendor/plugins. Closes #4245.Jeremy Kemper2007-02-014-4/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6101 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ruby 1.8-cvs and 1.9 define a private Time#to_date that overrides Active ↵Jeremy Kemper2007-02-013-3/+13
| | | | | | Support. Make it public to preserve compatibility. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6099 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix missed smtp_session changes to base.rb. Michael Koziarski2007-01-311-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6097 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make sure that the string returned by TextHelper#truncate is actually a ↵David Heinemeier Hansson2007-01-312-1/+3
| | | | | | string, not a char proxy -- that should only be used internally while working on a multibyte-safe way of truncating [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6096 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Rename server_settings to smtp_settings, add sendmail_settings to allow you ↵Michael Koziarski2007-01-312-5/+15
| | | | | | to override the arguments to and location of the sendmail executable. [Koz] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6095 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* When dealing with SQLite3, use the table_info pragma helper, so that the ↵Jamis Buck2007-01-303-2/+12
| | | | | | bindings can do some translation for when sqlite3 breaks incompatibly between point releases. Also, make current_adapter? use is_a? instead of instance_of? to account correctly for adapter subclassing. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6091 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Oracle: fix lob and text default handling. Closes #7344.Jeremy Kemper2007-01-293-20/+31
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6090 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added FormBuilder#submit as a delegate for FormTagHelper#submit_tag [DHH]David Heinemeier Hansson2007-01-293-0/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6089 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* TestSession supports indifferent access so session['foo'] == session[:foo] ↵Jeremy Kemper2007-01-283-2/+18
| | | | | | in your tests. Closes #7372. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6086 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* SQLServer: don't choke on strings containing 'null'. Closes #7083.Jeremy Kemper2007-01-283-3/+13
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6084 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove noisy nodoc for Ruby 1.8.4David Heinemeier Hansson2007-01-281-1/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6083 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow Routes to generate all urls for a set of options by specifying ↵Nicholas Seckar2007-01-283-0/+25
| | | | | | :generate_all => true. References #1739. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6082 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Change the query parser to map empty GET params to "" rather than nil. ↵Nicholas Seckar2007-01-283-4/+6
| | | | | | Closes #5694. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6081 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* date_select and datetime_select take a :default option. Closes #7052.Jeremy Kemper2007-01-283-1/+104
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6080 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* select :multiple => true suffixes the attribute name with [] unless already ↵Jeremy Kemper2007-01-283-1/+22
| | | | | | suffixed. Closes #6977. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6078 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Mark the last release in the changelog.Jeremy Kemper2007-01-281-0/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6076 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Full test coverage for Inflector. Closes #7228.Jeremy Kemper2007-01-284-37/+131
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6075 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* MySQL: blob and text columns may not have defaults in 5.x. Update fixtures ↵Jeremy Kemper2007-01-285-8/+23
| | | | | | schema for strict mode. Closes #6695. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6074 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* update_all can take a Hash argument. sanitize_sql splits into two methods ↵Jeremy Kemper2007-01-283-16/+53
| | | | | | for conditions and assignment since NULL values and delimiters are handled differently. References #6583, closes #7365. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6073 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improve routes documentation. Closes #7095.Jeremy Kemper2007-01-282-15/+28
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6071 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* mail_to :encode => 'hex' also encodes the mailto: part of the href attribute ↵Jeremy Kemper2007-01-283-6/+17
| | | | | | as well as the linked email when no name is given. Closes #2061. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6070 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Resource generator depends on the model generator rather than duplicating ↵Jeremy Kemper2007-01-286-50/+3
| | | | | | it. Closes #7269. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6069 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Post title and body not null. References #6778.Jeremy Kemper2007-01-281-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6067 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* MySQL: SET SQL_AUTO_IS_NULL=0 so 'where id is null' doesn't select the last ↵Jeremy Kemper2007-01-283-0/+12
| | | | | | inserted id. Closes #6778. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6064 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Resource member routes require :id, eliminating the ambiguous overlap with ↵Jeremy Kemper2007-01-283-72/+142
| | | | | | collection routes. Closes #7229. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6062 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use Date#to_s(:db) for quoted dates. Closes #7411.Jeremy Kemper2007-01-283-7/+12
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6061 5ecf4fe2-1ee6-0310-87b1-e25e094e27de