aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fixed rails_generator to be usable without RubyGems #686 [Cristi BALAN]. ↵David Heinemeier Hansson2005-03-068-23/+16
| | | | | | Moved all active support dependencies into active support git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@838 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that single quote was not escaped in a UrlHelper#link_to javascript ↵David Heinemeier Hansson2005-03-063-1/+7
| | | | | | confirm #549 [Scott Barron] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@837 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Removed the default border on link_image_to (it broke xhtml strict) -- can ↵David Heinemeier Hansson2005-03-063-11/+11
| | | | | | be specified with :border => 0 #517 [?/caleb] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@836 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed reflection_for_gps_location testDavid Heinemeier Hansson2005-03-061-1/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@835 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that HasManyAssociation#count was using :finder_sql rather than ↵David Heinemeier Hansson2005-03-063-2/+6
| | | | | | :counter_sql if it was available #445 [Scott Barron] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@834 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that form helpers would treat string and symbol keys differently in ↵David Heinemeier Hansson2005-03-0617-232/+283
| | | | | | html_options (and possibly create duplicate entries) #112 [bitsweat] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@833 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed -h/--help for generate and destroy generators #331David Heinemeier Hansson2005-03-063-0/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@832 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added begin/rescue around the FCGI dispatcher so no uncaught exceptions can ↵David Heinemeier Hansson2005-03-042-1/+16
| | | | | | bubble up to kill the process (logs to log/fastcgi.crash.log) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@831 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* add action_web_service/test_invoke, will be used by for testing APIs inLeon Breedt2005-03-047-3/+223
| | | | | | | a Rails project instance. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@830 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that broken pipe errors (clients disconnecting in mid-request) could ↵David Heinemeier Hansson2005-03-032-7/+14
| | | | | | bring down a fcgi process git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@829 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added the original exception message to session recall errors (so you can ↵David Heinemeier Hansson2005-03-032-1/+3
| | | | | | see which class wasnt required) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@828 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed an exception when using Ajax based requests from Safari because Safari ↵David Heinemeier Hansson2005-03-033-10/+26
| | | | | | appends a \000 to the post body. Symbols can't have \000 in them so indifferent access would throw an exception in the constructor. Indifferent hashes now use strings internally instead. #746 [Tobias Luetke] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@827 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* allow the client to specify options to be passed through to the underlyingLeon Breedt2005-03-031-0/+17
| | | | | | | | SOAP::RPC::Driver. add to RDoc an example of using these options to configure SSL client-certificate authenticated connections to the server. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@826 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* make the marshaler use the same set of columns as the code that generatesLeon Breedt2005-03-023-1/+13
| | | | | | | WSDL, avoids mismatches when there are associations in the AR model class. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@825 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added String#to_time and String#to_date for wrapping ParseDateDavid Heinemeier Hansson2005-03-024-0/+32
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@824 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* add missing entry for #allow_active_record_expectsLeon Breedt2005-03-021-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@823 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that RAILS_ROOT might not be defined when AP was loaded, so do a late ↵David Heinemeier Hansson2005-03-022-3/+8
| | | | | | initialization of the ROUTE_FILE #761 [Scott Barron] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@822 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added better defaults for composed_of, so statements like composed_of ↵David Heinemeier Hansson2005-03-0111-6/+47
| | | | | | :time_zone, :mapping => %w( time_zone time_zone ) can be written without the mapping part (it's now assumed) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@821 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made path work for lighttpd again as it uses an empty string where Apache ↵David Heinemeier Hansson2005-03-011-1/+1
| | | | | | returns nil git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@820 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ensure that the schema information table is available before doing any migrationDavid Heinemeier Hansson2005-03-011-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@819 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added preliminary support for an agile database migration technique ↵David Heinemeier Hansson2005-03-019-15/+317
| | | | | | (currently only for MySQL) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@818 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix request.path_info and clear up LoadingModule behavior #754 [Nicholas Seckar]David Heinemeier Hansson2005-03-013-9/+21
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@817 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed caching to be aware of extensions (so you can cache files like ↵David Heinemeier Hansson2005-03-011-1/+3
| | | | | | api.wsdl or logo.png) #734 [Nicholas Seckar] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@816 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* add allow_active_record_expects option to ActionWebService::API::Base,Leon Breedt2005-02-282-1/+11
| | | | | | | | but set the default to false so people don't use it without thinking about the consequences. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@815 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Removed a fix that was caused by a bug in RubyGems 0.8.5David Heinemeier Hansson2005-02-282-4/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@814 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that association#count would produce invalid sql when called ↵David Heinemeier Hansson2005-02-282-3/+5
| | | | | | sequentialy #659 [kanis@comcard.de] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@813 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* drop version back down to 0.5.0 so that we can use 0.6.0 for the realLeon Breedt2005-02-271-1/+1
| | | | | | | next release. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@812 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make all custom types and method calls are declared in the ↵Leon Breedt2005-02-2721-113/+348
| | | | | | | | | | | | | | | | | | | | | | | 'urn:ActionWebService' namespace as a default, fixes SOAP marshaling for .NET, a regression since the merge. Make array annotation be recursive in WS::Marshaling::SoapMarshaling, this makes typed arrays buried in nested structures still be annotated correctly. Support :layered dispatching mode for XML-RPC namespaced method names. Change WS::ParamInfo.create signature to require type_binding, and update all uses of this. Restore #default_api_method functionality, fixes a regression since the merge. Fix marshalling of ActiveRecord::Base derivatives, fixes a regression since the merge. This changeset closes #676, #677, and #678. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@811 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Slicker way of quiting on less than Ruby 1.8.2David Heinemeier Hansson2005-02-271-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@810 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed test/mocks/testing to the correct test/mocks/test #740David Heinemeier Hansson2005-02-273-2/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@809 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added early failure if the Ruby version isn't 1.8.2 or above #735David Heinemeier Hansson2005-02-272-1/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@808 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed the missing shebang in main "rails" script #736David Heinemeier Hansson2005-02-272-0/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@807 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* --i/index is obsolete #743David Heinemeier Hansson2005-02-271-3/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@806 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added MacroReflection#macro which will return a symbol describing the macro ↵David Heinemeier Hansson2005-02-273-7/+18
| | | | | | used (like :composed_of or :has_many) #718, #248 [james@slashetc.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@805 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Correct default for ip binding on webrick server #717David Heinemeier Hansson2005-02-271-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@804 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that Routes would raise NameErrors if a controller component contains ↵David Heinemeier Hansson2005-02-273-0/+14
| | | | | | characters that are not valid constant names #733 [Nicholas Seckar] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@803 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added PATH_INFO access from the request that allows urls like the following ↵David Heinemeier Hansson2005-02-273-3/+15
| | | | | | to be interpreted by rails: http://www.example.com/dispatcher.cgi/controller/action -- that makes it possible to use rails as a CGI under lighttpd and would also allow (for example) Rublog to be ported to rails without breaking existing links to Rublog-powered blogs. #728 [Jamis Buck] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@802 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that caching the root would result in .html not index.htmlDavid Heinemeier Hansson2005-02-272-1/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@801 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* merged the changes for the upcoming 0.6.0:Leon Breedt2005-02-2562-2079/+2180
| | | | | | | | | | | | | | | | | | | | | seperate out protocol marshaling into a small 'ws' library in vendor, so that AWS itself only does integration with ActionPack, and so we can keep protocol specific code in AWS proper to a minimum. refactor unit tests to get 95% code coverage (for a baseline). be far more relaxed about the types given to us by the remote side, don't do any poor man's type checking, just try to cast and marshal to the correct types if possible, and if not, return what they gave us anyway. this should make interoperating with fuzzy XML-RPC clients easier. if exception reporting is turned on, do best-effort error responses, so that we can avoid "Internal protocol error" with no details if there is a bug in AWS itself. also perform extensive cleanups on AWS proper. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@800 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Tagged the 0.10.0 releaseDavid Heinemeier Hansson2005-02-253-7/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@799 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* handle elapsed times that are nil in #log_response (happens when API methodLeon Breedt2005-02-251-1/+1
| | | | | | | | throws an exception). this fixes exception marshaling so that remote callers get a proper stack trace. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@798 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Include Action Web Service and Active Support in the documentationDavid Heinemeier Hansson2005-02-241-1/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@797 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Marked for releaseDavid Heinemeier Hansson2005-02-246-5/+13
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@796 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made ready for 0.10.0 releaseDavid Heinemeier Hansson2005-02-246-22/+22
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@795 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* With const_missing loading, its no longer necessary to dynamically require ↵David Heinemeier Hansson2005-02-241-2/+0
| | | | | | the scaffold model -- meaning the end of RDoc warnings! git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@794 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Updated a few more docsDavid Heinemeier Hansson2005-02-242-7/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@793 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Drop the _doc nonsense and use the index.html straight onDavid Heinemeier Hansson2005-02-241-2/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@792 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Drop the _doc nonsense and use the index.html straight onDavid Heinemeier Hansson2005-02-246-83/+73
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@791 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Noted things that wasnt mentionedDavid Heinemeier Hansson2005-02-241-0/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@790 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that proxy IPs do not follow all RFC1918 nets #251 [caleb@aei-tech.com]David Heinemeier Hansson2005-02-242-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@789 5ecf4fe2-1ee6-0310-87b1-e25e094e27de