aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/plugin.rb
Commit message (Collapse)AuthorAgeFilesLines
* Rails::Plugin has goneSantiago Pastorino2012-01-031-91/+0
|
* Yes we need this to pass the test. we are using config.log_level.Arun Agrawal2011-08-251-2/+2
| | | | | Fix broken test test_copying_migrations(RailtiesTest::EngineTest): NoMethodError: undefined method `log_level' for #<Rails::Engine::Configuration:0xb87a98c>
* dealing with some -w warnings on startupAaron Patterson2011-08-241-1/+2
|
* Add "a" to make it better EnglishRyan Bigg2010-10-071-1/+1
| | | | | | [#3796 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Provide a cleaner syntax for paths configuration that does not rely on ↵José Valim2010-10-061-2/+2
| | | | method_missing.
* Remove more deprecated behavior from plugins.José Valim2010-09-041-19/+3
|
* Add Rails::Railtie.railtie_name method to allow setting custom name for railtiePiotr Sarnacki2010-09-031-0/+4
|
* Ensure that plugins are not loaded twicePiotr Sarnacki2010-09-031-0/+9
|
* Added TODO for evaling init.rb in context of EnginePiotr Sarnacki2010-09-031-0/+2
|
* Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵Santiago Pastorino2010-08-141-1/+1
| | | | 's/[ \t]*$//' -i {} \;)
* A few changes were done in this commit:José Valim2010-06-281-6/+10
| | | | | | * Added :autoload to engines path API and redefine usage to be in sync with 6f83a5036d8a9c3f8ed7; * Do not autoload code in *lib* for applications (now you need to explicitly require them). This makes an application behave closer to an engine (code in lib is still autoloaded for plugins); * Always autoload code in app/ for engines and plugins. This makes engines behave closer to an application and should allow us to get rid of the unloadable hack required when controllers inside engines inherit from ApplicationController;
* Rename config.cookie_secret to config.secret_token and pass it as ↵José Valim2010-04-051-1/+1
| | | | configuration in request.env. This is another step forward removing global configuration.
* Merge remote branch 'mainstream/master'Pratik Naik2010-03-121-8/+16
|\ | | | | | | | | | | | | Conflicts: activerecord/lib/active_record/base.rb railties/lib/rails/configuration.rb railties/lib/rails/log_subscriber.rb
| * plugin rails/init.rb deprecation messageJeremy Kemper2010-02-261-12/+14
| |
| * Remove doubled periodJeremy Kemper2010-02-251-1/+1
| |
| * Update plugin tasks dirs deprecation warningJeremy Kemper2010-02-251-2/+2
| |
| * Show deprecation message for rails/init.rb in plugins.José Valim2010-02-171-2/+8
| |
* | Add docs for Railtie, Engine, Plugin and Application.José Valim2010-02-021-0/+15
|/
* tsort-based dependency resolution for initializersPaul Rosania2010-01-291-1/+1
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Add reloadable specific for engines and move environment to application paths.José Valim2010-01-281-0/+6
| | | | Signed-off-by: Carl Lerche <carllerche@mac.com>
* Add tests for plugin sanity check.José Valim2010-01-241-2/+1
|
* Load deprecated tasks for plugins.José Valim2010-01-241-0/+11
|
* Solve some pendencies.José Valim2010-01-241-2/+7
|
* Move configuration to subfolders.José Valim2010-01-231-0/+4
|
* Create configurable modules and ensure that they are added only on direct ↵José Valim2010-01-231-19/+13
| | | | children.
* Plugin is now an Engine.José Valim2010-01-231-50/+28
|
* Extract routes reloading responsibilities from application and load them ↵José Valim2010-01-231-2/+1
| | | | just upon a request.
* Massive cleanup in Railties and load stack.José Valim2010-01-211-1/+0
|
* Avoid load tasks from plugins recursively (so stuff in tests or vendor does ↵José Valim2010-01-191-1/+1
| | | | not get loaded).
* Install plugin view paths into AM view load pathJoshua Peek2010-01-181-2/+6
|
* Allow to add subscribers through Railtie.José Valim2010-01-131-0/+1
|
* Some railties cleanup:Carl Lerche2009-12-311-84/+42
| | | | | | * Rename <framework>/rails.rb -> <framework>/railtie.rb * Rails::Plugin -> Rails::Railtie * Rails::Plugin::Vendored -> Rails::Plugin
* Revert "Add config.action_controller.include behavior to plugins."Jeremy Kemper2009-12-301-19/+1
| | | | | | | | This reverts commit 7e8b7f46bfc086a36db996420fbee93348c5268e. Conflicts: railties/lib/rails/plugin.rb
* Make plugins responsible for loading their own rake tasksSam Pohlenz2009-12-291-0/+4
| | | | Signed-off-by: Carl Lerche <carllerche@mac.com>
* Application object should instantiate non-vendored pluginsSam Pohlenz2009-12-291-4/+9
| | | Signed-off-by: Carl Lerche <carllerche@mac.com>
* Add the ability to have plugins load rake tasks.Carl Lerche2009-12-281-0/+10
|
* Add config.action_controller.include behavior to plugins.José Valim2009-12-271-0/+18
|
* Moving out some framework specific initializers into the framework libraries.Carlhuda2009-12-231-3/+5
|
* Add the ability for plugins to set default configuration settings.Carl Lerche2009-12-151-0/+21
|
* Move route reloading into railtiesJoshua Peek2009-12-141-2/+2
|
* Refactor pluginsYehuda Katz + Carl Lerche2009-11-111-164/+45
|
* Conceptually unify instance & global initializersYehuda Katz + Carl Lerche2009-11-051-48/+51
|
* I18n support for pluginsAntonio Tapiador del Dujo2009-08-301-0/+12
| | | | | | | | | | Rails will now automatically add locale files found in any engine's locale directory to the I18n.load_path (i.e. files that match the glob pattern "config/locales/**/*.{rb,yml}" relative to engine directories). [#2325 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Lazy-require Kernel#silence_warningsJeremy Kemper2009-05-191-2/+1
|
* Cherry-pick core extensionsJeremy Kemper2009-05-131-0/+2
|
* Rejig active support dependencies to behave better with the boot processJeremy Kemper2009-04-281-5/+0
|
* Fix missing core extension dependenciesJeremy Kemper2009-04-281-0/+1
|
* Use Symbol#to_proc in rails plugin internalsJeremy Kemper2009-04-241-0/+1
|
* Opt in to DependenciesJeremy Kemper2009-04-221-0/+1
|
* No more free lunchJeremy Kemper2009-04-221-4/+6
|