Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Include lib/assets for sprocket paths | David Heinemeier Hansson | 2011-05-10 | 1 | -0/+1 |
| | |||||
* | formatting results in comments | Vijay Dev | 2011-05-04 | 1 | -16/+16 |
| | |||||
* | Make ActionController::Base.modules_for_helpers and ↵ | Piotr Sarnacki | 2011-04-25 | 1 | -2/+2 |
| | | | | ActionController::Base.all_helpers_from_path public methods | ||||
* | Add Engine#helpers method which loads all the engine's helpers | Piotr Sarnacki | 2011-04-25 | 1 | -0/+39 |
| | |||||
* | Remove the ability for engines to serve assets from the public directory. | José Valim | 2011-04-15 | 1 | -67/+7 |
| | |||||
* | Fix tests. | José Valim | 2011-04-15 | 1 | -13/+24 |
| | |||||
* | Booya, sprockets now works from Engines. | José Valim | 2011-04-15 | 1 | -0/+5 |
| | |||||
* | Engines that use isolate_namespace with nested modules should set correct ↵ | Rolf Timmermans | 2011-03-28 | 1 | -2/+2 |
| | | | | module prefix for their routes. | ||||
* | refactored Engine.#find by giving an explicit name to a variable and ↵ | Diego Carrion | 2011-03-09 | 1 | -3/+3 |
| | | | | | | | | reducing calls [#6529 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Railties typos. | R.T. Lechow | 2011-03-05 | 1 | -3/+3 |
| | |||||
* | only compute path.to_s once | Aaron Patterson | 2011-03-02 | 1 | -1/+4 |
| | |||||
* | Make all references to engines lowercase in docs. | Matt Buck | 2011-01-19 | 1 | -36/+36 |
| | |||||
* | Copy-edit and format Rails::Engine docs. | Matt Buck | 2011-01-14 | 1 | -85/+93 |
| | |||||
* | Should be isolated engine instead of namespaced engine | Piotr Sarnacki | 2010-12-16 | 1 | -1/+1 |
| | |||||
* | Ensure asset_path defaults to nil for application | José Valim | 2010-12-09 | 1 | -1/+6 |
| | |||||
* | Rails::Engine.find(path) - method to find engine by path | Piotr Sarnacki | 2010-12-09 | 1 | -0/+5 |
| | |||||
* | Do not create table_name_prefix method on isolated module if the method ↵ | Piotr Sarnacki | 2010-11-22 | 1 | -2/+4 |
| | | | | | | already exists. Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | There is no need to make isolated? method with bang-bang, just alias isolated | Piotr Sarnacki | 2010-11-16 | 1 | -4/+1 |
| | |||||
* | Add missing autoload. | José Valim | 2010-11-11 | 1 | -0/+1 |
| | |||||
* | Remove unused Configurable in Rails::Engine and Rails::Application. Remove ↵ | zhengjia | 2010-11-11 | 1 | -1/+0 |
| | | | | | | unnecessary railties load path in cli [#5871 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | delete from :number until the end | Santiago Pastorino | 2010-10-15 | 1 | -1/+1 |
| | |||||
* | Removed duplicated method find_root_with_flag | Piotr Sarnacki | 2010-10-15 | 1 | -15/+0 |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | in regexps, the dot in a character class is not a metacharacter | Xavier Noria | 2010-10-15 | 1 | -1/+1 |
| | |||||
* | Use railtie_name to correctly get name from plugins | Piotr Sarnacki | 2010-10-14 | 1 | -1/+1 |
| | |||||
* | Update documentation for new tasks | Piotr Sarnacki | 2010-10-14 | 1 | -7/+8 |
| | |||||
* | Add task foo:install (where foo is plugin) as a shortcutinstall:migrations ↵ | Piotr Sarnacki | 2010-10-14 | 1 | -0/+6 |
| | | | | and foo:install:assets | ||||
* | Added foo:install:assets task that copies assets from plugins public ↵ | Piotr Sarnacki | 2010-10-14 | 1 | -5/+5 |
| | | | | | | | | | | | directory to application's public directory This is the most simple and naive approach: just copy every files from engine to app. The only exception is when file has changed, in that case developer will be asked if he wants to rename the field. There is no need to make this task more sophisticated as 3.1 will be shipped with better assets handling and it will be the default way to handle things. | ||||
* | Do not treat information about skipped migrations as WARNINGs but as a ↵ | Piotr Sarnacki | 2010-10-14 | 1 | -0/+6 |
| | | | | NOTEs, also puts to stdin | ||||
* | Updated DOCS for engines and added a couple TODOs. Also, commented internal ↵ | José Valim | 2010-10-11 | 1 | -34/+48 |
| | | | | railties rake tasks description. | ||||
* | Add 'foo:install:migrations' task to copy migrations from foo engine | Piotr Sarnacki | 2010-10-09 | 1 | -0/+14 |
| | |||||
* | Rename namespace method to isolate_namespace. | Piotr Sarnacki | 2010-10-09 | 1 | -10/+10 |
| | | | | | | | This change caused by confusion caused by calling engine "namespaced". Stuff inside engine can be namespaced for every engine. This method is not actually namespacing anything, it's isolating engine within the given namespace. | ||||
* | Refactored routes reloading to use RouteSet#append instead keeping block in ↵ | Piotr Sarnacki | 2010-10-08 | 1 | -5/+3 |
| | | | | | | Engine Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Merge branch 'master' of git://github.com/lifo/docrails | Xavier Noria | 2010-10-06 | 1 | -1/+1 |
|\ | |||||
| * | Fixed typo in engine documentation | Thomas McDonald | 2010-10-06 | 1 | -1/+1 |
| | | |||||
* | | Provide a cleaner syntax for paths configuration that does not rely on ↵ | José Valim | 2010-10-06 | 1 | -27/+32 |
| | | | | | | | | method_missing. | ||||
* | | Use RbConfig instead of Config for 1.9.3 compatibility. | José Valim | 2010-10-05 | 1 | -1/+1 |
| | | |||||
* | | Add documentation on app_generators | Piotr Sarnacki | 2010-10-03 | 1 | -0/+20 |
| | | |||||
* | | Move routes_reloader to a class: RoutesReloader | Piotr Sarnacki | 2010-09-30 | 1 | -1/+1 |
| | | |||||
* | | Properly reload routes defined in class definition | Piotr Sarnacki | 2010-09-30 | 1 | -1/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sometimes it's easier to define routes inside Engine or Application class definition (e.g. one file applications). The problem with such case is that if there is a plugin that has config/routes.rb file, it will trigger routes reload on application. Since routes definition for application is not in config/routes.rb file routes_reloader will fail to reload application's routes properly. With this commit you can pass routes definition as a block to routes method, which will allow to properly reload it: class MyApp::Application < Rails::Application routes do resources :users end end | ||||
* | | Do not overwrite _railtie method on namespace while creating isolated engine ↵ | Piotr Sarnacki | 2010-09-30 | 1 | -12/+13 |
|/ | | | | | | | | | or application. In order to run Engine as standalone application, you will need Rails::Application instance in the same namespace that engine one. It's very important to leave _railtie bound to whatever used "namespace" method first. | ||||
* | List all of isolated engine changes | Piotr Sarnacki | 2010-09-20 | 1 | -3/+21 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Strengthen documantation on engine's migrations and seed data | Piotr Sarnacki | 2010-09-20 | 1 | -0/+15 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Add helper for loading seed data for engine and application | Piotr Sarnacki | 2010-09-20 | 1 | -0/+9 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Add documentation on serving assets from engine strategies | Piotr Sarnacki | 2010-09-06 | 1 | -0/+10 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Removed deprecated router API from railties | Piotr Sarnacki | 2010-09-05 | 1 | -11/+0 |
| | |||||
* | Small tidy up on Rails::Engine. | José Valim | 2010-09-04 | 1 | -48/+49 |
| | |||||
* | I've changed that test along the way, it should actually stay without changes | Piotr Sarnacki | 2010-09-03 | 1 | -6/+6 |
| | |||||
* | Use default_scope in isolated Engines to not force user to scope his routes | Piotr Sarnacki | 2010-09-03 | 1 | -0/+2 |
| | |||||
* | engines_blank_point should always be the last initializer in Engine | Piotr Sarnacki | 2010-09-03 | 1 | -5/+5 |
| | |||||
* | We should avoid creating additional initializers when we can, adding them ↵ | Piotr Sarnacki | 2010-09-03 | 1 | -3/+1 |
| | | | | makes boot process slower |