aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix Dependencies.autoloaded? to ignore anonymous modules. Closes #6561.Nicholas Seckar2006-12-313-1/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5811 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Validating save returns boolean; update and create return responses.Jeremy Kemper2006-12-292-6/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5810 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* prefix_parameters pulls /:path/:params from the URI prefixJeremy Kemper2006-12-292-21/+20
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5809 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* try to appease the angry OracleJamis Buck2006-12-292-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5808 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* make sure query attributes on custom fields works as it used toJamis Buck2006-12-292-2/+29
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5807 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* doh typo in commit from the hipJeremy Kemper2006-12-291-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5806 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* generate prefix parameters if undefinedJeremy Kemper2006-12-291-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5805 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Query string support. Closes #6855.Jeremy Kemper2006-12-293-6/+64
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5804 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Routing uses URI escaping for path components and CGI escaping for query ↵Jeremy Kemper2006-12-283-9/+19
| | | | | | parameters. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5803 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ensure plugins are in the Dependencies.load_once_paths collection by ↵Rick Olson2006-12-272-4/+8
| | | | | | default. [Rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5801 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make error_message_on handle nil objects. [dan]Michael Koziarski2006-12-272-1/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5799 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Docs fix for columns_hash [bradediger]Michael Koziarski2006-12-271-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5797 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ensure dynamic finders are anchored to the beginning of the method name to ↵Michael Koziarski2006-12-272-2/+9
| | | | | | prevent git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5795 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Attempt at fixing the preparation_callbacks, nzkoz will double checkDavid Heinemeier Hansson2006-12-271-8/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5794 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* False is a reasonable defaultDavid Heinemeier Hansson2006-12-271-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5793 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow config.to_prepare to work, make the dispatcher safe to 're require'. ↵Michael Koziarski2006-12-263-1/+4
| | | | | | [Koz, Nicholas Seckar] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5792 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix scaffold_resource generator so it respects the --pretend argument when ↵Rick Olson2006-12-262-2/+6
| | | | | | creating the routes file. Closes #6852 [fearoffish] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5790 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* forgot to save CHANGELOGRick Olson2006-12-251-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5786 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix assert_redirected_to bug where redirecting from a nested to to a ↵Rick Olson2006-12-253-4/+26
| | | | | | top-level controller incorrectly added the current controller's nesting. Closes #6128. [Rick Olson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5785 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix Webrick Daemon dispatching bug regarding a bad current working ↵Rick Olson2006-12-252-1/+5
| | | | | | directory. Closes #4899 [Rick Olson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5784 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update load once paths to prevent nested once constants from being detected ↵Nicholas Seckar2006-12-242-2/+8
| | | | | | and claimed by an external non-once load. References #6720 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5782 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Checkin failing test case related to load once pathsNicholas Seckar2006-12-243-0/+33
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5781 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Base#==, eql?, and hash methods. == returns true if its argument is ↵Jeremy Kemper2006-12-223-0/+61
| | | | | | identical to self or if it's an instance of the same class, is not new?, and has the same id. eql? is an alias for ==. hash delegates to id. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5773 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Singleton resources: POST /singleton => create, GET /singleton/new => newJeremy Kemper2006-12-223-24/+38
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5772 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use 400 Bad Request status for unrescued ActiveRecord::RecordInvalid exceptions.Jeremy Kemper2006-12-223-1/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5771 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* test that element name includes module nestingJeremy Kemper2006-12-211-0/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5770 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Pushing a record on an association collection doesn't unnecessarily load all ↵Jeremy Kemper2006-12-214-10/+15
| | | | | | the associated records. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5769 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* HttpMock InvalidRequestError inspects the mismatched requestJeremy Kemper2006-12-211-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5768 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Subclasses share superclass site until explicitly set. This way you can set ↵Jeremy Kemper2006-12-214-18/+45
| | | | | | Superclass.site = ... after subclasses have been defined. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5767 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* move http_mock to lib so others can use it in their Ares testsJeremy Kemper2006-12-212-5/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5766 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* DeprecatedInstanceVariable#inspect doesn't warn since test/unit, error logs, ↵Jeremy Kemper2006-12-202-1/+12
| | | | | | and others use it for diagnostics. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5763 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Oracle: fix connection reset failure. Closes #6846.Jeremy Kemper2006-12-202-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5761 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix date helper :include_blank regression. Closes #3811. [mhw]Jeremy Kemper2006-12-202-1/+44
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5759 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Silence log_error deprecation warnings from inspecting deprecated instance ↵Jeremy Kemper2006-12-193-9/+19
| | | | | | variables. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5757 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Only cache GET requests with a 200 OK response. Closes #6514, #6743.Jeremy Kemper2006-12-193-29/+94
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5755 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Partially revert [5660] - makes more trouble than it resolves. References ↵Jeremy Kemper2006-12-193-9/+4
| | | | | | #5704, closes #6766. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5753 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Subclass instantiation doesn't try to explicitly require the corresponding ↵Jeremy Kemper2006-12-194-9/+41
| | | | | | subclass. Closes #6840. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5751 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* use RAILS_DEFAULT_LOGGER in debug mode so we can log Dependencies activityJeremy Kemper2006-12-191-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5750 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* utf8 mysql topics tableJeremy Kemper2006-12-191-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5749 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add a 'referer' attribute to TestRequestJamis Buck2006-12-192-0/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5748 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* fix Rakefile so that the rdoc can be generatedRick Olson2006-12-191-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5747 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ensure render :json => ... skips the layout. Closes #6808 [Josh Peek]Rick Olson2006-12-193-1/+14
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5746 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* fix faulty inheritance tests and that eager loading grabs the wrong ↵Rick Olson2006-12-193-3/+18
| | | | | | inheritance column when the class of your association is an STI subclass. Closes #6859 [protocool] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5744 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't require test/unit since it tries to turn everything into a test run.Jeremy Kemper2006-12-181-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5740 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Reapply plugin load path changes from [5720]Michael Koziarski2006-12-183-10/+58
| | | | | | | | Closes #6842 Closes #6851 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5738 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Another test that the deprecation spout is plugged.Jeremy Kemper2006-12-171-0/+11
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5730 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deprecation: silence warnings when reporting test errors.Jeremy Kemper2006-12-173-0/+31
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5728 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Work around a cross-platform number_to_precision inconsistency in unit ↵Jeremy Kemper2006-12-171-3/+7
| | | | | | tests. Closes #6315. [jesperron] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5727 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Hash#slice(*keys) returns a new hash with only the given keys. #slice! ↵Jeremy Kemper2006-12-174-5/+63
| | | | | | replaces the hash with only the given keys. Works with HashWithIndifferentAccess also. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5726 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* HashWithIndifferentAccess#to_hash converts to a Hash with String keys and ↵Jeremy Kemper2006-12-164-12/+47
| | | | | | the same default value. Fix Hash#reverse_update to be an alias for reverse_merge./script/console More thoroughly test the reverse_* methods. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5725 5ecf4fe2-1ee6-0310-87b1-e25e094e27de