José Valim
24aba77d9c
Only load testing tasks if test unit is being used.
2010-01-29 17:51:06 +01:00
José Valim
17ea8d8d4d
Automatically configure generators if application is defined.
2010-01-29 17:51:06 +01:00
Carl Lerche
f15bbcf97e
Move the ActiveRecord generator settings into the Railtie
2010-01-28 10:45:25 -08:00
José Valim
e7418ab63c
Add more tests to some key points in Railties.
...
Signed-off-by: Carl Lerche <carllerche@mac.com>
2010-01-28 10:28:41 -08:00
José Valim
64ea3dfd9f
Add reloadable specific for engines and move environment to application paths.
...
Signed-off-by: Carl Lerche <carllerche@mac.com>
2010-01-28 10:28:41 -08:00
José Valim
d3d487479a
Add config.to_prepare back and add tests for it.
...
Signed-off-by: Carl Lerche <carllerche@mac.com>
2010-01-28 10:28:40 -08:00
José Valim
226d8e745a
Refactor MetalLoader and RoutesReloader to rely less on class configuration.
...
Signed-off-by: Carl Lerche <carllerche@mac.com>
2010-01-28 10:28:40 -08:00
Carl Lerche
252911e378
Cleanup the test_unit generator move into the railtie
2010-01-28 10:17:41 -08:00
Carl Lerche
6268fcdc30
Fix the test_framework generator tests
2010-01-28 10:03:47 -08:00
Carlhuda
c7c3eac762
Test::Unit Railtie
2010-01-28 09:55:29 -08:00
Stefan Penner
3aa1ea1ae4
Merge branch 'rails/master' into ujs
2010-01-27 22:44:56 -06:00
Jeremy Kemper
2c12a71378
Missed template change for defaults -> default
2010-01-27 19:53:46 -08:00
Erik St. Martin
2ec99192d5
renaming javascript drivers to *.rails.js for better naming convention
2010-01-27 22:32:10 -05:00
Erik St. Martin
eff999d679
initial prototype of jQuery driver complete
2010-01-27 21:35:58 -05:00
Erik St. Martin
a0232d8641
jquery driver now supports :confirm
2010-01-27 20:58:17 -05:00
Erik St. Martin
4911343bf7
jquery driver now supports :popup
2010-01-27 20:42:36 -05:00
Jeremy Kemper
f2dd3578c0
self.defaults => default
2010-01-27 17:35:51 -08:00
Stephen St. Martin
da19dfa419
support for observers in jquery driver, and minor bug fixes
2010-01-27 12:44:35 -06:00
Erik St. Martin
d13f254160
initial prototype of prototype js driver
2010-01-27 12:44:35 -06:00
Stephen St. Martin
5584d58e65
refactored to be more dry, data-update-failure now correctly works, combine compat and driver, namespaced events, and support for periodically_call_remote
2010-01-27 12:44:35 -06:00
Erik St. Martin
007db3fca8
start of prototype driver, missing observe_form, observe_field, and periodically_call_remote
2010-01-27 12:44:35 -06:00
Stephen St. Martin
ff26ca68d2
support for submit_to_remote in jquery driver
2010-01-27 12:44:34 -06:00
Stephen St. Martin
2204215b43
upgrade jquery to 1.4.1 and default request method to GET as its default on forms and links
2010-01-27 12:44:34 -06:00
Stephen St. Martin
ed09413230
refractor handler code for remote_form_tag to also handle link_to_remote, fix a bug preventing :method from being used, also add missing :position, :confirm is still not functional yet
2010-01-27 12:44:34 -06:00
Stephen St. Martin
04ad12d681
initial jquery driver and compat, right now the only supported method is form_remote_tag
2010-01-27 12:44:34 -06:00
Mikel Lindsaar
458b6a7fc9
Fixing mailer generators to use the right email address
2010-01-27 10:35:56 +11:00
José Valim
1078677575
Merge remote branch 'mikel/master'
2010-01-26 16:00:57 +01:00
José Valim
081dfca33a
Clean up Rails::Rack::Logger.
2010-01-26 15:37:45 +01:00
José Valim
edb8131535
Move Rails::Rack::Metal to Rails::Application::Metal and just add cascade if any metal was declared.
2010-01-26 15:27:46 +01:00
José Valim
517b35a2bb
Middleware stack actually runs routes and not the application.
2010-01-26 15:00:27 +01:00
José Valim
f8bf1982df
Add tests for explicit engines.
2010-01-26 14:58:00 +01:00
José Valim
e6da2f651f
Ensure app does not show up in generators.
2010-01-26 12:23:02 +01:00
José Valim
007c0bb3b0
Ensure proper class is shown on rake middleware.
2010-01-26 12:16:47 +01:00
José Valim
db99324a89
Ensure calling a method in Rails::Application does not instantiate a void application.
2010-01-26 12:16:47 +01:00
José Valim and Mikel Lindsaar
8fabcb2eca
Update generators to use new defaults.
2010-01-26 11:48:25 +01:00
Mikel Lindsaar
b8c82edc1f
Updating generators for mailer to reflect changes in API
2010-01-26 18:59:52 +11:00
José Valim
abad097016
Merge remote branch 'mikel/master'
2010-01-26 01:56:52 +01:00
José Valim and Mikel Lindsaar
1b3cb54eba
More work on generated mailer templates.
2010-01-26 01:09:08 +01:00
José Valim
5d07869245
Ensure all initializers are collections.
2010-01-26 00:08:08 +01:00
José Valim
02908e1142
As first step setup the load path and lazy compare middlewares.
2010-01-25 22:59:08 +01:00
José Valim
1177a40e68
Fix i18n locales order test.
2010-01-25 22:10:11 +01:00
Joshua Peek
2d1f9fb98f
Plugins need to load before app initializers
2010-01-25 11:06:39 -06:00
José Valim and Mikel Lindsaar
9cb3ca1d29
Change mailer generator templates and refactor the whole naming schema.
2010-01-25 13:20:32 +01:00
José Valim
3b6f659fb6
Add active_model/railtie back to generated boot.rb, add models back to paths, load active_support/railtie since we need it and ensure default logger is set before config.
2010-01-25 01:12:22 +01:00
José Valim and Mikel Lindsaar
4e96442c4e
Merge branch 'master' of git://github.com/rails/rails
...
Conflicts:
actionmailer/lib/action_mailer/mail_helper.rb
railties/lib/rails/configuration.rb
2010-01-25 09:50:01 +11:00
Rizwan Reza
396003fc48
Revamp of Rails documentation task
...
Signed-off-by: Yehuda Katz <wycats@Yehuda-Katz.local>
2010-01-24 13:16:38 -08:00
José Valim
6e57b88c60
Fix a couple failures on 1.9.1.
2010-01-24 21:21:37 +01:00
Joshua Peek
9543298d02
Use Rails::Application ref in Rakefile and console scripts.
...
Less places you need to change if you rename your application.
2010-01-24 10:35:45 -06:00
Joshua Peek
9212652155
Add Rails::Application pointer to the default app to add symmetry to Foo::Application
2010-01-24 10:29:38 -06:00
José Valim
84ebfa4550
Ensure metals and initializers in plugins are loaded.
2010-01-24 14:48:00 +01:00
José Valim
dd05b6c543
Add tests for plugin sanity check.
2010-01-24 12:49:12 +01:00
José Valim
e548f96b1d
Rename plugin_name to railtie_name and engine_name.
2010-01-24 12:23:21 +01:00
José Valim
b92608770e
Ensure environment config has higher priority than application ones.
2010-01-24 12:15:46 +01:00
José Valim
37e4deb260
Ensure helpers work from configured path.
2010-01-24 12:04:37 +01:00
José Valim
e0bdc4f446
Ensure namespaced controllers in engines work.
2010-01-24 11:06:06 +01:00
José Valim
25724c664d
Load deprecated tasks for plugins.
2010-01-24 10:03:03 +01:00
José Valim
5b26fa4875
Make plugin generator compatible with new schema.
2010-01-24 09:42:28 +01:00
José Valim
2fde9d774b
Solve some pendencies.
2010-01-24 09:32:54 +01:00
José Valim
d3c40242a5
Move console stuff to its own directory.
2010-01-23 23:02:43 +01:00
José Valim
f915f9e339
Merge branch 'master' into app
...
Conflicts:
railties/lib/rails/application.rb
2010-01-23 22:53:26 +01:00
José Valim
b17e358e3d
Move configuration to subfolders.
2010-01-23 22:30:17 +01:00
José Valim
788fce2550
Create configurable modules and ensure that they are added only on direct children.
2010-01-23 18:41:53 +01:00
José Valim
2b75b94ac0
Plugin is now an Engine.
2010-01-23 17:51:48 +01:00
José Valim
924fa084e8
First steps into making Plugin < Engine.
2010-01-23 17:13:25 +01:00
José Valim
13d66cdf25
Extract Railtie load from application.
2010-01-23 16:59:37 +01:00
José Valim
4f03603215
Break application.rb file in smaller chunks.
2010-01-23 16:07:20 +01:00
José Valim
80130d1201
Extract routes reloading responsibilities from application and load them just upon a request.
2010-01-23 16:06:33 +01:00
Mikel Lindsaar
1ea84c38ea
Merge branch 'master' of git://github.com/rails/rails
2010-01-23 19:45:25 +11:00
José Valim
4eab3aad8d
Ensure user set load paths have higher preference and move Bootstrap inside Application.
2010-01-23 02:03:11 +01:00
José Valim
98240c49b0
Get rid of initializers global and create i18n railtie.
2010-01-23 01:29:29 +01:00
Joshua Peek
2db14457f4
Delegate App calls to instance
2010-01-22 13:56:10 -06:00
José Valim
c8cc8a9872
Moved more configuration away from bootstrap.
2010-01-22 20:44:38 +01:00
José Valim
4ae7936727
Got tests working once again.
2010-01-22 16:24:44 +01:00
Joshua Peek
c52820ae15
Use expand_path to require environment in metal template
2010-01-22 08:34:12 -06:00
Joshua Peek
284fd2568d
Include cascade header in metal template
2010-01-22 08:31:41 -06:00
Joshua Peek
658f9e7e44
lib is already included w/ rake test task
2010-01-22 08:29:42 -06:00
Joshua Peek
5bf5688f51
Remove rdoc task from generated plugin Rakefile
2010-01-22 08:29:07 -06:00
Joshua Peek
259f3846a9
Template whitespace
2010-01-22 08:27:05 -06:00
Mikel Lindsaar
6fd7d1fc12
Fixing typo in config.frameworks error
2010-01-22 19:38:50 +11:00
José Valim and Mikel Lindsaar
8a6a2ca712
Merge branch 'master' of git://github.com/rails/rails
2010-01-22 13:37:29 +11:00
José Valim and Mikel Lindsaar
c9dc1ac95b
Updating functional tests to not compare equality with encoded, Mail::Message has an == operator
2010-01-22 13:32:16 +11:00
José Valim
02c5137ead
Add view paths to Engine setup.
2010-01-22 01:10:31 +01:00
José Valim
7fcf8590e7
Massive cleanup in Railties and load stack.
2010-01-21 23:14:20 +01:00
José Valim
fc4f237864
Make filter parameters based on request, so they can be modified for anything in the middleware stack.
2010-01-21 16:52:49 +01:00
José Valim
04063393f9
Give higher priority to rails generators.
2010-01-21 14:11:24 +01:00
José Valim
378464a2e4
Default to sync instrumentation.
2010-01-21 13:09:12 +01:00
José Valim
48dc1ae309
Don't let generators die if rubygems puts crap in your load path.
2010-01-21 12:10:39 +01:00
José Valim
31fddf2ace
Tidy up new filter_parameters implementation.
2010-01-21 11:57:24 +01:00
Prem Sichanugrist
b1bc3b3cd3
Add deprecation warning for calling filter_parameter_logging ActionController::Base, and allow it to be configured in config.filter_parameters
...
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-01-21 11:41:31 +01:00
Santiago Pastorino
d1ffc54c06
fixes the failure of config.plugins without :all option tests [ #3718 status:resolved]
...
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-01-20 15:02:13 +01:00
Joshua Peek
a5d06d05fb
Cleanup middleware introspection output
2010-01-19 22:56:37 -06:00
José Valim
d2759d125a
Avoid load tasks from plugins recursively (so stuff in tests or vendor does not get loaded).
2010-01-19 20:07:50 +01:00
José Valim
4ca9765088
Allow railties to specify generators paths.
2010-01-19 19:59:08 +01:00
José Valim
e8e8da5c85
Logging thread should not die on logging errors.
2010-01-19 16:13:27 +01:00
José Valim
c7255386cd
script/generate mailer Notifier
will now create a mailer at app/mailers.
2010-01-19 01:36:06 +01:00
José Valim
93d64dfefc
Improve script/generate help.
2010-01-19 01:36:06 +01:00
José Valim
e1029be1eb
Since Rails will require Ruby >= 1.8.7, we can rely on instance_exec.
2010-01-19 01:36:06 +01:00
Joshua Peek
f2693cda44
Install plugin view paths into AM view load path
2010-01-18 16:48:04 -06:00
Joshua Peek
59cd044310
Add all folders in app/* to the load path
2010-01-18 15:37:58 -06:00
José Valim
728db5a932
Rake tasks should load generators from new paths.
2010-01-18 18:22:55 +01:00
Joshua Peek
68b76a38eb
Cleanup deprecation notices.
2010-01-18 09:49:38 -06:00
José Valim
a2b76d1dde
Improve generators help.
2010-01-18 16:21:11 +01:00
José Valim
61f77b1dcd
More cleaning up on rails generators load path.
2010-01-18 16:21:11 +01:00
José Valim
9fffdc5cdb
Generators load path now will be Ruby load path. If you want to use rspec:install generator, you need generators/rspec/install_generator in your load path.
2010-01-18 16:21:11 +01:00
José Valim
e75ea47434
Automatically remove :generators: from namespaces.
2010-01-18 16:21:10 +01:00
José Valim
a2e2e73c5e
Ensure generators can be invoked by their shortcut and remove attr_reader tasks.
2010-01-18 16:21:10 +01:00
Rizwan Reza
a0dc6cc70b
Fix RAILS_ROOT deprecation on guides generation. [ #3710 status:resolved]
...
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-01-17 16:28:31 +01:00
José Valim
58136e1bd3
Plugin generator should use templates.
2010-01-17 15:17:50 +01:00
Rizwan Reza
e3898bda9c
Take --skip-activerecord into account boot.rb requires. [ #3711 status:resolved]
...
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-01-17 14:55:11 +01:00
Rizwan Reza
cf109342a7
Fixes rake:template task [ #3714 status:resolved]
...
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-01-17 14:54:49 +01:00
José Valim
020e656447
Move middleware builder back to Rails::Rack::Metal without losing the new behavior.
2010-01-17 13:23:38 +01:00
José Valim
27d9836ad3
Add ActionDispatch::Railties::Subscriber and finish tidying up the logging.
2010-01-17 12:43:17 +01:00
José Valim
61ada28ed3
Get rid of prepare_each_request, since now it's a middleware initialization parameter.
2010-01-17 11:44:04 +01:00
José Valim
8f5e733998
Add notifications to default middleware stack and update subscriber tests.
2010-01-17 11:35:48 +01:00
Joshua Peek
eb39d0f7b9
Use backtrace cleaner for dev mode exception page
2010-01-16 21:34:35 -06:00
Joshua Peek
d2d4acf027
Cookies middleware
2010-01-16 17:22:27 -06:00
Joshua Peek
603d4fbacd
Build middleware stack and reload routes after app initializers run
...
[#3709 state:resolved]
2010-01-16 16:15:32 -06:00
Sam Granieri
488b4c8c5c
Make script/dbconsole work again [ #3690 state:resolved]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
2010-01-16 20:55:22 +05:30
Joshua Peek
ead93c5be5
Move Flash into middleware
2010-01-15 14:55:13 -06:00
Joshua Peek
3eaf525213
Make HEAD method masquerade as GET so requests are routed correctly
2010-01-15 12:38:50 -06:00
José Valim
5252f5c1c9
Bundle automatically if --dev or --edge is given as option.
2010-01-15 13:39:56 +01:00
José Valim
6487d2871c
Fix an issue where log was not being tailed in the first request.
2010-01-15 12:24:31 +01:00
José Valim
b0994be5bd
LogTailer should be invoked after all logs in threads were flushed.
2010-01-15 12:24:31 +01:00
José Valim
b4019d5080
Rails::Subscriber is now responsible for flushing all loggers it's responsible for.
2010-01-15 12:24:31 +01:00
José Valim
8c8942ed4f
Move Dispatcher setup to Railties and add instrumentation hook.
2010-01-15 12:24:30 +01:00
José Valim
9038a4af35
Add documentation to f.submit and make scaffold generators use the new shortcut.
2010-01-14 02:02:07 +01:00
José Valim
da5978c223
Add subscriber for ActionPack and move all logging inside it.
2010-01-13 01:19:23 +01:00
José Valim
743cafb7f4
Create Rails::Subscriber::TestHelper and use it to make ActiveRecord subscriber tests run in both sync and async scenarios.
2010-01-13 01:19:23 +01:00
José Valim
fe3ceabeed
Set up subscriber on initialization.
2010-01-13 01:19:23 +01:00
José Valim
1a275730b2
Set deprecation warnings for RAILS_ENV and RAILS_DEFAULT_LOGGER.
2010-01-13 01:19:22 +01:00
José Valim
9dd4c79d61
Allow to add subscribers through Railtie.
2010-01-13 01:19:22 +01:00
José Valim
1e12dc04cb
Stub initial Rails::Subscriber implementation.
2010-01-13 01:19:22 +01:00
José Valim
5f34bd61b0
As the other constants, RAILS_DEFAULT_LOGGER no more.
2010-01-13 01:19:22 +01:00
José Valim
c4e3344a26
Revert "Add a generator_paths config option"
...
This reverts commit 8665c754cb61c947cd55f8886c28188050aed78d.
2010-01-13 01:19:22 +01:00
José Valim
a5c45e69d9
Remove old bundler version from vendor.
2010-01-13 01:19:22 +01:00
David Heinemeier Hansson
8cb594a2e1
Get everyone running on Rails.env and fix the broken environment settings for script/console and script/dbconsole
2010-01-11 14:01:28 -08:00
Joshua Peek
02bbde4e78
Cleanup junk metal and revise API
...
API Change: Returning a "X-Cascade: pass" header triggers the cascade
instead of a 404 response.
2010-01-10 23:09:10 -06:00
David Heinemeier Hansson
d2c4a93c69
Have to remove the environment name from ARGV or IRB will freak out
2010-01-09 09:52:16 -08:00
Yehuda Katz
8665c754cb
Add a generator_paths config option
2010-01-09 11:04:06 -06:00
José Valim
3022ce4f72
No more hacks to ensure generators are executed inside Rails.root.
2010-01-07 21:24:50 +01:00
José Valim
ccc9f0b7de
Ensure application names are not singularized.
2010-01-07 21:09:32 +01:00
Joshua Peek
8fe66f1af0
Run railtie and plugin initializers before app specific ones
2010-01-07 14:01:34 -06:00
José Valim
19e7c524d2
Ensure config/application.rb also uses app_const instead of app_name.classify.
2010-01-07 20:59:26 +01:00
Jeffrey Hardy
2dcc53bdbc
Remove stray semicolon from cookie_verification_secret initialzer template
2010-01-07 11:51:54 -05:00
Jeffrey Hardy
f8352ec255
Align assignments in the session_store initializer template
2010-01-07 11:46:55 -05:00
Jeffrey Hardy
8a41b710f6
Fix spacing on frameworks error message
2010-01-06 13:37:11 -05:00
Joshua Peek
88fd569ba0
Remove config.gem deprecation stub since its not "deprecated" but
...
completely removed.
This makes feature detection easier with config.respond_to?(:gem)
2010-01-06 11:33:04 -06:00
Joshua Peek
bbe80ae652
config.plugins should still work with an array of strings
2010-01-05 23:37:40 -06:00
Dan Croak
38f669766c
Rails layouts, error pages, and public/index now use HTML5.
...
The specification allows the character encoding meta tag to be removed
if character encoding is set at the transport level (Content-Type),
which Rails is doing.
http://dev.w3.org/html5/html4-differences/#character-encoding
Signed-off-by: Joshua Peek <josh@joshpeek.com>
2010-01-05 10:13:29 -06:00
Joshua Peek
3f28e0bda6
Trash string coercion rack hacks
2010-01-04 19:46:21 -06:00
Joshua Peek
76b5f18feb
Default middleware stack needs to be available at configuration time
2010-01-04 19:40:16 -06:00
Jeremy Kemper
6591a10b1f
Reinstate explicit active_support/test_case require since console_app interacts with a non-autoloaded constant
2010-01-04 17:00:47 -08:00
Carlhuda
952e449fc0
Fix --dev option
2010-01-04 16:32:43 -08:00
Joshua Peek
17f053931e
use_instantiated_fixtures and use_transactional_fixtures defaults are set in active_record/fixtures
2010-01-04 17:23:36 -06:00
Joshua Peek
508ffccfe7
rack and rack-test are pulled in by AD
2010-01-04 16:55:27 -06:00
Joshua Peek
e5ed62deea
Autoload AR test case
2010-01-04 16:50:01 -06:00
Joshua Peek
640d9e7e32
Autoload AMo test case
2010-01-04 16:29:07 -06:00
Joshua Peek
2601a16ede
Autoload AS test case
2010-01-04 16:22:46 -06:00
Joshua Peek
ce56c36cd3
Autoload AM test case class
2010-01-04 16:22:46 -06:00
Joshua Peek
cf83a6f16b
Autoload AC and AV test case classes
2010-01-04 16:22:46 -06:00
David Heinemeier Hansson
5e94d3e3ea
Merge
2010-01-03 22:27:28 -08:00
David Heinemeier Hansson
d7d917335e
Stop featuring ActiveSupport::TestCase.use_instantiated_fixtures and ActiveSupport::TestCase.use_transactional_fixtures as likely-to-change settings in test/test_helper.rb -- they are not and their values are already set in test_help.rb [DHH]
2010-01-03 19:55:21 -08:00
David Heinemeier Hansson
437df4a8d3
Describe intent, not implementation
2010-01-03 19:46:10 -08:00
David Heinemeier Hansson
0ad07d9c26
Removed config/initializers/new_rails_defaults.rb as all frameworks now follow the settings from it [DHH]
2010-01-03 19:32:48 -08:00
David Heinemeier Hansson
6042067c0b
Changed the default ActiveSupport.use_standard_json_time_format from false to true and
...
ActiveSupport.escape_html_entities_in_json from true to false to match previously announced Rails 3 defaults [DHH]
2010-01-03 19:20:43 -08:00
David Heinemeier Hansson
0422314b29
Time zoning should be turned on by default with UTC
2010-01-03 21:55:48 -05:00
David Heinemeier Hansson
51460b5bf2
This comment has been true of all helpers for a long time
2010-01-03 21:34:19 -05:00
David Heinemeier Hansson
950e6bb491
Remove self-evident comment about how subclasses work
2010-01-03 21:32:40 -05:00
David Heinemeier Hansson
090d12b49b
Added that ActionController::Base now does helper :all instead of relying on the default ApplicationController in Rails to do it [DHH]
2010-01-03 21:32:02 -05:00
José Valim
271e7c803f
Move all generators tests to use new test case syntax.
2010-01-03 17:14:50 +01:00
José Valim
441227a10f
Create Rails::Generators::TestCase.
2010-01-03 17:14:49 +01:00
José Valim
e88ea3255f
Assert for valid application names. [ #3556 status:resolved]
2010-01-03 17:14:49 +01:00
José Valim
6716e4bc0c
Use regexp in lookups instead of traversing namespaces. This removes the need of special cases.
2010-01-03 17:14:48 +01:00
Yehuda Katz
106d8f7688
AppName::Application.root should work
2010-01-02 22:49:40 -08:00
Yehuda Katz
f1cd3a98f3
Doc fix
2010-01-02 22:46:09 -08:00
Steve Agalloco
c3d19eb950
app_generator option should be skip_activerecord not no_activerecord
...
(Thor actually accepts both, the patch was applied to improve readability)
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-01-03 00:47:01 +01:00
José Valim
4c5b5024c3
Rails notifications are set through Railtie in each framework.
2010-01-02 22:27:03 +01:00
José Valim
fd719d7ecf
Update vendored Thor.
2010-01-02 22:27:03 +01:00
Carl Lerche
ae7ada1fde
Some railties cleanup:
...
* Rename <framework>/rails.rb -> <framework>/railtie.rb
* Rails::Plugin -> Rails::Railtie
* Rails::Plugin::Vendored -> Rails::Plugin
2009-12-31 13:12:52 -08:00
Carl Lerche
e749424dfa
Rename rails.rb -> rails/all.rb and rails/core.rb -> rails.rb
2009-12-31 13:12:52 -08:00
Carl Lerche
2f8643955a
Raise a helpful error if config.frameworks is used
2009-12-31 11:57:59 -08:00
Carl Lerche
a23f4b6aee
Add a /rails.rb for each framework for consistency
2009-12-31 11:57:59 -08:00
Carl Lerche
1e41097294
Fully remove config.frameworks in favor of requires in boot.rb
2009-12-31 11:57:59 -08:00
David Heinemeier Hansson
ea41a757aa
Dont gitkeep things that are gitignored
2009-12-31 11:09:10 -05:00
David Heinemeier Hansson
96c27e4003
Merge branch 'master' of github.com:rails/rails
2009-12-31 01:15:30 -05:00
David Heinemeier Hansson
5d8342cc32
Added .gitkeep to empty directories and --skip-git to skip gitignore/gitkeep files
2009-12-31 01:14:23 -05:00
David Heinemeier Hansson
5eb3ceca01
Orphan experiment no longer needed
2009-12-30 22:55:52 -05:00
Jeremy Kemper
1fbd02e446
Revert "Add config.action_controller.include behavior to plugins."
...
This reverts commit 7e8b7f46bfc086a36db996420fbee93348c5268e.
Conflicts:
railties/lib/rails/plugin.rb
2009-12-30 19:34:15 -08:00
Jeremy Kemper
d349b22097
Remove self-require
2009-12-30 19:00:12 -08:00
Jeremy Kemper
79550e8995
Revert "Add default respond_to formats to ApplicationController."
...
(Needs consensus that these are appropriate defaults.)
This reverts commit 66604b2e0e8d3aba25cab673c7a3d7831a68490c.
2009-12-29 19:11:00 -08:00
Carl Lerche
e5c88434db
Use the correct method for eager loading autoloads
2009-12-29 19:04:37 -08:00
Jeremy Kemper
485d244eae
Merge branch 'master' of github.com:rails/rails
2009-12-29 15:38:17 -08:00
José Valim
1a4d909c68
Add rails app --edge and rails app --dev
2009-12-29 23:58:34 +01:00
José Valim
66604b2e0e
Add default respond_to formats to ApplicationController.
2009-12-29 23:58:25 +01:00
Sam Pohlenz
468bdb3ed8
Make plugins responsible for loading their own rake tasks
...
Signed-off-by: Carl Lerche <carllerche@mac.com>
2009-12-29 14:47:48 -08:00
Sam Pohlenz
cbce027669
Application object should instantiate non-vendored plugins
...
Signed-off-by: Carl Lerche <carllerche@mac.com>
2009-12-29 14:45:43 -08:00
Carl Lerche
3cb7e04763
Finally remove rails/initializer.rb
2009-12-29 13:20:10 -08:00
Carl Lerche
aa1b32ae97
Check to see if the plugin object responds to load_tasks (vendor/plugin/* does not yet) Fixes Sam Ruby's tests.
2009-12-29 10:49:12 -08:00
Carl Lerche
4ee70643b3
Don't require initializer.rb in core.rb
2009-12-28 18:26:15 -08:00
Carl Lerche
49c800b6bd
Move the ActiveRecord related rake tasks into the AR gem.
2009-12-28 17:53:05 -08:00