aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/railtie.rb
Commit message (Collapse)AuthorAgeFilesLines
* Call a block passed rake_tasks method in the self contextkennyj2011-11-271-1/+1
|
* Rely on a public contract between railties instead of accessing railtie ↵José Valim2011-11-231-1/+1
| | | | methods directly.
* Requiring delegate.Arun Agrawal2011-08-161-0/+1
|
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-06-181-1/+1
|\
| * fixed typo for a methodnamethoefer2011-06-111-1/+1
| |
* | load_generators from engine should also handle self automatically.José Valim2011-06-151-3/+3
|/
* Use namespace if it's a mountable engineStefan Sprenger2011-06-071-0/+5
|
* Everyone receives app as argument for consistency.José Valim2011-05-251-5/+5
|
* Update generator config to support hiding namespaces and pass the app into ↵wycats2011-05-241-2/+2
| | | | generator blocks
* Make Rake::DSL methods available within Railtie rake_tasks blockPatrick Quinn2011-05-201-0/+1
| | | | Fixes incompatibility introduced by Rake 0.9.0
* Move sandbox to AR and pass the sandbox as a value. This way, other ORMs ↵José Valim2011-05-041-2/+2
| | | | like Datamapper can also have their own sandboxing in rails console.
* improve language and examples in Railtie docsJimmy Cuadra2011-02-181-33/+21
|
* Minor fix on Rails:Railtie documentationzhengjia2010-11-211-2/+2
|
* Load rake tasks defined in superclasses in context of railtiesPiotr Sarnacki2010-10-091-0/+7
|
* Deprecate generators in Railties. You should use app_generators instead.José Valim2010-10-021-1/+1
|
* Add table_name_prefix to Engine's namespace automaticallyPiotr Sarnacki2010-09-031-1/+6
|
* Always convert railtie_name to stringPiotr Sarnacki2010-09-031-1/+1
|
* Add Rails::Railtie.railtie_name method to allow setting custom name for railtiePiotr Sarnacki2010-09-031-0/+7
|
* Move singleton pattern to Railtie and remove Engine::Configurable and ↵Piotr Sarnacki2010-09-031-1/+7
| | | | Application::Configurable in favor of unified Railtie::Configurable
* Removed most of deprecated stuff from Application and EnginePiotr Sarnacki2010-09-031-9/+0
|
* fixing typoNeeraj Singh2010-08-171-1/+1
|
* Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵Santiago Pastorino2010-08-141-2/+2
| | | | 's/[ \t]*$//' -i {} \;)
* Fixed Railtie Rdoc examples not properly formatted [#4918 state:resolved]Simone Carletti2010-08-041-21/+21
| | | | Signed-off-by: Simone Carletti <weppos@weppos.net>
* Fix small middlewares typoJack Dempsey2010-07-241-1/+1
|
* Add console hook to force ActiveRecord::Base to be loaded when console ↵José Valim2010-07-181-8/+10
| | | | starts avoiding reference loops.
* Move Rails::LogSubscriber to ActiveSupport::LogSubscriber, allowing ↵José Valim2010-06-241-32/+2
| | | | frameworks like ActiveRecord and ActiveResource to log outsude Rails::Application [#4816 state:resolved]
* edit pass: the names of Rails components have a space, ie, "Active Record", ↵Xavier Noria2010-06-141-1/+1
| | | | not "ActiveRecord"
* Ensure that eager_load actually takes place just after the middleware stack ↵José Valim2010-05-151-0/+3
| | | | | | 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.
* Add missing deprecation requiresJeremy Kemper2010-04-291-0/+1
|
* Update the documentation for Engine and Railtie.José Valim2010-04-051-25/+3
|
* Merge branch 'master' into docrailswycats2010-03-261-19/+8
|\
| * Move application configuration to the application configuration object, ↵José Valim2010-03-261-18/+4
| | | | | | | | remove railtie_name and engine_name and allow to set the configuration object.
| * Revert "find railties and engines by name [4264 state:resolved]"José Valim2010-03-261-4/+0
| | | | | | | | This reverts commit 7b8399b80cfff58cfe2313187ca3c803de8c8955.
| * Improve heuristic for railties default name, otherwise railties may be named ↵José Valim2010-03-261-7/+10
| | | | | | | | :railtie, :engine and so on.
| * find railties and engines by name [4264 state:resolved]Josh Susser2010-03-261-0/+4
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* | Merge remote branch 'mainstream/master'Pratik Naik2010-03-121-4/+8
|\| | | | | | | | | | | | | Conflicts: activerecord/lib/active_record/base.rb railties/lib/rails/configuration.rb railties/lib/rails/log_subscriber.rb
| * Fix unstated usage of inflectorJeremy Kemper2010-03-011-2/+6
| |
| * Rename Rails::Subscriber to Rails::LogSubscriberPrem Sichanugrist2010-02-161-2/+2
| |
* | Editing the railties/../railtie.rb and engine.rb docsMikel Lindsaar2010-02-081-5/+4
| |
* | Add docs for Railtie, Engine, Plugin and Application.José Valim2010-02-021-61/+124
| |
* | Merge remote branch 'mainstream/master'Pratik Naik2010-01-281-39/+44
|\| | | | | | | | | Conflicts: railties/lib/rails/railtie.rb
| * Add tests for explicit engines.José Valim2010-01-261-9/+1
| |
| * Rename plugin_name to railtie_name and engine_name.José Valim2010-01-241-14/+7
| |
| * Move configuration to subfolders.José Valim2010-01-231-1/+5
| |
| * Create configurable modules and ensure that they are added only on direct ↵José Valim2010-01-231-11/+23
| | | | | | | | children.
| * Extract Railtie load from application.José Valim2010-01-231-6/+8
| |
| * Add view paths to Engine setup.José Valim2010-01-221-0/+1
| |
| * Massive cleanup in Railties and load stack.José Valim2010-01-211-30/+38
| |
* | Merge remote branch 'mainstream/master'Pratik Naik2010-01-241-0/+15
|\|
| * Allow railties to specify generators paths.José Valim2010-01-191-0/+15
| |