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
Jamis Buck
020ed6fa1f
Allow remote_addr to be queried on TestRequest #1668
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1960 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-31 10:31:47 +00:00
Jamis Buck
b4c34f7b2b
Fixed that Time#midnight would have a non-zero usec on some platforms #1836
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1959 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-31 09:16:21 +00:00
Jamis Buck
eda1719470
ActionMailer::Base.deliver(email) had been accidentally removed, but was documented in the Rails book #1849
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1958 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-31 08:26:32 +00:00
Jamis Buck
da874a4af8
Allow add_column and create_table to specify NOT NULL #1712 [emptysands@gmail.com]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1955 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-30 10:16:21 +00:00
David Heinemeier Hansson
0ea1375d75
Really fix the syntax error issue
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1952 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-28 17:41:19 +00:00
Jamis Buck
369d054338
Fix create_table so that id column is implicitly added [Rick Olson]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1949 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-27 17:06:22 +00:00
David Heinemeier Hansson
9fad3251d3
More fixes, but still broken
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1948 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-27 14:17:47 +00:00
David Heinemeier Hansson
c22ebd909d
Fixing the fix, but not quite
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1946 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-27 13:55:56 +00:00
David Heinemeier Hansson
5b52b716b7
Fixing the fix, but not quite
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1945 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-27 13:55:39 +00:00
David Heinemeier Hansson
3d2f0001ea
Fixed bug when a partial render was passing a local with the same name as the partial
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1942 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-27 12:24:14 +00:00
David Heinemeier Hansson
d9033bbb28
Demonstrate breakage better
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1941 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-27 12:06:19 +00:00