aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/engine.rb
Commit message (Collapse)AuthorAgeFilesLines
* Allow to change engine's loading priority with config.railties_order=Piotr Sarnacki2011-11-231-2/+22
|
* Rely on a public contract between railties instead of accessing railtie ↵José Valim2011-11-231-17/+26
| | | | methods directly.
* fixed example code indentationWojciech Wnętrzak2011-11-101-6/+6
|
* Removing db/seeds.rb is fine. Don't blow up.Jeremy Kemper2011-10-291-1/+1
|
* :group => :assets should only run in the assets environment.José Valim2011-10-021-1/+1
|
* `rake assets:precompile` loads the application but does not initialize it.José Valim2011-09-241-2/+2
| | | | | | | | | | | | | To the app developer, this means configuration add in config/initializers/* will not be executed. Plugins developers need to special case their initializers that are meant to be run in the assets group by adding :group => :assets. Conflicts: railties/CHANGELOG railties/test/application/assets_test.rb
* dealing with some -w warnings on startupAaron Patterson2011-08-241-0/+1
|
* Merge pull request #2324 from zenapsis/3-1-stableSantiago Pastorino2011-08-011-3/+3
| | | | Rails 3.1 throws a Errno::ENOTDIR if files are put in assets directories
* Changed a few instances of of words in the API docs written in British ↵Oemuer Oezkir2011-07-241-5/+5
| | | | | | English to American English(according to Weber)
* little details seen while doing a pass through what's new in docrailsXavier Noria2011-07-231-1/+2
|
* spacing fixVijay Dev2011-07-201-1/+1
|
* misc grammar and clarity changes for rails/engine docsMatt Jankowski2011-07-121-26/+29
|
* Fix has_migrations? check in Rails::EngineSam Pohlenz2011-07-031-1/+1
|
* OrderedOptions must implement respond_to? if it implements method_missing.Chris Eppstein2011-06-271-9/+3
|
* Cherry-picking patch for https://github.com/rails/rails/issues/1460Joseph Wong2011-06-161-2/+10
| | | | | | | | | | | | | | | | | | | | | | | from 3-1-stable to master [3.1.0.rc1] Plugins inside engines not eager-loaded properly and their rake tasks ignored Working with the new support for plugins inside engines in Rails 3.1, I found that certain things that work for regular plugins don't work for these new nested plugins. In particular, these methods in Rails::Engine don't seem to understand that an engine could have nested plugins: #load_tasks #load_generators #load_console #eager_load! A solution which worked out for me is to move the calls to railties.all { ... } from the overriding methods in Rails::Application into Rails::Engine.
* Move load_generators from Rails::Application to Rails::EngineStefan Sprenger2011-05-261-0/+12
|
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-05-251-3/+3
|\ | | | | | | | | | | Conflicts: actionmailer/lib/action_mailer/base.rb activesupport/lib/active_support/core_ext/kernel/requires.rb
| * Minor typo describing engine helpersMatthew Daubert2011-05-221-2/+2
| |
| * Remove duplicate words.Uģis Ozols2011-05-201-1/+1
| |
* | Everyone receives app as argument for consistency.José Valim2011-05-251-1/+1
| |
* | Use sprockets prepend_path if its availableJoshua Peek2011-05-191-3/+9
|/
* parenthesize the arguments with splatAkira Matsuda2011-05-181-3/+3
| | | | to make sure we're not calling the :* operator
* Include lib/assets for sprocket pathsDavid Heinemeier Hansson2011-05-101-0/+1
|
* formatting results in commentsVijay Dev2011-05-041-16/+16
|
* Make ActionController::Base.modules_for_helpers and ↵Piotr Sarnacki2011-04-251-2/+2
| | | | ActionController::Base.all_helpers_from_path public methods
* Add Engine#helpers method which loads all the engine's helpersPiotr Sarnacki2011-04-251-0/+39
|
* Remove the ability for engines to serve assets from the public directory.José Valim2011-04-151-67/+7
|
* Fix tests.José Valim2011-04-151-13/+24
|
* Booya, sprockets now works from Engines.José Valim2011-04-151-0/+5
|
* Engines that use isolate_namespace with nested modules should set correct ↵Rolf Timmermans2011-03-281-2/+2
| | | | module prefix for their routes.
* refactored Engine.#find by giving an explicit name to a variable and ↵Diego Carrion2011-03-091-3/+3
| | | | | | | | reducing calls [#6529 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Railties typos.R.T. Lechow2011-03-051-3/+3
|
* only compute path.to_s onceAaron Patterson2011-03-021-1/+4
|
* Make all references to engines lowercase in docs.Matt Buck2011-01-191-36/+36
|
* Copy-edit and format Rails::Engine docs.Matt Buck2011-01-141-85/+93
|
* Should be isolated engine instead of namespaced enginePiotr Sarnacki2010-12-161-1/+1
|
* Ensure asset_path defaults to nil for applicationJosé Valim2010-12-091-1/+6
|
* Rails::Engine.find(path) - method to find engine by pathPiotr Sarnacki2010-12-091-0/+5
|
* Do not create table_name_prefix method on isolated module if the method ↵Piotr Sarnacki2010-11-221-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 isolatedPiotr Sarnacki2010-11-161-4/+1
|
* Add missing autoload.José Valim2010-11-111-0/+1
|
* Remove unused Configurable in Rails::Engine and Rails::Application. Remove ↵zhengjia2010-11-111-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 endSantiago Pastorino2010-10-151-1/+1
|
* Removed duplicated method find_root_with_flagPiotr Sarnacki2010-10-151-15/+0
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* in regexps, the dot in a character class is not a metacharacterXavier Noria2010-10-151-1/+1
|
* Use railtie_name to correctly get name from pluginsPiotr Sarnacki2010-10-141-1/+1
|
* Update documentation for new tasksPiotr Sarnacki2010-10-141-7/+8
|
* Add task foo:install (where foo is plugin) as a shortcutinstall:migrations ↵Piotr Sarnacki2010-10-141-0/+6
| | | | and foo:install:assets
* Added foo:install:assets task that copies assets from plugins public ↵Piotr Sarnacki2010-10-141-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 Sarnacki2010-10-141-0/+6
| | | | NOTEs, also puts to stdin