David Heinemeier Hansson
|
4d2b297158
|
A few more fixes
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6749 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-17 20:23:38 +00:00 |
|
David Heinemeier Hansson
|
40486288ef
|
Updated with the latest tricks
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6747 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-16 01:31:32 +00:00 |
|
David Heinemeier Hansson
|
056fdc74d5
|
Scaffold resource is now scaffold
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6746 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-16 01:24:25 +00:00 |
|
David Heinemeier Hansson
|
4f2a950ce2
|
Make way for the new and improved scaffold
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6745 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-16 01:23:34 +00:00 |
|
Jeremy Kemper
|
c7befb896e
|
Generators use *.html.erb view template naming. Closes #8278.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6690 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-06 10:34:18 +00:00 |
|
David Heinemeier Hansson
|
4cbbebb1c3
|
Added short-hand declaration style to migrations (inspiration from Sexy Migrations, http://errtheblog.com/post/2381) [DHH] Updated resource_scaffold and model generators to use short-hand style migrations [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6667 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-06 01:48:19 +00:00 |
|
David Heinemeier Hansson
|
0dc7038309
|
You're dead! We killed you!
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6632 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-04-29 14:16:19 +00:00 |
|
David Heinemeier Hansson
|
6ffa68e9eb
|
Include sub-resources example
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6631 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-04-29 14:05:34 +00:00 |
|
Nicholas Seckar
|
4ef9ad8653
|
Updated initializer to only load #{RAILS_ENV}.rb once. Added deprecation warning for config.breakpoint_server.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6627 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-04-29 07:35:22 +00:00 |
|
David Heinemeier Hansson
|
1162c29e30
|
Start in irb mode if possible
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6623 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-04-29 01:35:33 +00:00 |
|
David Heinemeier Hansson
|
70ac560e42
|
Removed breakpointer and Binding.of_caller in favor of relying on ruby-debug by Kent Sibilev since the breakpointer has been broken since Ruby 1.8.4 and will not be coming back [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6611 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-04-28 15:57:29 +00:00 |
|
Jeremy Kemper
|
baba45d689
|
Resource scaffolding returns the created entity.to_xml.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6580 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-04-25 22:08:07 +00:00 |
|
Jeremy Kemper
|
9ff19d89b9
|
Resource scaffolding responds to new.xml. Closes #8185.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6579 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-04-25 21:10:27 +00:00 |
|
David Heinemeier Hansson
|
54bc5ca8d9
|
Include default route for formats
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6576 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-04-24 22:25:41 +00:00 |
|
David Heinemeier Hansson
|
3022a44bce
|
Don't require AWS test_invoke in railties test helper [blaine]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6575 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-04-24 22:19:31 +00:00 |
|
David Heinemeier Hansson
|
b445a74c5e
|
Removed default WSDL route now that AWS is debundled from Rails
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6573 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-04-24 18:09:56 +00:00 |
|
Thomas Fuchs
|
fe218684d5
|
Include Active Resource in rails:freeze:edge rake task
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6567 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-04-24 09:15:20 +00:00 |
|
David Heinemeier Hansson
|
aa6b4d175b
|
It is activeresource, silly
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6552 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-04-23 19:58:35 +00:00 |
|
David Heinemeier Hansson
|
df41c7cb61
|
Include Active Resource instead of Action Web Service [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6550 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-04-23 18:55:54 +00:00 |
|
David Heinemeier Hansson
|
635c7f43dd
|
Run with the latest versions so beta gems will work
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6548 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-04-21 17:06:16 +00:00 |
|
Tobias Lütke
|
7722e2bf6c
|
Introduce RELATIVE_RAILS_ROOT and changed spawner script to use it. Prior to this change spawner would assume the non symlinked deploy directory which made reaper reload the wrong code after further deployments.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6531 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-04-16 21:55:59 +00:00 |
|
Jeremy Kemper
|
d699084f7a
|
script/console quotes RAILS_ROOT in irb command line so it works with spaces in the path. Closes #7955.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6512 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-04-09 17:34:24 +00:00 |
|
Jeremy Kemper
|
29d63a04ac
|
Canonicalize configuration.root_path and replace RAILS_ROOT.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6488 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-03-29 05:44:44 +00:00 |
|
Rick Olson
|
2a305949d7
|
documentation project patches, closes #7342, #7319, #7316, #7190 [jeremymcanally]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6470 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-03-27 14:04:06 +00:00 |
|
Jeremy Kemper
|
2632664f64
|
Deprecation: remove components from controller paths. Canonicalize RAILS_ROOT by using File.expand_path on Windows, which doesn't have to worry about symlinks, and Pathname#realpath elsewhere, which respects symlinks in relative paths but is incompatible with Windows. Closes #6755.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6445 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-03-18 13:35:16 +00:00 |
|
Nicholas Seckar
|
8a9496cb4e
|
Add environment variable RAILS_DEFAULT_DATABASE, which allows the builtin default of 'mysql' to be overridden.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6429 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-03-14 23:45:17 +00:00 |
|
Jeremy Kemper
|
8dfe5b78fa
|
Windows: include MinGW in RUBY_PLATFORM check. Closes #2982.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6344 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-03-06 09:22:07 +00:00 |
|
Jeremy Kemper
|
28628858be
|
Upgrade rake dependency from 0.7.1 to 0.7.2 to pull in its Ruby 1.8.6 compatibility fixes.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6329 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-03-04 23:37:17 +00:00 |
|
Jeremy Kemper
|
f1e08b351d
|
Improve dispatcher failsafe responses. Beef up compatibility with Mongrel's CGI wrapper.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6307 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-03-04 12:31:21 +00:00 |
|
Marcel Molina
|
a7b90b7cdd
|
Move plugin classes into the rails directory to match their namespace
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6293 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-03-03 04:50:56 +00:00 |
|
Marcel Molina
|
9f53e09eb9
|
Move responsibility for ensuring that all registered gems were loaded from the FileSystemLocator into the Initializer once all locators have had a chance to load the gems they located. [Marcel Molina Jr.]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6292 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-03-03 02:53:06 +00:00 |
|
Marcel Molina
|
3d2c232d21
|
Use to_sentence rather than inspect when reporting which registered plugins are missing
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6291 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-03-02 23:45:52 +00:00 |
|
Marcel Molina
|
15c466dd72
|
Split out the basic plugin locator functionality into an abstract super class. Add a FileSystemLocator to do the job of checking the plugin_paths for plugins. Add plugin_locators configuration option which will iterate over the set of plugin locators and load each of the plugin loaders they return. Rename locater everywhere to locator. [Marcel Molina Jr.]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6290 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-03-02 23:39:29 +00:00 |
|
Marcel Molina
|
b0e1430c52
|
Split plugin location and loading out of the initializer and into a new Plugin namespace, which includes Plugin::Locater and Plugin::Loader. The loader class that is used can be customized using the config.plugin_loader option. Those monkey patching the plugin loading subsystem take note, the internals changing here will likely break your modifications. The good news is that it should be substantially easier to hook into the plugin locating and loading process now. [Marcel Molina Jr.]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6277 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-03-02 00:20:32 +00:00 |
|
Jeremy Kemper
|
36cf67e8e5
|
Dispatcher test requires abstract_unit. Cleanup abstract_unit.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6276 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-03-01 23:29:56 +00:00 |
|
Rick Olson
|
88876163f9
|
boot.rb sets RAILS_ROOT, so remove that. Install http plugins inside a Dir.chdir block so that the cwd doesn't change
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6248 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-02-27 03:15:44 +00:00 |
|
Rick Olson
|
81ae38580b
|
set the RAILS_ROOT for script/plugin if it's not set already
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6247 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-02-27 02:59:28 +00:00 |
|
David Heinemeier Hansson
|
34f1413b48
|
Added assumption that all plugin creators desire to be sharing individuals and release their work under the MIT license [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6244 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-02-27 01:23:43 +00:00 |
|
David Heinemeier Hansson
|
ee2b5dda80
|
Added source-annotations extractor tasks to rake [Jamis Buck]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6229 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-02-25 19:40:37 +00:00 |
|
David Heinemeier Hansson
|
23e24c5996
|
Setting fixtures automatically for integration tests is a bit harder -- will have to wait until the test superclass reform is implemented
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6228 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-02-25 19:27:56 +00:00 |
|
David Heinemeier Hansson
|
87b7b5b3e7
|
Added fixtures :all to test_helper.rb to assume that most people just want all their fixtures loaded all the time [DHH] Added fixtures :all as a way of loading all fixtures in the fixture directory at once (closes #7214) [manfred]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6227 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-02-25 17:31:43 +00:00 |
|
Rick Olson
|
ad9bacb189
|
fix app generator
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6224 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-02-24 22:36:52 +00:00 |
|
David Heinemeier Hansson
|
08a533645e
|
Make it a default assumption that you want all helpers, all the time (yeah, yeah)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6222 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-02-24 20:33:47 +00:00 |
|
David Heinemeier Hansson
|
351eea1fcd
|
No s on config
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6214 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-02-23 01:10:25 +00:00 |
|
David Heinemeier Hansson
|
7bf757d8b8
|
Include two default initializers as examples
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6213 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-02-23 00:53:22 +00:00 |
|
David Heinemeier Hansson
|
c6d6082562
|
Added config/initializers where all ruby files within it are automatically loaded after the Rails configuration is done, so you don't have to litter the environment.rb file with a ton of mixed stuff [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6212 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-02-23 00:32:27 +00:00 |
|
David Heinemeier Hansson
|
b50a05cac3
|
Move session settings closer together
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6211 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-02-23 00:09:22 +00:00 |
|
Jeremy Kemper
|
223509ba7d
|
Oops, don't omit the session_key since it's used as the cookie name.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6199 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-02-22 01:07:51 +00:00 |
|
Jeremy Kemper
|
5a1251dc2d
|
Session configuration in config/environment.rb instead of app/controllers/application.rb
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6198 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-02-22 00:57:02 +00:00 |
|
Jeremy Kemper
|
45dd256889
|
Missed commit for [6184]. Generate a random secret for new app's cookie session store.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6197 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-02-21 23:13:32 +00:00 |
|