aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/plugin.rb
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Metal can now line in plugins under app/metal [#2045 state:committed]Matthew Rudy Jacobs2009-02-271-2/+6
| | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Added view path support for engines [DHH]David Heinemeier Hansson2008-11-271-5/+6
|
* Added that config/routes.rb files in engine plugins are automatically loaded ↵David Heinemeier Hansson2008-11-261-2/+21
| | | | (and reloaded when they change in dev mode) [DHH]
* Added app/[models|controllers|helpers] to the load path for plugins that has ↵David Heinemeier Hansson2008-11-261-3/+22
| | | | an app directory (go engines ;)) [DHH]
* Fix a number of errors in the config.gem mechanism.Matt Jones2008-10-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Rails::GemDependency was missing definitions for hash and eql?, causing Array#uniq to not work. * If several versions of a gem are unpacked in vendor, now chooses the highest if no version is specified. * streamlined add_load_path. Now sets up Rubygems correctly to allow 'gem' to find frozen gems, with gems frozen to vendor/gems and specifications in vendor/gems/<gem-name>/.specification * Rails::GemDependency#specification would return a spec for the highest installed version, even for frozen gems and/or previously loaded lower versions. See in part ticket #1123. * removed vendor from default_load_paths - it was causing autoloading to append Gems::Gems::<gem-dir> to constant names * added additional tests for loading frozen gems. * incorporates the fix from #1107 for vendor rails * defers to freeze:gems for handling the Rails framework. gems:unpack WILL NOT place a copy of Rails in vendor/gems. Should close #1123 completely. * incorporates, via using the gem loader for frozen gems, fixes corresponding to #227, #324, #362, #527, and #742. * gem plugins now work the same whether frozen or not. Correctness of the behavior is a matter for another ticket... Signed-off-by: rick <technoweenie@gmail.com>
* Fix discrepancies with loading rails/init.rb from gems. [#324 state:resolved]rick2008-06-081-10/+11
|
* Make plugins initialize also from rails/init.rb to ensure consistency with ↵Jacek Becela2008-06-081-1/+9
| | | | | | gems used as plugins [#272 state:resolved]
* fix doc typosrick2008-05-311-2/+1
|
* Expose GemPlugin load_paths so they can be added to Dependencies.load_paths. ↵Dmitriy Timokhin2008-05-311-10/+6
| | | | Also use full_gem_path as root of GemPlugin to make things compatible. [#213 state:resolved]
* Merge docrails:Pratik Naik2008-05-091-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit e6afd8b2736364322b673bbdcca3e9b38b6d3da0 Author: Xavier Noria <fxn@hashref.com> Date: Thu May 8 23:49:36 2008 +0200 Overall documentation improvement and markup corrections. Zillion changes. commit 2fead68b3192332eee27945ed95a94a64ca73f70 Author: Austin Putman <austin@emmanuel.local> Date: Wed May 7 19:35:46 2008 -0700 Documented class methods on ActionController::Routing. These are dangerous, and mostly used for testing. commit f5b84182dbc39bea79c8ee319c688d00fa99f9d1 Author: Teflon Ted <github@rudiment.net> Date: Wed May 7 16:08:49 2008 -0400 Added explanation about errant inflections not being patched in the future in order to avoid breaking legacy applications. commit 370f4f51722cec49ace17093d29e9ce9e8f15cfb Author: Sunny Ripert <negatif@gmail.com> Date: Wed May 7 14:00:59 2008 +0200 Applied list conventions in AR::Base commit 5bd18429f09d44e75191bec42a6db04bd33f3030 Author: Sunny Ripert <negatif@gmail.com> Date: Wed May 7 13:53:35 2008 +0200 Renamed Options list to Attributes list whenever they weren't option hashes in AR::Base commit d912bd5672316454457ae83f6e9dda5197beeb6f Author: Yaroslav Markin <yaroslav@markin.net> Date: Wed May 7 13:50:28 2008 +0400 Add a filter_parameter_logging usage hint to generated ApplicationController. This may help to remind the developer to filter sensitive information from application logs. Closes #11578 commit b243de0db3c2605121e055079854af5090d06374 Author: Jack Danger Canty <git@6brand.com> Date: Tue May 6 23:39:47 2008 -0700 doc: disambiguating an example ActiveRecord class commit f81d771f0657ae8375b84a77a059812cce5d6fd9 Author: Jack Danger Canty <git@6brand.com> Date: Tue May 6 23:35:05 2008 -0700 doc: ActiveRecord::Reflection::AssociationReflection#through_reflection Added documentation demonstrating the use of #through_reflection for finding intervening reflection objects for HasManyThrough and HasOneThrough. commit ae6b46f00b5b8b2939c6b37ce3329c83de7e71db Author: Cheah Chu Yeow <chuyeow@gmail.com> Date: Wed May 7 13:47:41 2008 +0800 Document AttributeAssignmentError and MultiparameterAssignmentErrors. commit 8f463550b597db2156b67733f31aed13487fbc3a Author: John Barnette <jbarnette@gmail.com> Date: Tue May 6 22:46:44 2008 -0700 Killing/fixing a bunch of outdated language in the AR README. commit aca44bcd92ef783abdf484b58abdde6786db0f89 Author: Cheah Chu Yeow <chuyeow@gmail.com> Date: Wed May 7 13:34:52 2008 +0800 Make a note about ActiveResource::Timeouterror being raised when ARes calls timeout. commit 284a930a93fbee16e25d06392779dbf2f03e9e12 Author: Jonathan Dance <jd@wuputah.com> Date: Tue May 6 14:58:26 2008 -0400 improvements to the page caching docs commit 9482da621390c874da7c921c8bd6230caae7035a Author: Sunny Ripert <negatif@gmail.com> Date: Mon May 5 18:13:40 2008 +0200 validates_numericality_of() "integer" option really is "only_integer" commit e9afd6790a8f530528f6597a7f59bb283be754f6 Author: Sunny Ripert <negatif@gmail.com> Date: Mon May 5 12:11:59 2008 +0200 Harmonized hash notation in AR::Base commit 67ebf14a91ffd970b582be4ff2991d691a9cf3e1 Author: Sunny Ripert <negatif@gmail.com> Date: Mon May 5 12:06:19 2008 +0200 Turned options into rdoc-lists in AR::Base commit 0ec7c0a41d889d4e5382b9dff72f1aaba89bf297 Author: Marshall Huss <mwhuss@Macbook.local> Date: Sun May 4 23:21:33 2008 -0400 Added information of how to set element_name in the case the user has a name confliction with an existing model Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Added that gems can now be plugins if they include rails/init.rb (closes ↵David Heinemeier Hansson2008-03-271-0/+20
| | | | | | #11444) [jbarnette] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9101 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Plugin#about method to programmatically access the about.yml in a ↵David Heinemeier Hansson2008-03-271-3/+19
| | | | | | plugin (closes #10979) [lazyatom] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9098 5ecf4fe2-1ee6-0310-87b1-e25e094e27de