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
David Heinemeier Hansson
9326222941
Use example.com as standard ( closes #4413 ) [anna]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4026 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-25 19:43:40 +00:00
Jamis Buck
7bcf4c6659
Enable application/x-yaml processing by default
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4024 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-25 18:44:28 +00:00
Rick Olson
ef1297d896
remove some documentation cruft on has_many
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4023 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-24 14:56:31 +00:00
Rick Olson
38bae0a969
Change has_many :through to use the :source option to specify the source association. :class_name is now ignored. [Rick Olson]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4022 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-24 14:46:17 +00:00
Marcel Molina
cb069ea7cc
Don't polute the top level namespace in the console with ActionView helpers. Make them available from a helper method.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4019 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-23 21:56:38 +00:00
David Heinemeier Hansson
4a968d464b
Fixed that AWS Scaffold Fails with Struct as a Parameter ( closes #4363 ) [joe@mjg2.com]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4017 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-23 16:07:03 +00:00
Rick Olson
ed10f873a1
STI associations are now aliased to the table name for backwards compatibility. Added docs for table aliasing [Rick Olson]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4015 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-23 06:01:01 +00:00
Nicholas Seckar
c05c22a45f
Fix double url escaping of remote_function. Add :escape => false option to ActionView's url_for.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4014 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-22 19:41:39 +00:00
David Heinemeier Hansson
2d24bed3a0
Fixed DB2 adapter so nullable columns will be determines correctly now and quotes from column default values will be removed ( closes #4350 ) [contact@maik-schmidt.de]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4013 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-22 19:30:02 +00:00
David Heinemeier Hansson
f46eb2ab64
Fix test
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4012 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-22 19:28:46 +00:00
Rick Olson
f50a95819b
fix test so that it passes
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4009 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-22 01:03:25 +00:00
Marcel Molina
330823687b
Make all ActionView helpers available in the console for debugging purposes.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4008 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
v1.1.0_RC1
2006-03-21 20:07:41 +00:00