aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Rails is not compatible with Ruby 1.8.3, explicitly prevent usage [DHH]David Heinemeier Hansson2006-03-191-1/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3975 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Quit ignoring default :include options in has_many :through calls [Mark James]Rick Olson2006-03-196-14/+49
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3974 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow has_many :through associations to find the source association by ↵Rick Olson2006-03-196-11/+28
| | | | | | setting a custom class (closes #4307) [jonathan@bluewire.net.nz] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3973 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* If RAW_POST_DATA was set explicitly, use that (closes #4281)David Heinemeier Hansson2006-03-191-6/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3972 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix for destroying migrations made when generating a model (closes #4246) ↵David Heinemeier Hansson2006-03-191-2/+5
| | | | | | [tomtoday@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3971 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remember kiddies, Dir[] uses Dir#glob, not a RegexpRick Olson2006-03-191-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3970 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added nicer message for assert_redirected_to (closes #4294) [court3nay, ↵Rick Olson2006-03-197-3/+49
| | | | | | Chris McGrath] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3969 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* forgot to save changelog... dohRick Olson2006-03-191-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3968 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Eager Loading support added for has_many :through => :has_many associations ↵Rick Olson2006-03-192-6/+24
| | | | | | (see below). [Rick Olson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3967 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Only run migrations that look like migrationsDavid Heinemeier Hansson2006-03-191-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3966 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Small pgsql fixes (closes #4083) [pergesu@gmail.com]David Heinemeier Hansson2006-03-192-1/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3965 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow has_many :through to work on has_many associations (closes #3864) ↵Rick Olson2006-03-195-19/+73
| | | | | | [sco@scottraymond.net] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3964 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed rails:freeze:gems for Windows (closes #3274) [paul@paulbutcher.com]David Heinemeier Hansson2006-03-192-10/+15
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3963 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* add ticket # to changesetRick Olson2006-03-191-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3962 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Raise error when trying to select many polymorphic objects with has_many ↵Rick Olson2006-03-197-27/+104
| | | | | | :through or :include (closes #4226) [josh@hasmanythrough.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3961 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Nil charset caused subject line to be improperly quoted in implicitly ↵Jamis Buck2006-03-193-2/+19
| | | | | | multipart messages (closes #2662) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3960 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Parse content-type apart before using it so that sub-parts of the header can ↵Jamis Buck2006-03-185-11/+41
| | | | | | be set correctly (closes #2918) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3959 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed has_many :through to include :conditions set on the :through ↵Rick Olson2006-03-187-19/+48
| | | | | | association. closes #4020 [jonathan@bluewire.net.nz] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3958 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make custom headers work in subparts (closes #4034)Jamis Buck2006-03-183-1/+20
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3956 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use the full template file name for implicitly selected templates, instead ↵Jamis Buck2006-03-181-2/+3
| | | | | | of requiring AV to try to detect it (which is broken for this use case) (closes #4297) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3955 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix that has_many :through honors the foreign key set by the belongs_to ↵Rick Olson2006-03-188-2/+22
| | | | | | association in the join model (closes #4259) [andylien@gmail.com / Rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3954 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Change url_for to escape the resulting URLs when called from a view. Closes ↵Nicholas Seckar2006-03-183-19/+31
| | | | | | #4202 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3953 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Date in iso8601 should just be a to_s aliasDavid Heinemeier Hansson2006-03-181-3/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3952 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added more tests to validates_format_of (closes #3142) [jp.bougie@gmail.com]David Heinemeier Hansson2006-03-181-0/+28
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3951 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Dates should be able to go xmlschema too [DHH]David Heinemeier Hansson2006-03-181-0/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3950 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* SQL Server adapter gets some love (closes #4298) [rtomayko@gmail.com]David Heinemeier Hansson2006-03-186-16/+53
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3949 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added test for Accept header for xml_http_request calls in functional tests ↵David Heinemeier Hansson2006-03-181-1/+9
| | | | | | (closes #4222) [agkr@pobox.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3948 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make generation of namespaced models produce proper migrations #4219 [Caio ↵David Heinemeier Hansson2006-03-181-2/+2
| | | | | | Chassot] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3947 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Doc fix (closes #4210) [Caio Chassot ]David Heinemeier Hansson2006-03-181-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3946 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Doc fix (closes #4209) [Caio Chassot]David Heinemeier Hansson2006-03-182-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3945 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Removed XML argument style for respond_to, so type.xml(object.to_xml) no ↵David Heinemeier Hansson2006-03-187-29/+37
| | | | | | longer works -- it wasnt worth the exception git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3944 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix incorrect mysql column type (requires AR test DB to be rebuilt) (closes ↵Jamis Buck2006-03-181-1/+1
| | | | | | #4299) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3943 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* use cleanpath of config file in lighttpd server script (closes #4203) [Caio ↵David Heinemeier Hansson2006-03-181-1/+1
| | | | | | Chassot] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3942 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update lingering uses of deprecated association dependency options (closes ↵David Heinemeier Hansson2006-03-187-12/+12
| | | | | | #4169) [coffe2code] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3941 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that eager loading from belongs_to would cause the association to be ↵David Heinemeier Hansson2006-03-182-1/+3
| | | | | | double-singularized (closes #4117) [jonathan@bluewire.net.nz] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3940 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added easy support for testing file uploads with fixture_file_upload (closes ↵David Heinemeier Hansson2006-03-184-0/+75
| | | | | | #4105) [turnip@turnipspatch.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3939 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added 'port open?' check to the spawner when running in repeat mode so we ↵David Heinemeier Hansson2006-03-182-3/+15
| | | | | | don't needlessly boot the dispatcher if the port is already in use anyway #4089 [guy.naor@famundo.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3938 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed UrlHelper#current_page? to behave even when url-escaped entities are ↵David Heinemeier Hansson2006-03-182-1/+3
| | | | | | present (closes #3929) [jeremy@planetargon.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3937 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make sure xml_simple requests don't blow up if an empty request body is recievedJamis Buck2006-03-182-5/+12
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3936 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* fixed has_many :conditions sanitizing (closes #4278) [hakuja@hakuja.net]Rick Olson2006-03-183-4/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3935 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* fix broken respond_to testJamis Buck2006-03-184-1/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3934 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix the detach option for lighttp (closes #4097) [schultzr@gmail.com]David Heinemeier Hansson2006-03-181-4/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3933 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added OpenBase database adapter that builds on top of the ↵David Heinemeier Hansson2006-03-1811-8/+689
| | | | | | http://www.spice-of-life.net/ruby-openbase/ driver. All functionality except LIMIT/OFFSET is supported (closes #3528) [derrickspell@cdmplus.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3932 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add ability for relative_url_root to be specified via an environment ↵Nicholas Seckar2006-03-183-2/+26
| | | | | | variable RAILS_RELATIVE_URL_ROOT. Closes #4243. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3931 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Do not include .svn files in file distro (closes #3195) [jamie@dang.com]David Heinemeier Hansson2006-03-181-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3930 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* StylingDavid Heinemeier Hansson2006-03-181-8/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3929 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed link_to "somewhere", :post => true to produce valid XHTML by using the ↵David Heinemeier Hansson2006-03-183-3/+5
| | | | | | parentnode instead of document.body for the instant form (closes #3007) [Bob Silva] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3928 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Just use a normal update on the indifferent hashDavid Heinemeier Hansson2006-03-181-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3927 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added :function option to PrototypeHelper#observe_field/observe_form that ↵David Heinemeier Hansson2006-03-183-2/+16
| | | | | | allows you to call a function instead of submitting an ajax call as the trigger (closes #4268) [jonathan@daikini.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3926 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed the to_xml case (closes #4201) [twoggle@gmail.com]David Heinemeier Hansson2006-03-181-6/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3925 5ecf4fe2-1ee6-0310-87b1-e25e094e27de