aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update UrlWriter to accept :anchor parameter. Closes #6771.Nicholas Seckar2007-05-023-0/+17
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6648 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added assert_difference and assert_no_difference to test/unit assertionsTobias Lütke2007-05-015-0/+68
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6647 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* BACKWARDS INCOMPATIBLE: Changed the finder API to be more extensible with ↵David Heinemeier Hansson2007-05-014-44/+95
| | | | | | :params and more strict usage of scopes [DHH] Added find-one with symbol [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6646 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added the first part of Simply Helpful to core. The rest is pending a clean ↵David Heinemeier Hansson2007-04-308-1/+300
| | | | | | integartion of polymorphic urls [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6633 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* You're dead! We killed you!David Heinemeier Hansson2007-04-295-0/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6632 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Include sub-resources exampleDavid Heinemeier Hansson2007-04-291-2/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6631 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Updated initializer to only load #{RAILS_ENV}.rb once. Added deprecation ↵Nicholas Seckar2007-04-292-0/+15
| | | | | | warning for config.breakpoint_server. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6627 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* change #custom_headers to just #headers [Rick]Rick Olson2007-04-294-19/+19
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6625 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add support for setting custom headers per ActiveResource model [Rick]Rick Olson2007-04-296-24/+70
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6624 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Start in irb mode if possibleDavid Heinemeier Hansson2007-04-291-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6623 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Removed breakpointer and Binding.of_caller in favor of relying on ruby-debug ↵David Heinemeier Hansson2007-04-2829-1597/+69
| | | | | | by Kent Sibilev since the breakpointer has been broken since Ruby 1.8.4 and will not be coming back [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6611 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added find-by-path options to ActiveResource::Base.find [DHH]David Heinemeier Hansson2007-04-274-8/+36
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6595 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added map.namespace to deal with the common situation of admin sections and ↵David Heinemeier Hansson2007-04-273-5/+69
| | | | | | the like [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6594 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added test case for overwritting the name prefixDavid Heinemeier Hansson2007-04-271-0/+20
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6593 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Name prefix should nest like path prefixDavid Heinemeier Hansson2007-04-272-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6592 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Actually make the name_prefix work like the previous checkin said it wouldDavid Heinemeier Hansson2007-04-272-17/+25
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6590 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added :has_many and :has_one for declaring plural and singular resources ↵David Heinemeier Hansson2007-04-263-5/+76
| | | | | | beneath the current [DHH] Added :name_prefix as standard for nested resources [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6588 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added support for using classes from within a single nested module [DHH]David Heinemeier Hansson2007-04-263-5/+47
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6587 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added load_attributes_from_response as a way of loading attributes from ↵David Heinemeier Hansson2007-04-262-4/+18
| | | | | | other responses than just create [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6586 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* The find should instantiate real objects, not return hashesDavid Heinemeier Hansson2007-04-262-3/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6585 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added support for calling custom methods #6979 [rwdaigle]David Heinemeier Hansson2007-04-267-1/+212
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6584 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Pull file from xml value only if it's a Hash. Closes #8190.Jeremy Kemper2007-04-262-2/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6583 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* XML values can be nilDavid Heinemeier Hansson2007-04-261-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6582 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improve Performance of calling create on has_many :through associations by ↵Michael Koziarski2007-04-263-9/+21
| | | | | | avoiding loading the target collection. Closes #8150 [evan] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6581 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Resource scaffolding returns the created entity.to_xml.Jeremy Kemper2007-04-252-6/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6580 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Resource scaffolding responds to new.xml. Closes #8185.Jeremy Kemper2007-04-252-0/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6579 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added parsing of file type in Hash.xml_in so you can easily do file uploads ↵David Heinemeier Hansson2007-04-253-13/+76
| | | | | | with base64 from an API [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6578 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Include default route for formatsDavid Heinemeier Hansson2007-04-241-2/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6576 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't require AWS test_invoke in railties test helper [blaine]David Heinemeier Hansson2007-04-241-1/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6575 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added that render :xml will try to call to_xml if it can [DHH]David Heinemeier Hansson2007-04-244-11/+31
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6574 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Removed default WSDL route now that AWS is debundled from RailsDavid Heinemeier Hansson2007-04-241-3/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6573 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added :location option to render so that the common pattern of rendering a ↵David Heinemeier Hansson2007-04-243-8/+21
| | | | | | response after creating a new resource is now a 1-liner [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6572 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improved performance by relying less on exception raising #8159 [Blaine]David Heinemeier Hansson2007-04-244-7/+17
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6571 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* dont bother merging in prefix_optionsRick Olson2007-04-241-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6570 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* why oh why do i always forget to save the changelogRick Olson2007-04-241-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6569 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove explicit prefix_options parameter for ↵Rick Olson2007-04-243-24/+98
| | | | | | ActiveResource::Base#initialize. Allow ActiveResource::Base.delete with custom prefix. Add ActiveResource::Base#dup [Rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6568 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Include Active Resource in rails:freeze:edge rake taskThomas Fuchs2007-04-242-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6567 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Stringify rendered text unless it's a Proc object for streaming.Jeremy Kemper2007-04-241-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6560 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Expect string response body.Jeremy Kemper2007-04-241-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6559 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* oops! forgot new layout for layout testsRick Olson2007-04-241-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6554 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Dont insert search parameters into the objectDavid Heinemeier Hansson2007-04-231-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6553 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* It is activeresource, sillyDavid Heinemeier Hansson2007-04-231-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6552 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Only include relevant filesDavid Heinemeier Hansson2007-04-231-4/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6551 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Include Active Resource instead of Action Web Service [DHH]David Heinemeier Hansson2007-04-237-23/+24
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6550 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added ActiveRecord::Base.inspect to return a column-view like #<Post ↵David Heinemeier Hansson2007-04-212-0/+7
| | | | | | id:integer, title:string, body:text> [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6549 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Run with the latest versions so beta gems will workDavid Heinemeier Hansson2007-04-2112-61/+64
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6548 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ensure that render_text only adds string content to the body of the response ↵David Heinemeier Hansson2007-04-212-2/+4
| | | | | | [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6547 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use XSD-compatible type names for Hash#to_xml and make the converters ↵David Heinemeier Hansson2007-04-214-13/+62
| | | | | | extendable #8047 [Tim Pope] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6546 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* apply [6543] to edge. Closes #5044 [tpope]Rick Olson2007-04-203-2/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6545 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added yielding of builder in Hash#to_xml [DHH]David Heinemeier Hansson2007-04-193-0/+15
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6540 5ecf4fe2-1ee6-0310-87b1-e25e094e27de