aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Don't undefine #class in OptionMerger [Rick]Rick Olson2006-09-273-1/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5197 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix bug that kept any before_filter except the first one from being able to ↵Rick Olson2006-09-274-5/+52
| | | | | | halt the before_filter chain. [Rick Olson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5196 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make sure map.resources(:things, :new => { :new => :any }) correctly sets ↵Jamis Buck2006-09-262-10/+31
| | | | | | /things/new to be accessible by any method rather than creating another resource at /things/new;new git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5195 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deprecation: count class method should be called with an options hash rather ↵Jeremy Kemper2006-09-269-25/+50
| | | | | | than two args for conditions and joins. Closes #6287. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5192 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* strip_links is case-insensitive. Closes #6285.Jeremy Kemper2006-09-263-1/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5191 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* whitespaceJeremy Kemper2006-09-261-5/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5190 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* script/runner can run files, pass on arguments, and be used as a shebang. ↵Jeremy Kemper2006-09-262-6/+29
| | | | | | Closes #6286. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5189 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* has_one associations with a nil target may be safely marshaled. Closes #6279.Jeremy Kemper2006-09-263-2/+19
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5188 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* scaffold_resource naming, fixes #6276Jeremy Kemper2006-09-252-4/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5182 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* organize associations testsJeremy Kemper2006-09-256-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5181 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* use a real testJeremy Kemper2006-09-251-9/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5180 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Removed invocation of deprecated before_action and around_action filter methods.Kent Sibilev2006-09-252-7/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5179 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Duplicate the hash provided to AR::Base#to_xml to prevent unexpected side ↵Michael Koziarski2006-09-243-1/+18
| | | | | | effects [Koz] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5170 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Clear the cache of possible controllers whenever Routes are reloaded.Nicholas Seckar2006-09-233-2/+32
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5169 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* workaround collections loaded as :people => { :person => [{..attrs..}, ↵Jeremy Kemper2006-09-222-28/+44
| | | | | | {..attrs..}] } git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5167 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Filters overhaul including meantime filter support for around filters. ↵Jeremy Kemper2006-09-224-230/+676
| | | | | | Closes #5949. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5163 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* use ActiveRecordTestCaseJeremy Kemper2006-09-221-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5162 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* deprecation_method_warning and deprecation_horizon - fewer moving parts, ↵Jeremy Kemper2006-09-221-1/+9
| | | | | | easy to localize git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5161 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* use :dependent => :destroy rather than :dependent => trueJeremy Kemper2006-09-221-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5160 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Look for rake tasks in plugin subdirs. Closes #6259.Jeremy Kemper2006-09-222-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5159 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update RJS render tests.Sam Stephenson2006-09-202-3/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5155 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Just use the vanilla mime type string, no need for fancy lookups [DHH]David Heinemeier Hansson2006-09-201-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5154 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* fixed failing tests now that non-GET requests are sent with .xml file ext. ↵Rick Olson2006-09-204-13/+30
| | | | | | Extracted #id_from_response as an entry point for customizing how a created resource gets its own ID. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5153 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update CGI process to allow sessions to contain namespaced models. Closes #4638.Nicholas Seckar2006-09-202-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5152 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix routing to respect user provided requirements and defaults when ↵Nicholas Seckar2006-09-203-9/+90
| | | | | | assigning default routing options (such as :action => 'index'). Closes #5950. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5151 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Hash.create_from_xml has been renamed to Hash.from_xml, alias will exist ↵David Heinemeier Hansson2006-09-206-10/+17
| | | | | | until Rails 2.0 [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5149 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added map.connect ':controller/:action/:id.:format' as a default route to ↵David Heinemeier Hansson2006-09-202-0/+3
| | | | | | config/routes.rb [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5148 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Implemented ./script/generate scaffold_resource comment body:text ↵David Heinemeier Hansson2006-09-197-71/+120
| | | | | | created_at:datetime active:boolean price:decimal git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5147 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Rescue Errno::ECONNRESET to handle an unexpectedly closed socket connection. ↵Jeremy Kemper2006-09-182-4/+6
| | | | | | Improves SCGI reliability. Closes #3368, closes #6226. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5146 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* test default content type for implicit rjs template renderRick Olson2006-09-182-0/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5143 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Work-in-progress scaffolder for resources [DHH/Rick Olson]David Heinemeier Hansson2006-09-1713-0/+343
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5132 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added that respond_to blocks will automatically set the content type to be ↵David Heinemeier Hansson2006-09-174-2/+45
| | | | | | the same as is requested [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5131 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add a :namespace option to AR::Base#to_xml [Koz]Michael Koziarski2006-09-173-3/+16
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5130 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added proper getters and setters for content type and charset [DHH] Added ↵David Heinemeier Hansson2006-09-1711-14/+158
| | | | | | 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
* Updated prototype.js to 1.5.0_rc1 with latest fixes. [Rick Olson]Rick Olson2006-09-164-56/+110
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5128 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Provide access to the underlying SOAP driver.Kent Sibilev2006-09-162-0/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5127 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Declare file extensions exempt from layouts. Closes #6219.Jeremy Kemper2006-09-163-1/+51
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5126 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Last version change, dammitDavid Heinemeier Hansson2006-09-151-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5123 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix versionsDavid Heinemeier Hansson2006-09-153-4/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5122 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Version updates and missing licensesDavid Heinemeier Hansson2006-09-154-4/+44
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5120 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Dont run tests on gem creationDavid Heinemeier Hansson2006-09-151-1/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5119 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Dont run FCGIDispatcher tests if mocha is not availableDavid Heinemeier Hansson2006-09-153-3/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5118 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Stray code.Jeremy Kemper2006-09-151-2/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5117 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deprecation tests. Remove warnings for dynamic finders and for the foo_count ↵Jeremy Kemper2006-09-1516-281/+393
| | | | | | ethod if it's also an attribute. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5116 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* assert_deprecated returns result of blockJeremy Kemper2006-09-153-7/+21
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5115 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* assert_deprecated matches any warning caught in blockJeremy Kemper2006-09-152-3/+12
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5114 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* alias_method_chain yields method target and punctuation to simplify wrapper ↵Jeremy Kemper2006-09-153-7/+24
| | | | | | method definition. Used by the deprecate module method. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5113 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* remove implicit primary actions - more pain than gain. test collection ↵Jeremy Kemper2006-09-142-32/+36
| | | | | | actions for other http methods. strip whitespace. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5111 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add chained replace/update support for assert_select_rjs [Rick Olson]Rick Olson2006-09-143-10/+67
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5110 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Mock Time.now for more accurate Touch mixin tests. Closes #6213.Jeremy Kemper2006-09-142-10/+46
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5106 5ecf4fe2-1ee6-0310-87b1-e25e094e27de