3295 Commits

Author SHA1 Message Date
Michael Koziarski
9babb2014b to_xml documentation [DHH, Koz]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4087 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
v1.1.0
2006-03-28 04:25:31 +00:00
Rick Olson
f630403021 regression test for #4206
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4086 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-28 04:12:46 +00:00
Marcel Molina
4e3c101bcb Add 1.0 marker to edge rails changelongs
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4085 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-28 04:05:08 +00:00
Rick Olson
2597bd6970 documentation for polymorphic joins
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4084 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-28 04:01:17 +00:00
Marcel Molina
f28d619534 Add documentation for respond_to
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4083 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-28 03:39:23 +00:00
David Heinemeier Hansson
fed4453e41 Fixed docs
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4082 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-28 03:38:49 +00:00
David Heinemeier Hansson
218406570d Fixed docs
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4081 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-28 03:31:01 +00:00
David Heinemeier Hansson
c4590d577c Fixed docs
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4080 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-28 03:22:58 +00:00
David Heinemeier Hansson
dfd953ea96 Fixed docs
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4079 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-28 03:19:27 +00:00
David Heinemeier Hansson
fed7d334f2 Fixed documentation
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4078 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-28 03:06:40 +00:00
David Heinemeier Hansson
3e734490c6 Make release rake work on 1.8.4
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4077 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-28 02:10:51 +00:00
Nicholas Seckar
b55fc9e85a Replace 'rescue Object' with a finer grained rescue. Closes #4431
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4076 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-28 01:48:59 +00:00
David Heinemeier Hansson
e7db36bd8e Show usage description if no code is passed (closes #4447) [murphy@cYcnus.de]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4075 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-28 01:47:16 +00:00
David Heinemeier Hansson
31199a9e4a Update description
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4074 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-28 01:11:09 +00:00
Michael Koziarski
66f546644b Allow load_fixtures to load a subset of total fixture data. [Chad Fowler]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4073 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-28 00:59:55 +00:00
David Heinemeier Hansson
b6e7cc63de Spell existence properly (closes #4442)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4072 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-27 23:43:50 +00:00
David Heinemeier Hansson
80081d18f2 Fixed require of bluecloth and redcloth when gems haven't been loaded (closes #4446) [murphy@cYcnus.de]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4070 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-27 23:40:29 +00:00
David Heinemeier Hansson
c9c185200d Making ActiveRecord faster [skaes]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4069 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-27 23:28:19 +00:00
Thomas Fuchs
1cc2f5ce9f Speedup for sortable with handles initialization in rails trunk too
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4068 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-27 08:14:02 +00:00
Rick Olson
ed6c3c17f7 Fixed eager loading so that an aliased table cannot clash with a has_and_belongs_to_many join table [Rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4066 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-27 08:09:36 +00:00
Michael Koziarski
445cb5c08d Add support for :include to with_scope [andrew@redlinesoftware.com]
Remove overrated warning from adapter_test




git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4064 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-27 06:19:31 +00:00
Sam Stephenson
b8e23e37dd Update to Prototype 1.5.0_pre1
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4063 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-27 05:47:17 +00:00
Nicholas Seckar
9efca53908 Dependencies cleanup. Fixes #4221.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4060 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-27 05:13:46 +00:00
Nicholas Seckar
24403498ba Add CachingTools::HashCaching to simplify the creation of nested, autofilling hashes.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4059 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-27 03:59:35 +00:00
Rick Olson
3f496c6638 add the TestCase.fixture_path when testing file uploads
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4058 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-27 02:24:47 +00:00
Scott Barron
8935209629 Don't raise when the migration file is missing or it'll stop destroy model in
the middle if there is no matching migration file.

Closes #4426


git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4057 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-26 22:15:19 +00:00
David Heinemeier Hansson
0c07e08d60 ActionView: Allow to register a Template handler with a Symbol (dont kill markaby) (closes #4328) [murphy@cYcnus.de]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4056 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-26 21:50:22 +00:00
David Heinemeier Hansson
1886de8612 Support the use of public synonyms with the Oracle adapter; required ruby-oci8 v0.1.14 (closes #4390) [schoenm@earthlink.net]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4055 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-26 21:43:48 +00:00
David Heinemeier Hansson
c4f1979db5 Make ActiveWebService::Struct type reloadable. Fix scaffolding action when one of the members of a structural type has date or time type. Remove extra index hash when generating scaffold html for parameters of structural type (closes #4374) [joe@mjg2.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4054 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-26 21:26:13 +00:00
Thomas Fuchs
77c8e3a0fd effects.js and controls.js fixes
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4053 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-26 20:28:05 +00:00
Rick Olson
666537572d finish form_for change, allow hash as the second param: form_for :post, :url => { }.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4051 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-26 20:21:27 +00:00
Nicholas Seckar
2683782455 Remove broken hack which has no effect.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4050 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-26 20:04:14 +00:00
Nicholas Seckar
3bab575316 Update Object.subclasses_of to locate nested classes. Update Object.remove_subclasses_of to use Class.remove_class.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4049 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-26 20:00:40 +00:00
Rick Olson
4238666627 Change #form_for and #fields_for so that the second argument is not required [Dave Thomas]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4047 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-26 19:45:56 +00:00
Scott Barron
c954a5b9a0 When doing svn log -qr HEAD trunk/url, a log message with revision will not
show if the last commit was not in the trunk/ path.

For example, changeset [4045] is for scriptaculous, so the command executed by
rails:freeze:edge:

svn -qr HEAD log http://dev.rubyonrails.org/svn/rails/trunk

Yields the following output:
------------------------------------------------------------------------

Causing the regex to bomb.

Change the command to use --limit 1 instead of HEAD, which will pick up the
last changeset against the trunk path.

Fixes #4356


git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4046 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-26 16:12:48 +00:00
Thomas Fuchs
3bcb0b80b1 one too many
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4044 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-26 08:40:49 +00:00
Thomas Fuchs
34db8e8939 Update to script.aculo.us 1.6
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4043 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-26 08:37:19 +00:00
David Heinemeier Hansson
91ea35307a Only string_to_binary if the column responds
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4040 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-26 04:15:57 +00:00
Rick Olson
a5991d8491 Change periods (.) in table aliases to _'s. Closes #4251 [jeff@ministrycentered.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4039 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-26 04:13:25 +00:00
Rick Olson
56af14d5aa Changed has_and_belongs_to_many join to INNER JOIN for Mysql 3.23.x. Closes #4348 [Rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4038 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-26 04:08:50 +00:00
David Heinemeier Hansson
45e59c8a51 Dont require rake to run the server, just have a little undryness instead (closes #4213) [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4037 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-26 03:29:09 +00:00
Rick Olson
6636eb16c5 Fixed issue that kept :select options from being scoped [Rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4036 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-26 00:36:55 +00:00
David Heinemeier Hansson
c3c39b5cb6 Beef up the default test just a tad
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4035 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-25 23:45:28 +00:00
David Heinemeier Hansson
0a5b8328b9 The Ruby path should be a string (closes #4361) [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4033 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-25 23:32:08 +00:00
David Heinemeier Hansson
3cec029685 Do it in style
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4032 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-25 23:10:09 +00:00
David Heinemeier Hansson
5b63c84307 Fixed db_schema_import when binary types are present (closes #3101) [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4031 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-25 23:09:52 +00:00
David Heinemeier Hansson
1d79a17c25 ST is Cap (closes #4214)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4030 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-25 21:57:08 +00:00
David Heinemeier Hansson
6247689e59 Added Fixnum#seconds for consistency, so you can say 5.minutes + 30.seconds instead of 5.minutes + 30 (closes #4389) [Francois Beausoleil]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4029 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-25 21:43:46 +00:00
David Heinemeier Hansson
75de3cbb13 Fixed that MySQL enums should always be returned as strings (closes #3501) [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4028 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-25 21:42:27 +00:00
Jamis Buck
4b66180cca Add an integration test generator
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4027 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-25 19:57:03 +00:00