David Heinemeier Hansson
|
4d9cda5732
|
Renamed AbstractApplicationController and abstract_application.rb to ApplicationController and application.rb, so that it will be possible for the framework to automatically pick up on app/views/layouts/application.rhtml and app/helpers/application.rb
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@159 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-15 11:30:09 +00:00 |
|
David Heinemeier Hansson
|
a02a96226e
|
Brought unit tests up to date
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@158 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-15 11:25:35 +00:00 |
|
David Heinemeier Hansson
|
647c5e0565
|
fixtures :models will now also attempt to include the model.rb file
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@154 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-14 18:02:11 +00:00 |
|
David Heinemeier Hansson
|
e5a8d8ebbb
|
This patch allows urls to be of the form :module/:controller/:action as well as :controller/:action/:id where :id is no entirely numeric by determining if what would be :module corresponds to a directory in app/controllers. If it does not then the :controller/:action/:id scheme is used.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@150 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-14 12:58:25 +00:00 |
|
David Heinemeier Hansson
|
317f13c2a8
|
Cut dependency on dev-utils by using included breakpoint lib
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@148 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-13 23:47:27 +00:00 |
|
David Heinemeier Hansson
|
0dfe122bb4
|
Slightly less overzealous testing
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@147 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-13 23:47:01 +00:00 |
|
David Heinemeier Hansson
|
458c5485a1
|
Improved the quality of the breakpointing -- especially under FCGI
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@146 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-13 23:38:08 +00:00 |
|
David Heinemeier Hansson
|
1f9243c13e
|
Cleaner deactivation of the breakpoint server
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@138 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-12 20:49:20 +00:00 |
|
David Heinemeier Hansson
|
65a9011ea3
|
Fixed a pattern for module loading
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@137 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-12 20:37:43 +00:00 |
|
David Heinemeier Hansson
|
8eec674148
|
Breakpointing that works much better with CGI and FCGI
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@136 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-12 20:29:52 +00:00 |
|
David Heinemeier Hansson
|
54dabd05e6
|
Added collusion handling for FCGI
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@134 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-12 18:51:26 +00:00 |
|
David Heinemeier Hansson
|
fdc4d1bd79
|
Added confirmations on successfull connections and resumations
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@133 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-12 18:22:12 +00:00 |
|
David Heinemeier Hansson
|
e1ee02207c
|
Reload the cached column information between requests when the ActionController is set to reloading dependencies
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@131 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-12 17:53:42 +00:00 |
|
David Heinemeier Hansson
|
c33126e07c
|
Added pattern for specific actions in a modularized controller
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@129 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-12 17:23:20 +00:00 |
|
David Heinemeier Hansson
|
eb952e1e94
|
Only start the breakpoint server when included by dispatchers
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@128 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-12 17:22:35 +00:00 |
|
David Heinemeier Hansson
|
6863601335
|
Turn off ACL for localhost
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@126 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-12 16:47:37 +00:00 |
|
David Heinemeier Hansson
|
8e1f1ee442
|
Moved require_association to associations.rb and added methods for resetting the inheritable attributes on subclasses
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@125 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-12 16:14:20 +00:00 |
|
David Heinemeier Hansson
|
b141bdbb32
|
Display error messages on scaffolded form pages
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@124 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-12 14:14:37 +00:00 |
|
David Heinemeier Hansson
|
204100d772
|
Superseeded by rails_generator.rb
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@122 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-12 13:44:17 +00:00 |
|
David Heinemeier Hansson
|
870632dba3
|
Remember to include the right breakpoint for the docs
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@120 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-12 12:57:08 +00:00 |
|
David Heinemeier Hansson
|
cfe665790e
|
Differentiate breakpointing on gem or not in an attempt to fix looping problems
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@119 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-12 12:53:14 +00:00 |
|
David Heinemeier Hansson
|
912a567252
|
No longer needed to explicitly pass the session defaults as the error screen was removed
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@118 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-12 12:52:40 +00:00 |
|
David Heinemeier Hansson
|
9fe6d61b84
|
Fix breakpointing by differenciating between gem and not
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@112 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-10 18:38:27 +00:00 |
|
David Heinemeier Hansson
|
5ae593f10b
|
Mailer generator should create passing tests
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@111 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-10 18:38:02 +00:00 |
|
David Heinemeier Hansson
|
bf33b6ccae
|
Fixed a few issues for the breakpointing
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@104 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-09 23:04:37 +00:00 |
|
David Heinemeier Hansson
|
bf0e37b3cf
|
Added preliminary remote breakpoint support
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@102 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-09 17:20:00 +00:00 |
|
David Heinemeier Hansson
|
3236e15cb7
|
Updated the usage documentation for the generator actions for their new home
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@101 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-09 15:54:22 +00:00 |
|
David Heinemeier Hansson
|
4e1eaa289b
|
Only nuke the AbstractApplicationController if its available
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@79 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-08 10:41:14 +00:00 |
|
David Heinemeier Hansson
|
7a29764657
|
Forgot another small change with the new generators
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@74 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-07 21:02:34 +00:00 |
|
David Heinemeier Hansson
|
5f28a62338
|
Forgot a small change with the new generators
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@73 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-07 20:57:15 +00:00 |
|
David Heinemeier Hansson
|
e7444da160
|
New error checking removes the necessity for giving a specific error page along to the dispatcher
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@71 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-07 15:35:40 +00:00 |
|
David Heinemeier Hansson
|
a6f718cfa0
|
Make the dispatch.rb behave after being run by the WEBrick dispatcher
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@64 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-07 12:03:57 +00:00 |
|
David Heinemeier Hansson
|
2594581e9f
|
Added a better generator for scaffolding that actually creates the code, so it can be edited bit by bit. See "script/generate scaffold" [bitsweat]. Added a whole new approach to generators that used the shared "script/generate" command. Run with no-args to see help [bitsweat].
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@63 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-07 11:49:38 +00:00 |
|
David Heinemeier Hansson
|
0ffb6c1625
|
Syntax errors and other exceptions thrown outside of an action are now gracefully handled by the dispatcher
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@51 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-06 18:25:01 +00:00 |
|
David Heinemeier Hansson
|
ed14042fea
|
Cleaned it up
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@50 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-06 18:19:56 +00:00 |
|
David Heinemeier Hansson
|
456076a306
|
Added an easier way of starting a IRB session on the environment
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@49 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-06 18:19:24 +00:00 |
|
David Heinemeier Hansson
|
0366e6a614
|
Added an easier way of starting a IRB session on the environment
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@48 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-06 18:18:29 +00:00 |
|
David Heinemeier Hansson
|
d4d981d707
|
Added a real reference to the irc channel, and updated the name of the network to the right name in the Rails docs [imajes]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@37 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-01 12:10:02 +00:00 |
|
David Heinemeier Hansson
|
9200dad7c9
|
script/new_controller should create directory for views even when no actions are specified [bitsweat]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@36 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-01 12:07:07 +00:00 |
|
David Heinemeier Hansson
|
d82f73ecab
|
Abolished ActionController::Base.require_or_load in favor of require_dependency and ActiveRecord::Base.require_or_load in favor of require_association. Both methods are now also available in the global namespace when you need to require dependencies or associations outside of whats done automatically.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@32 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-11-30 18:52:20 +00:00 |
|
David Heinemeier Hansson
|
5b38d85571
|
AbstractApplicationController and the individual controllers are now completely reloaded on each request if "reload_dependencies" is set to true. This makes it possible to REMOVE methods and constants and have the changes reflected. Beaware that this is still not possible for models, though.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@31 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-11-30 17:19:01 +00:00 |
|
David Heinemeier Hansson
|
7ed0894c37
|
Put establish_connection back in...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@14 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-11-25 22:34:24 +00:00 |
|
David Heinemeier Hansson
|
55f2fcff1d
|
Fixed bad chars in public/.htaccess [imajes]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@13 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-11-25 22:07:29 +00:00 |
|
David Heinemeier Hansson
|
14b80d0f1d
|
Cleaned up the Rakefile
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@10 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-11-25 16:27:59 +00:00 |
|
David Heinemeier Hansson
|
9e41445360
|
Consolidated and better commented the environment files
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-11-25 16:22:07 +00:00 |
|
David Heinemeier Hansson
|
a09824cfcc
|
Dump development database, not test database
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-11-25 15:53:30 +00:00 |
|
David Heinemeier Hansson
|
db045dbbf6
|
Initial
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-11-24 01:04:44 +00:00 |
|