aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/railtie.rb
Commit message (Collapse)AuthorAgeFilesLines
* Use Ruby 1.9 Hash syntax in railtiesRobin Dupret2012-10-141-1/+1
|
* Get rid of config.preload_frameworks in favor of config.eager_load_namespacesJosé Valim2012-08-211-3/+0
| | | | | | | The new option allows any Ruby namespace to be registered and set up for eager load. We are effectively exposing the structure existing in Rails since v3.0 for all developers in order to make their applications thread-safe and CoW friendly.
* Remove unused responsibilities and add a few load definitions to enginesJosé Valim2012-06-291-15/+17
| | | | | | | | Since plugins were removed, we can clean up a few methods in engines. We also use this opportunity to move `load_console`, `load_tasks` and `load_runner` to Rails::Engine. This means that, if someone wants to improve script/rails for engines to support console or runner commands, part of the work is already done.
* Rake::DSL should always be availableJeremy Kemper2012-05-311-1/+1
|
* Explicitly require rake so its DSL is availableJeremy Kemper2012-05-311-0/+1
|
* Add support runner hook.kennyj2012-05-291-0/+10
|
* Code-format references to config settingsMark Rushakoff2012-04-271-1/+1
|
* Updated/changed useless tr/gsubsJurriaan Pruis2012-04-031-1/+1
|
* Remove Active Resource source files from the repositoryPrem Sichanugrist2012-03-131-1/+1
| | | | | | | | | | Dear Active Resource, It's not that I hate you or anything, but you didn't get much attention lately. There're so many alternatives out there, and I think people have made their choice to use them than you. I think it's time for you to have a big rest, peacefully in this Git repository. I will miss you, @sikachu.
* Rails::Plugin has goneSantiago Pastorino2012-01-031-4/+4
|
* 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
| |