David Heinemeier Hansson
66bbc4f4e6
Added plugin generator to create a stub structure for a new plugin in vendor/plugins (see "script/generate plugin" for help) [DHH]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2784 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-28 16:33:25 +00:00
Jeremy Kemper
d5e48ae7d2
Use the old way of getting args to the scaffold generator and un-screwup the controller name assignment appropriately.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2783 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-28 15:42:16 +00:00
David Heinemeier Hansson
b31aa2dd57
Added app/services as a default dir in the Rails skeleton and to the load path. Use it to keep classes like MaintenanceService and PaymentGateway [DHH]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2782 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-28 13:00:33 +00:00
David Heinemeier Hansson
9bafd35375
Fixed scaffold generator when started with only 1 parameter ( closes #2609 ) [self@mattmower.com]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2780 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-28 07:50:42 +00:00
David Heinemeier Hansson
706a8a8f96
rake should run functional tests even if the unit tests have failures [Jim Weirich]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2772 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-27 18:44:28 +00:00
David Heinemeier Hansson
17816a11ee
Proper CSS color definition ( closes #2334 )
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2751 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-26 13:26:51 +00:00
David Heinemeier Hansson
50f7c9a98b
Load rake task files in alphabetical order so you can build dependencies and count on them ( closes #2554 ) [Blair Zajac]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2740 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-26 12:50:29 +00:00
David Heinemeier Hansson
c7a6b9862d
Prepared for release of 0.14.2 (RC3)
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2737 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-25 22:11:48 +00:00
Jamis Buck
cdd49c5360
Constants set in the development/test/production environment file are set in Object
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2711 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-23 13:39:24 +00:00
Jeremy Kemper
3ab3a70b7c
Clarify semantics of ActiveRecord::Base#respond_to? Closes #2560 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2705 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-22 16:43:39 +00:00
Jeremy Kemper
d0a3185062
Scaffold generator pays attention to the controller name. Closes #2562 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2703 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-22 16:02:53 +00:00
David Heinemeier Hansson
3b33a6f336
Include tasks from vendor/plugins/*/tasks in the Rakefile #2545 [Rick Olson]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2697 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-21 07:33:31 +00:00
Florian Weber
07bff0b535
Fixed misspell of "initialize_framework_settings"
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2693 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-20 09:24:18 +00:00
David Heinemeier Hansson
2555b885ed
Really ready for release
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2687 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-19 14:28:55 +00:00
Michael Koziarski
9601f96a70
attempt to fix #2500
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2669 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-17 23:19:48 +00:00
Jeremy Kemper
2c64b9d127
suppress mysql_config errors
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2664 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-17 04:56:27 +00:00
David Heinemeier Hansson
f4aaa26eb3
Getting ready for 0.14.0 (1.0.0 Release Candidate 1)
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2660 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-16 22:15:03 +00:00
Tobias Lütke
cbbb036866
moved generators to lib/generators
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2658 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-16 21:47:42 +00:00
David Heinemeier Hansson
41a2a63fee
Fix freeze_gems
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2656 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-16 20:33:37 +00:00
David Heinemeier Hansson
50a02abd6d
Remove util.js
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2652 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-16 16:15:05 +00:00
Jeremy Kemper
6273753a42
Try to figure out which mysql socket to use. Default to /path/to/your/mysql.sock
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2645 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-16 13:47:34 +00:00
Jeremy Kemper
4c4651ad00
Use expand_path for app_name so, e.g., rails . is supported
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2644 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-16 13:22:36 +00:00
Florian Weber
a1f14d1a85
Made the rails command use the application name for database names in the tailored database.yml file.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2642 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-16 09:51:04 +00:00
Jamis Buck
ae294afa8d
Documentation updates/fixes for railties
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2637 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-16 03:00:44 +00:00
Jamis Buck
8b496a13d2
Add documentation for Rails::Initializer and Rails::Configuration
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2632 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-16 00:17:09 +00:00
David Heinemeier Hansson
d72201e438
Backed out of setting testing settings through initializer as that would break backwards compatibility
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2618 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-15 17:47:46 +00:00
Scott Barron
ccd18dc650
Should be RAILS_ROOT/test/fixtures.
...
Closes #2476
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2616 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-15 17:05:55 +00:00
David Heinemeier Hansson
985574c940
Make freezing work with Windows
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2615 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-15 15:44:35 +00:00
David Heinemeier Hansson
8cfcc04d08
Added Rails framework freezing tasks: freeze_gems (freeze to current gems), freeze_edge (freeze to Rails SVN trunk), unfreeze_rails (float with newest gems on system)
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2613 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-15 15:00:15 +00:00
David Heinemeier Hansson
50f3c3cc40
Updated documentation and fixed the spinner to reference the new spawner by default
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2610 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-15 13:48:03 +00:00
David Heinemeier Hansson
0930256b45
Fixed the overeager test running
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2609 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-15 13:18:17 +00:00
Tobias Lütke
35d543f422
Adds update_javascripts task which will fetch all the latest js files from railties dir.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2607 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-15 04:06:39 +00:00
David Heinemeier Hansson
e3bb9e7a9c
Cleaned up test_helper
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2606 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-15 03:02:28 +00:00
David Heinemeier Hansson
08917a6c5e
Fixed script/performance
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2605 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-15 02:56:35 +00:00
David Heinemeier Hansson
29d4c2b36f
Finished move
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2591 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-14 21:25:40 +00:00
David Heinemeier Hansson
8ad552a112
Moving perform to performance
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2590 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-14 21:21:56 +00:00
David Heinemeier Hansson
a442e6dbdf
Clean-up fix a bit
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2589 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-14 21:21:09 +00:00
Florian Weber
9285f6c7ae
Made the instantiated/transactional fixtures settings be controlled through Rails::Initializer. Transactional and non-instantiated fixtures are default from now on.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2588 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-14 20:33:39 +00:00
Jeremy Kemper
00656979fe
r3619@sedna: jeremy | 2005-10-14 14:41:24 -0700
...
move scripts
r3622@sedna: jeremy | 2005-10-14 14:54:48 -0700
remove script/perform and script/process in favor of script/perform/profile, etc.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2587 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-14 18:58:07 +00:00
David Heinemeier Hansson
94a05920e1
Only dump schema if schema_format is :ruby
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2585 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-14 16:10:02 +00:00
Jeremy Kemper
86455d31f2
Sanitize benchmarker. [times] argument is optional, defaults to 1.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2583 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-14 14:46:27 +00:00
Jeremy Kemper
d8738be0b9
Fix commands/perform
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2582 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-14 14:23:01 +00:00
David Heinemeier Hansson
4a1ed01e9d
Update docs
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2579 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-14 03:28:22 +00:00
David Heinemeier Hansson
276f14444c
Made them actually work
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2577 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-14 03:22:18 +00:00
Jamis Buck
4b78e5bddb
Fix problem with RAILS_ENV being frozen when set from environment variable
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2576 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-14 02:51:33 +00:00
David Heinemeier Hansson
cb24c0f141
Performers go .rb
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2575 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-14 02:29:56 +00:00
David Heinemeier Hansson
2bb72134b5
Fix spelling
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2574 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-14 02:28:56 +00:00
David Heinemeier Hansson
c45ea78c6a
Cleaned it up a bit.. Dependencies can be declared inline
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2570 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-13 20:55:05 +00:00
David Heinemeier Hansson
e646786a76
Refactored cleanly
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2564 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-13 20:04:13 +00:00
Jamis Buck
634da0f010
Fix script/server to use the environment given by the -e toggle
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2552 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-13 18:13:22 +00:00