aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
* :db format for Date#to_sJeremy Kemper2007-01-283-1/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6060 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use a consistent load path to avoid double requires. Fix some scattered Ruby ↵Jeremy Kemper2007-01-2848-106/+89
| | | | | | warnings. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6057 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix Test::Unit::TestCase#clean_backtraceJeremy Kemper2007-01-282-21/+39
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6056 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove deprecated assertions.Jeremy Kemper2007-01-285-453/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6055 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Change session restoration to allow namespaced models to be autoloaded. ↵Nicholas Seckar2007-01-282-2/+5
| | | | | | Closes #6348. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6054 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix doubly appearing parameters due to string and symbol mixups. Closes #2551.Nicholas Seckar2007-01-283-1/+12
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6053 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix overly greedy rescues when loading helpers. Closes #6268Nicholas Seckar2007-01-282-2/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6052 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't create instance writer methods for class attributes. Closes #7401 [Rick]Rick Olson2007-01-286-14/+26
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6051 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added :instance_writer option to #mattr_writer/accessor, ↵Rick Olson2007-01-288-2/+154
| | | | | | #cattr_writer/accessor, and #class_inheritable_writer to skip the creation of the instance writer. [Rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6050 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Rename test file so it's not ignored by rakeRick Olson2007-01-281-0/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6049 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed NumberHelper#number_with_delimiter to use "." always for splitting the ↵David Heinemeier Hansson2007-01-262-5/+7
| | | | | | original number, not the delimiter parameter (closes #7389) [ceefour] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6045 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Nodoc the irrelevant (from 1.2)David Heinemeier Hansson2007-01-2620-51/+44
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6044 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add error_messages and error_message_on to the default FormBuilder. Closes ↵Michael Koziarski2007-01-262-2/+34
| | | | | | #6939 [nik.wakelin] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6040 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make to_query safe against nilsDavid Heinemeier Hansson2007-01-241-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6039 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Hash#to_query to turn a hash of values into a form-encoded query ↵David Heinemeier Hansson2007-01-243-0/+47
| | | | | | string [Nicholas Seckar] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6038 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Documentation for ActionWebService::API::Base.Kent Sibilev2007-01-243-2/+53
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6037 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Increase test coverage for subclasses_of. Closes #7335.Nicholas Seckar2007-01-243-6/+45
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6036 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Autolinking recognizes trailing and embedded . , : ; Closes #7354.Jeremy Kemper2007-01-243-1/+19
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6034 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Squash test warnings.Jeremy Kemper2007-01-242-28/+32
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6033 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Loading a resource preserves its prefix_options. Closes #7353. Silence ↵Jeremy Kemper2007-01-243-4/+17
| | | | | | prefix redefinition warnings; fix type in logged error. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6032 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Docs: validations examples. Closes #7343.Jeremy Kemper2007-01-242-13/+76
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6031 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Mocha 0.4 mixes in more public instance methods, confusing controller ↵Jeremy Kemper2007-01-241-10/+8
| | | | | | identification of action methods. Closes #7347. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6030 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Pass busy timeout for sqlite3 integration tests.Jeremy Kemper2007-01-241-8/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6029 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow action_web_service to handle various HTTP methods including GETKent Sibilev2007-01-244-2/+56
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6028 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add missing tests ensuring callbacks work with class inheritance. Closes ↵Rick Olson2007-01-242-0/+25
| | | | | | #7339 [sandofsky] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6026 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Carry over the convenience of #create from ActiveRecord. Closes #7340. ↵Rick Olson2007-01-244-1/+36
| | | | | | [Ryan Daigle] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6025 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixtures use the table name and connection from set_fixture_class. Closes #7330.Jeremy Kemper2007-01-243-0/+15
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6023 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added test coverage for Inflector.inflections.clear. Closes #7179. [Rich ↵Rick Olson2007-01-233-1/+40
| | | | | | Collins]. Remove unused code from Duration#inspect. Closes #7180. [Rich Collins] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6022 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* ActiveSupport::Multibyte::Handlers::UTF8Handler should raise when a range ↵Rick Olson2007-01-232-2/+9
| | | | | | and an integer are passed in (just like the native implementation). Closes #7176 [Rich Collins] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6021 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Increase ActiveResource::Base test coverage. Closes #7173, #7174 [Rich Collins]Rick Olson2007-01-233-0/+56
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6020 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* A couple extra tests for #classify. Closes #7273. [Josh Susser]Rick Olson2007-01-232-1/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6019 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove useless code in #attribute_present? since 0 != blank?. Closes #7249 ↵Rick Olson2007-01-233-3/+7
| | | | | | [Josh Susser]. Fix minor doc typos. Closes #7157 [Josh Susser] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6018 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix incorrect usage of #classify when creating the eager loading join ↵Rick Olson2007-01-232-5/+7
| | | | | | statement. Closes #7044 [Josh Susser] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6017 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add/Update usage documentation for script/destroy, resource generator and ↵Rick Olson2007-01-234-5/+60
| | | | | | scaffold_resource generator. Closes #7092, #7271, #7267. [bscofield] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6016 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* SQLServer: quote table name in indexes query. Closes #2928.Jeremy Kemper2007-01-232-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6014 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Subclasses of an abstract class work with single-table inheritance. ↵Jeremy Kemper2007-01-234-3/+21
| | | | | | References #5704, closes #7284. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6013 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make sure sqlite3 driver closes open connections on disconnect (closes #7105)Jamis Buck2007-01-222-0/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6012 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Better docs for Object extensions (closes #7002)Jamis Buck2007-01-222-1/+23
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6011 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improve test coverage of Duration. Closes #7182 [richcollins]Michael Koziarski2007-01-211-0/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6007 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improve Test Coverage for raise_delivery_errors. [kevinclark] closes #7152Michael Koziarski2007-01-212-0/+34
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6006 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make TextHelper::auto_link recognize URLs with colons in path correctly, ↵Thomas Fuchs2007-01-213-15/+19
| | | | | | fixes #7268 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6005 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update trunk to script.aculo.us 1.7.0Thomas Fuchs2007-01-196-172/+176
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6004 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update prototype.js to [5985], fixes content-type issue with simulated HTTP ↵Thomas Fuchs2007-01-182-16/+18
| | | | | | methods git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5988 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Modernize cookie testing code, and increase coverage (Heckle++) #7101 [Kevin ↵Rick Olson2007-01-172-24/+34
| | | | | | Clark] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5977 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improve Test Coverage for ↵Rick Olson2007-01-172-1/+18
| | | | | | ActionController::Routing::Route#matches_controller_and_action? (Heckle++) #7115 [Kevin Clark] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5976 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Heckling ActionController::Resources::Resource revealed that set_prefixes ↵Rick Olson2007-01-172-7/+16
| | | | | | didn't break when :name_prefix was munged. #7081 [Kevin Clark] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5974 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix #distance_of_time_in_words to report accurately against the Duration ↵Rick Olson2007-01-173-8/+10
| | | | | | class. #7114 [eventualbuddha] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5973 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Refactor #form_tag to allow easy extending. [Rick]Rick Olson2007-01-172-21/+39
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5972 5ecf4fe2-1ee6-0310-87b1-e25e094e27de