David Heinemeier Hansson
b80f0e2ff3
Made Upload Progress work with Prototype 1.4.0 and add some documentation for it #1847 , #1876 [Thomas Fuchs/Sean Treadway]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2059 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-27 06:30:33 +00:00
Nicholas Seckar
68c90ab019
Render refactoring; render error reporting fixes
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2058 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-26 22:37:36 +00:00
Nicholas Seckar
778aeaeffe
Update changelog
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2055 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-26 11:00:27 +00:00
Nicholas Seckar
1cbd1f9698
Fix routing to handle :some_param => nil better
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2054 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-26 10:57:43 +00:00
Leon Breedt
9aafcd92de
fix invalid request XML generation in test process.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2050 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-24 19:46:11 +00:00
Jamis Buck
b4a5b27bf6
Allow the --toggle-spin switch on process/reaper to be negated
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2049 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-24 17:30:00 +00:00
Jamis Buck
7d65f7cd3d
Revert [2040], caused assignment of belongs_to associations to fail in some cases
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2048 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-24 16:45:46 +00:00
Jamis Buck
943fde0a55
Add a failing test
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2047 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-24 16:25:56 +00:00
Jamis Buck
affb615a8a
SwitchTower: use a timestamp as the release name, instead of the revision number. Various tweaks and fixes to the supported scm modules.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2046 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-24 15:15:23 +00:00
David Heinemeier Hansson
6a4d4460ea
Made SwitchTower conform to the other Rakefiles in terms of PKG description and beta gems pushing
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2045 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-24 09:22:20 +00:00
Jamis Buck
c5ff810572
Add support for :include with pagination (subject to existing constraints for :include with :limit and :offset) #1478 [michael@schubert.cx]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2041 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-23 14:24:15 +00:00
Jamis Buck
dfe1aeb776
Saving a record with two unsaved belongs_to associations pointing to the same object fails #2023 [Tobias Luetke]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2040 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-23 11:05:04 +00:00
Jamis Buck
211617191e
Prevent the benchmark module from blowing up if a non-HTTP/1.1 request is processed
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2039 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-23 09:43:36 +00:00
Jamis Buck
dca4d4e86d
Multipart messages specify a MIME-Version header automatically #2003 [John Long]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2038 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-22 23:53:04 +00:00
Jamis Buck
ae1e85200e
Add a unified render method to ActionMailer (delegates to ActionView::Base#render)
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2037 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-22 21:17:01 +00:00
Jamis Buck
516d920dc3
Fixture for tests in [2034]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2036 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-22 21:05:44 +00:00
Jamis Buck
f474f337b1
Move mailer initialization to a separate (overridable) method, so that subclasses may alter the various defaults #1727
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2035 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-22 20:53:27 +00:00
Jamis Buck
b13efaf985
Look at content-location header (if available) to determine filename of attachments #1670
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2034 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-22 20:43:43 +00:00
Jamis Buck
82f44f3144
Added :use_short_month option to select_month helper to show month names as abbreviations
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2033 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-22 14:47:16 +00:00
Jamis Buck
c031a01633
Add an :if option to session management, to allow programmatically enabling or disabling the session
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2031 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-17 21:05:31 +00:00
Nicholas Seckar
7ab71d3892
Replace render_partial with render :partial in scaffold generator
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2030 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-17 19:36:22 +00:00
Jamis Buck
7f32e83f25
When copying the config files, also transform and copy the default deploy.rb script
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2029 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-17 17:22:03 +00:00
Jamis Buck
6050dfc46b
Make the rakefile tasks that set up a new project aware of switchtower
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2028 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-17 17:17:18 +00:00
Jamis Buck
72f50e65ce
Added CVS module for SwitchTower (very, very experimental!)
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2027 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-17 10:13:25 +00:00
Leon Breedt
fbba128f73
special-case non-existent target method handling for 'system.multicall' calls when the
...
method does not exist, to conform to the RFC and return the error inline in the multicall response.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2023 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-16 05:54:12 +00:00
Leon Breedt
9d79880e81
add 'system.multicall' support to XML-RPC. boxcarred methods must still exist
...
on the target service(s), value casting will still be performed, and recursive
'system.multicall' calls are not allowed.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2021 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-16 05:45:03 +00:00
Leon Breedt
2eba713445
Fix duplicate XSD entries for custom types ( #1729 ), and prevent recursive type
...
traversing.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2014 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-14 18:43:39 +00:00
Leon Breedt
056838d2fc
Allow multiple invocations in the same WS test #1720
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2013 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-14 17:27:28 +00:00
Jamis Buck
639d03bbb7
Update changelog
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2012 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-14 08:59:18 +00:00
Jamis Buck
b1a4f91a58
Make destroy return self #1913 [sebastian.kanthak@muehlheim.de]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2011 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-14 08:58:53 +00:00
Jamis Buck
73594d88f3
Fix typo in validations documentation #1938 [court3nay]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2010 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-14 08:50:51 +00:00
Jamis Buck
8910de6a54
Make link_to escape the javascript in the confirm option #1964 [nicolas.pouillard@gmail.com]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2009 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-14 08:43:07 +00:00
Jamis Buck
85c603fc9e
Make acts_as_list work for insert_at(1) #1966 [hensleyl@papermountain.org]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2008 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-14 08:35:08 +00:00
Jamis Buck
e17bf81823
Fix typo in count_by_sql documentation #1969 [Alexey Verkhovsky]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2007 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-14 08:20:51 +00:00
Jamis Buck
f44dac8935
Works with public keys now, for passwordless operation
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2000 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-13 18:36:02 +00:00
Leon Breedt
cbf709fc5c
fix rendering of scaffolding (@content_for_layout has to be set on the template.)
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1998 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-12 22:55:23 +00:00
Jamis Buck
67f73c99db
Subversion module recognizes the password prompt for HTTP authentication
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1997 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-12 21:40:38 +00:00
Jamis Buck
6500981d60
Preserve +x on scripts when using darcs #1929 [Scott Barron]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1996 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-12 20:32:23 +00:00
Jamis Buck
cc0105cef9
Added -w flag to ps in process/reaper #1934 [Scott Barron]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1995 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-12 20:30:26 +00:00
Leon Breedt
eaadd18f3f
Add API::Base.soap_client and API::Base.xmlrpc_client helper methods to construct
...
an internal client.
Example:
{{{
$ ./script/console
>> c = MyApi.soap_client 'http://app.com/ws/api '
>> c.method arg1, arg2
}}}
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1994 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-12 16:38:42 +00:00
Jamis Buck
c005ed17a3
Explicitly terminate shell statements with ';' if they are in 'if' statements
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1977 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-06 20:13:03 +00:00
Jamis Buck
cebf623ebf
The utility's name is SwitchTower
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1976 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-06 20:03:07 +00:00
Jamis Buck
5e558bcbf0
When executing multiline commands, escape newlines with a backslash
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1975 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-06 19:35:25 +00:00
Jamis Buck
25ce9f3bc9
Mention the dependencies of SwitchTower (Net::SSH, Needle)
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1974 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-06 18:21:06 +00:00
Jamis Buck
50e2474433
Make assert_redirected_to properly check URL's passed as strings #1910 [Scott Barron]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1971 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-06 08:37:25 +00:00
Jamis Buck
a3469cadad
Make sure :layout => false is always used when rendering inside a layout
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1970 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-05 20:51:03 +00:00
Jamis Buck
3d4a323776
Add integration with SwitchTower (rake tasks, default deploy.rb recipe)
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1968 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-03 15:02:31 +00:00
Jamis Buck
3fc8639b78
Initial commit of the new switchtower utility
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1967 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-03 12:59:03 +00:00
Jamis Buck
44c64a612d
Use raise instead of assert_not_nil in Test::Unit::TestCase#process to ensure that the test variables (controller, request, response) have been set
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1963 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-01 21:28:17 +00:00
Jamis Buck
08ebab5d20
Make sure assigns are built for every request when testing #1866
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1961 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-31 12:16:21 +00:00