José Valim
6788db824a
Move Rails::LogSubscriber to ActiveSupport::LogSubscriber, allowing frameworks like ActiveRecord and ActiveResource to log outsude Rails::Application [ #4816 state:resolved]
2010-06-24 13:23:43 +02:00
Xavier Noria
f17159b029
edit pass: the names of Rails components have a space, ie, "Active Record", not "ActiveRecord"
2010-06-14 23:22:04 +02:00
José Valim
351816fab6
Ensure that eager_load actually takes place just after the middleware stack is built by using another pattern.
...
Also create a engine_blank_point initializer to ensure any :before or :after hooks defined inside engines won't move the configuration initializers to other places.
2010-05-15 23:49:03 +02:00
Jeremy Kemper
fef31be2bc
Add missing deprecation requires
2010-04-29 11:34:48 -07:00
José Valim
4bacc2a66d
Update the documentation for Engine and Railtie.
2010-04-05 16:02:23 -07:00
wycats
197904341f
Merge branch 'master' into docrails
2010-03-26 15:10:24 -07:00
José Valim
395d6648ce
Move application configuration to the application configuration object, remove railtie_name and engine_name and allow to set the configuration object.
2010-03-26 18:47:55 +01:00
José Valim
fc266d7ec2
Revert "find railties and engines by name [4264 state:resolved]"
...
This reverts commit 7b8399b80c
.
2010-03-26 16:12:35 +01:00
José Valim
f5ee855f43
Improve heuristic for railties default name, otherwise railties may be named :railtie, :engine and so on.
2010-03-26 14:41:48 +01:00
Josh Susser
7b8399b80c
find railties and engines by name [4264 state:resolved]
...
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-03-26 14:25:45 +01:00
Pratik Naik
e68bfaf1fe
Merge remote branch 'mainstream/master'
...
Conflicts:
activerecord/lib/active_record/base.rb
railties/lib/rails/configuration.rb
railties/lib/rails/log_subscriber.rb
2010-03-12 16:00:01 +00:00
Jeremy Kemper
8bb162f008
Fix unstated usage of inflector
2010-03-01 18:52:07 -08:00
Prem Sichanugrist
f0523f72b4
Rename Rails::Subscriber to Rails::LogSubscriber
2010-02-16 22:36:15 +01:00
Mikel Lindsaar
de0753d2ae
Editing the railties/../railtie.rb and engine.rb docs
2010-02-08 15:08:10 +11:00
José Valim
781d0a9bae
Add docs for Railtie, Engine, Plugin and Application.
2010-02-02 20:05:26 +01:00
Pratik Naik
285361d158
Merge remote branch 'mainstream/master'
...
Conflicts:
railties/lib/rails/railtie.rb
2010-01-28 19:46:17 +00:00
José Valim
f8bf1982df
Add tests for explicit engines.
2010-01-26 14:58:00 +01:00
José Valim
e548f96b1d
Rename plugin_name to railtie_name and engine_name.
2010-01-24 12:23:21 +01:00
José Valim
b17e358e3d
Move configuration to subfolders.
2010-01-23 22:30:17 +01:00
Pratik Naik
efd0bd3b73
Merge remote branch 'mainstream/master'
2010-01-24 01:33:18 +05:30
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
13d66cdf25
Extract Railtie load from application.
2010-01-23 16:59:37 +01:00
Mikel Lindsaar
4443f4173b
Added more documentation on railtie.rb
2010-01-22 14:54:32 +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
4ca9765088
Allow railties to specify generators paths.
2010-01-19 19:59:08 +01:00
Mikel Lindsaar
087b67805e
Adding initial intro to railtie
2010-01-19 19:05:42 +11:00
José Valim
9dd4c79d61
Allow to add subscribers through Railtie.
2010-01-13 01:19:22 +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