aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Added UrlHelper#link_to_if/link_to_unless to enable other conditions that ↵David Heinemeier Hansson2005-03-063-5/+43
| | | | | | just link_to_unless_current #757 [mindel] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@852 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added web_service generator (run ./script/generate web_service for help) ↵David Heinemeier Hansson2005-03-065-0/+89
| | | | | | #776 [Leon Bredt] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@851 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added web_service generator (run ./script/generate web_service for help) ↵David Heinemeier Hansson2005-03-062-1/+4
| | | | | | #776 [Leon Bredt] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@850 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that postgresql adapter would fails when reading bytea fields with ↵David Heinemeier Hansson2005-03-061-2/+2
| | | | | | null value #771 [rodrigo k] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@849 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Updated docs on auto-indexing #765 [Astinus]David Heinemeier Hansson2005-03-061-0/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@848 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Updated wording in YAML error [noradio]David Heinemeier Hansson2005-03-061-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@847 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added transactional fixtures that uses rollback to undo changes to fixtures ↵David Heinemeier Hansson2005-03-063-29/+139
| | | | | | instead of DELETE/INSERT -- it's much faster. See documentation under Fixtures #760 [bitsweat] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@846 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Better yaml fixture error #759 [xal]David Heinemeier Hansson2005-03-061-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@845 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added inflection rules for "sh" words, like "wish" and "fish" #755 ↵David Heinemeier Hansson2005-03-063-2/+8
| | | | | | [phillip@pjbsoftware.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@844 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added destruction of dependent objects in has_one associations when a new ↵David Heinemeier Hansson2005-03-065-4/+29
| | | | | | assignment happens #742 [mindel] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@843 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added validates_numericality_of #716 [skanthak/c.r.mcgrath]David Heinemeier Hansson2005-03-063-42/+130
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@842 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added app/apis and components to code statistics report #729 [Scott Barron]David Heinemeier Hansson2005-03-062-0/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@841 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use example.com domains to make rails RFC2606 compliant #708David Heinemeier Hansson2005-03-062-23/+23
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@840 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed WEBrick server to use ABSOLUTE_RAILS_ROOT instead of working_directory ↵David Heinemeier Hansson2005-03-062-1/+4
| | | | | | #687 [Nicholas Seckar] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@839 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* 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