# Engines

**URL:** https://www.ruby-forum.com/c/ruby-on-rails/rails-engines/9.md?page=2

[Latest](https://www.ruby-forum.com/latest.md) · [Categories](https://www.ruby-forum.com/categories.md) · [Tags](https://www.ruby-forum.com/tags.md)

**Page:** 3

---

## [Adding belongs\_to to an application model from an engine](https://www.ruby-forum.com/t/adding-belongs-to-to-an-application-model-from-an-engine/152142)

<div class="topic-metadata">

**Author:** [@raphael\_b](https://www.ruby-forum.com/u/raphael_b)\
**Replies:** 4\
**Last updated:** [October 31, 2008, 10:33am UTC](https://www.ruby-forum.com/t/adding-belongs-to-to-an-application-model-from-an-engine/152142 "2008-10-31T10:33:47Z")

</div>

Hi, I have an Instance model in my application, to which I want to add a has\_many :web\_file\_attachment from the plugin. I tried putting this in my plugin’s app/model/instance.rb : class Instance \< ActiveRecord::Base …

---

## [Routing problem](https://www.ruby-forum.com/t/routing-problem/152123)

<div class="topic-metadata">

**Author:** [@raphael\_b](https://www.ruby-forum.com/u/raphael_b)\
**Replies:** 3\
**Last updated:** [October 30, 2008, 12:24pm UTC](https://www.ruby-forum.com/t/routing-problem/152123 "2008-10-30T12:24:08Z")

</div>

Hi, I’m developing an engine with a controller, and I have problems to configure the routing. The engine is located in vendor/plugins/web\_file\_attachment. Under that directory: the controller is in app/controllers…

---

## [Controller mixins not present in tests?](https://www.ruby-forum.com/t/controller-mixins-not-present-in-tests/151599)

<div class="topic-metadata">

**Author:** [@Antonio\_Tapiador\_de](https://www.ruby-forum.com/u/Antonio_Tapiador_de)\
**Replies:** 1\
**Last updated:** [October 29, 2008, 4:49pm UTC](https://www.ruby-forum.com/t/controller-mixins-not-present-in-tests/151599 "2008-10-29T16:49:47Z")

</div>

I’m using Controller mixins in an application, overwriding just one method from the plugin. Everything works fine in develpment env, but when passing tests, it seems like the Controller from the plugin isn’t loaded: …

---

## [How to install community engine on windows?](https://www.ruby-forum.com/t/how-to-install-community-engine-on-windows/150418)

<div class="topic-metadata">

**Author:** [@sray](https://www.ruby-forum.com/u/sray)\
**Replies:** 1\
**Last updated:** [October 20, 2008, 4:15pm UTC](https://www.ruby-forum.com/t/how-to-install-community-engine-on-windows/150418 "2008-10-20T16:15:34Z")

</div>

Hi Can any body please tell me how can i install community engine on windows XP OS as i downloaded it from http://git.or.cz/.But the commands which is mention on Sign in - Google Accounts â€¦ ocial-site doesn’t work …

---

## [Can not update my data base using "update\_attributes"](https://www.ruby-forum.com/t/can-not-update-my-data-base-using-update-attributes/128766)

<div class="topic-metadata">

**Author:** [@sshefer](https://www.ruby-forum.com/u/sshefer)\
**Replies:** 2\
**Last updated:** [October 19, 2008, 11:52am UTC](https://www.ruby-forum.com/t/can-not-update-my-data-base-using-update-attributes/128766 "2008-10-19T11:52:35Z")

</div>

Hello, I have this problem that my rails application works fine in development environment on my local Linux and windows system but when I uploaded it to work on the server in production environment I have this proble…

---

## [How do I use migrations?](https://www.ruby-forum.com/t/how-do-i-use-migrations/150273)

<div class="topic-metadata">

**Author:** [@Gary\_Taylor](https://www.ruby-forum.com/u/Gary_Taylor)\
**Replies:** 1\
**Last updated:** [October 6, 2008, 11:36pm UTC](https://www.ruby-forum.com/t/how-do-i-use-migrations/150273 "2008-10-06T23:36:41Z")

</div>

Hi, I have been using engines for a month or so and have been using the migration generator which simply puts a migration in the normal place which then asks the relevant engines plugin to do the migration. But, if m…

---

## [Will Engines drop tables on downward migration?](https://www.ruby-forum.com/t/will-engines-drop-tables-on-downward-migration/149598)

<div class="topic-metadata">

**Author:** [@yetanothergeek](https://www.ruby-forum.com/u/yetanothergeek)\
**Replies:** 1\
**Last updated:** [September 29, 2008, 6:26am UTC](https://www.ruby-forum.com/t/will-engines-drop-tables-on-downward-migration/149598 "2008-09-29T06:26:03Z")

</div>

Greetings fellow Railites, Last night I converted an existing Rails app to be Engines based. The transition was very easy, which was great, but I was left scratching my head with Engines’ migration handling. After mo…

---

## [Is it just me or all all engines links set up as only\_path =\> false?](https://www.ruby-forum.com/t/is-it-just-me-or-all-all-engines-links-set-up-as-only-path-false/149709)

<div class="topic-metadata">

**Author:** [@yossarian](https://www.ruby-forum.com/u/yossarian)\
**Replies:** 1\
**Last updated:** [September 28, 2008, 9:14pm UTC](https://www.ruby-forum.com/t/is-it-just-me-or-all-all-engines-links-set-up-as-only-path-false/149709 "2008-09-28T21:14:11Z")

</div>

Hi there, Is it the case that all links in engines seem to ignore the default Rails only\_path =\> false option? Every link\_to in my Engine results in links like: Back to articles whereas the non-engine views in the …

---

## [Reinit assets per request](https://www.ruby-forum.com/t/reinit-assets-per-request/148597)

<div class="topic-metadata">

**Author:** [@fero](https://www.ruby-forum.com/u/fero)\
**Replies:** 0\
**Last updated:** [September 15, 2008, 2:09pm UTC](https://www.ruby-forum.com/t/reinit-assets-per-request/148597 "2008-09-15T14:09:06Z")

</div>

Hi there. I am developing rails engine/plugin and I am changing CSS an JS files. How to configure application/engines to re-copy assets directory (of selected plugin(s)) to public directory PER REQUEST? (and thus have…

---

## [Some questions](https://www.ruby-forum.com/t/some-questions/147559)

<div class="topic-metadata">

**Author:** [@Chris\_Griffin](https://www.ruby-forum.com/u/Chris_Griffin)\
**Replies:** 2\
**Last updated:** [September 3, 2008, 6:58am UTC](https://www.ruby-forum.com/t/some-questions/147559 "2008-09-03T06:58:00Z")

</div>

First of all the two links to articles on building plugins to take advantage for engines are broken. a guide building plugins that can take advantage of the engines pluginâ€™s features best introductions to developin…

---

## [Problems with model inheritance in development](https://www.ruby-forum.com/t/problems-with-model-inheritance-in-development/147211)

<div class="topic-metadata">

**Author:** [@Antonio\_Tapiador\_de](https://www.ruby-forum.com/u/Antonio_Tapiador_de)\
**Replies:** 1\
**Last updated:** [September 1, 2008, 12:13pm UTC](https://www.ruby-forum.com/t/problems-with-model-inheritance-in-development/147211 "2008-09-01T12:13:51Z")

</div>

Hi! I have problems when a model inherits from another ActiveRecord model: class Space \< ActiveRecord::Base end class Project \< Space end This only happens in development environment. Not in production, neither in …

---

## [Selenium + Engines](https://www.ruby-forum.com/t/selenium-engines/146225)

<div class="topic-metadata">

**Author:** [@subimage](https://www.ruby-forum.com/u/subimage)\
**Replies:** 3\
**Last updated:** [August 29, 2008, 12:53pm UTC](https://www.ruby-forum.com/t/selenium-engines/146225 "2008-08-29T12:53:15Z")

</div>

Has anyone gotten Selenium working with engines? Any pointers or tips one can pass along? I’m investigating right now, but there doesn’t seem to be much info on the subject.

---

## [Filters order in Controllers](https://www.ruby-forum.com/t/filters-order-in-controllers/147106)

<div class="topic-metadata">

**Author:** [@Antonio\_Tapiador\_de](https://www.ruby-forum.com/u/Antonio_Tapiador_de)\
**Replies:** 3\
**Last updated:** [August 29, 2008, 12:50pm UTC](https://www.ruby-forum.com/t/filters-order-in-controllers/147106 "2008-08-29T12:50:18Z")

</div>

Hi! I’m moving my CMSplugin to Rails Engines, as it’s a very nice framework for certain features. Thank you! However, I’ve a problem with filters in Controllers. In my plugin I have the following code: class PostsC…

---

## [Trying to Upgrade from Rails 1.2 to 2.1](https://www.ruby-forum.com/t/trying-to-upgrade-from-rails-1-2-to-2-1/146097)

<div class="topic-metadata">

**Author:** [@slain](https://www.ruby-forum.com/u/slain)\
**Replies:** 2\
**Last updated:** [August 17, 2008, 9:06pm UTC](https://www.ruby-forum.com/t/trying-to-upgrade-from-rails-1-2-to-2-1/146097 "2008-08-17T21:06:14Z")

</div>

Hey, I’m trying to upgrade my rails projects that use engines to Rails 2.1. Currently I am stuck at: c:/dev/ruby/lib/ruby/gems/1.8/gems/rails-2.1.0/lib/rails/plugin/loader.rb:145:in \`ensure\_all\_registered\_plugins\_are…

---

## [Trouble with edge rails](https://www.ruby-forum.com/t/trouble-with-edge-rails/134579)

<div class="topic-metadata">

**Author:** [@benjohnson](https://www.ruby-forum.com/u/benjohnson)\
**Replies:** 3\
**Last updated:** [July 29, 2008, 2:52pm UTC](https://www.ruby-forum.com/t/trouble-with-edge-rails/134579 "2008-07-29T14:52:06Z")

</div>

I just joined the list, I’m sure this has been asked before. I just updated to the latest edge rails and am having all kinds of problems with engines. Specifically around setting view\_paths. Rails moved all of that to…

---

## [New ways of protection and exchange of information](https://www.ruby-forum.com/t/new-ways-of-protection-and-exchange-of-information/143616)

<div class="topic-metadata">

**Author:** [@nik\_andr](https://www.ruby-forum.com/u/nik_andr)\
**Replies:** 0\
**Last updated:** [July 21, 2008, 8:08am UTC](https://www.ruby-forum.com/t/new-ways-of-protection-and-exchange-of-information/143616 "2008-07-21T08:08:13Z")

</div>

Inventing and programmes implemented in the form of encryption algorithm random objects. Features: 1) you can specify a list of characters to be zashifrovyvaniyu and only they will be encrypted. For example, in biling…

---

## [Plugins within plugins](https://www.ruby-forum.com/t/plugins-within-plugins/143396)

<div class="topic-metadata">

**Author:** [@Miles\_G](https://www.ruby-forum.com/u/Miles_G)\
**Replies:** 2\
**Last updated:** [July 18, 2008, 9:22am UTC](https://www.ruby-forum.com/t/plugins-within-plugins/143396 "2008-07-18T09:22:10Z")

</div>

can a plugin have a vendor/plugins directory within it and have that automatically used? I’m wondering if I have plugin A that depends on plugin B/C if I have to install B/C in every project that uses A or if I can ju…

---

## [Mail\_fetcher socket error](https://www.ruby-forum.com/t/mail-fetcher-socket-error/142792)

<div class="topic-metadata">

**Author:** [@axees335](https://www.ruby-forum.com/u/axees335)\
**Replies:** 0\
**Last updated:** [July 11, 2008, 4:36pm UTC](https://www.ruby-forum.com/t/mail-fetcher-socket-error/142792 "2008-07-11T16:36:40Z")

</div>

Hi, I am using the mail\_fetcher from rubyforge.org/var/svn/slantwise/fetcher as described in Advanced Rails Recipes, Recipe 40. It works great, but every once in a while I get a SocketError and it dies with the er…

---

## [Rspec?](https://www.ruby-forum.com/t/rspec/140213)

<div class="topic-metadata">

**Author:** [@cleaner416](https://www.ruby-forum.com/u/cleaner416)\
**Replies:** 0\
**Last updated:** [June 11, 2008, 10:40pm UTC](https://www.ruby-forum.com/t/rspec/140213 "2008-06-11T22:40:10Z")

</div>

Anyone using rspec to spec/test engines? If so I’d would love to see some source code … Thanks!

---

## [Migrations with 2.1 and engines trunk](https://www.ruby-forum.com/t/migrations-with-2-1-and-engines-trunk/139732)

<div class="topic-metadata">

**Author:** [@tekin](https://www.ruby-forum.com/u/tekin)\
**Replies:** 5\
**Last updated:** [June 9, 2008, 1:18pm UTC](https://www.ruby-forum.com/t/migrations-with-2-1-and-engines-trunk/139732 "2008-06-09T13:18:26Z")

</div>

Hi, Are migrations currently broken because of the changes to Rails in 2.1? I can migrate a plugin first time, but when I add a new migration to the plugin and try and migrate up, rather than migrating from the curren…

---

## [When starting rails 2.0.2 i get the following error](https://www.ruby-forum.com/t/when-starting-rails-2-0-2-i-get-the-following-error/135736)

<div class="topic-metadata">

**Author:** [@Kevin\_Pratt](https://www.ruby-forum.com/u/Kevin_Pratt)\
**Replies:** 6\
**Last updated:** [June 5, 2008, 5:07am UTC](https://www.ruby-forum.com/t/when-starting-rails-2-0-2-i-get-the-following-error/135736 "2008-06-05T05:07:18Z")

</div>

I believe that my issue is releated to ticket http://dev.rails-engines.org/ticket/285 Has there been any headway on this particular issue? Error message. /Library/Ruby/Gems/1.8/gems/activesupport-2.0.2/lib/active\_sup…

---

## [If Engines 1.2: Engines are dead why we still needed?](https://www.ruby-forum.com/t/if-engines-1-2-engines-are-dead-why-we-still-needed/139238)

<div class="topic-metadata">

**Author:** [@betame342](https://www.ruby-forum.com/u/betame342)\
**Replies:** 0\
**Last updated:** [June 2, 2008, 7:50am UTC](https://www.ruby-forum.com/t/if-engines-1-2-engines-are-dead-why-we-still-needed/139238 "2008-06-02T07:50:08Z")

</div>

Hi, From the article below “Engines 1.2: Engines are dead” http://rails-engines.org/news/2007/01/03/engines-are-dead-long-live-engines/ if engines are dead why we still need it? and how easy is it to convert current …

---

## [\[ANN\] Engines 1.2.2](https://www.ruby-forum.com/t/ann-engines-1-2-2/138127)

<div class="topic-metadata">

**Author:** [@turnip](https://www.ruby-forum.com/u/turnip)\
**Replies:** 0\
**Last updated:** [May 20, 2008, 1:38pm UTC](https://www.ruby-forum.com/t/ann-engines-1-2-2/138127 "2008-05-20T13:38:38Z")

</div>

Hi, I have just tagged 1.2.2: http://svn.rails-engines.org/engines/tags/rel\_1.2.2 Regards, Jon CHANGELOG = 1.2.2 Added the ability to code mix different types of files, cleaning up the existing code-mixing imp…

---

## [Download code](https://www.ruby-forum.com/t/download-code/196670)

<div class="topic-metadata">

**Author:** [@sunfish](https://www.ruby-forum.com/u/sunfish)\
**Replies:** 0\
**Last updated:** [May 6, 2008, 3:07pm UTC](https://www.ruby-forum.com/t/download-code/196670 "2008-05-06T15:07:50Z")

</div>

hi i am my application i want a some link in which when a user click a file from my server get downloaded to user site. please reply urgent.

---

## [Rule engine?](https://www.ruby-forum.com/t/rule-engine/196668)

<div class="topic-metadata">

**Author:** [@varunkumargoel](https://www.ruby-forum.com/u/varunkumargoel)\
**Replies:** 0\
**Last updated:** [May 6, 2008, 2:18pm UTC](https://www.ruby-forum.com/t/rule-engine/196668 "2008-05-06T14:18:14Z")

</div>

Hi, I wanna make one dynamic rule engine for that suppose i create one rule designation equals Project Leader. Now my question is that now how i will validate this rule and how i will check condition for this in cont…

---

## [Installing problem](https://www.ruby-forum.com/t/installing-problem/135814)

<div class="topic-metadata">

**Author:** [@zemariamm](https://www.ruby-forum.com/u/zemariamm)\
**Replies:** 0\
**Last updated:** [April 25, 2008, 8:42am UTC](https://www.ruby-forum.com/t/installing-problem/135814 "2008-04-25T08:42:00Z")

</div>

Hello guys, I’ve used rails engines in the past, but now I was configuring a new system and I can’t get the engines to work, when I try to generate the migrations for the plugins with the command: ruby script/generat…

---

## [Roole rule Engine?](https://www.ruby-forum.com/t/roole-rule-engine/197175)

<div class="topic-metadata">

**Author:** [@varunkumargoel](https://www.ruby-forum.com/u/varunkumargoel)\
**Replies:** 0\
**Last updated:** [April 22, 2008, 12:31pm UTC](https://www.ruby-forum.com/t/roole-rule-engine/197175 "2008-04-22T12:31:57Z")

</div>

Hi All, Any one worked on Rools rule engine.If yes pls tell me some idea that how to use this and how can i make most of it. Need your help… Thanks, Varun

---

## [Datetime\_toolbocks and Engines error](https://www.ruby-forum.com/t/datetime-toolbocks-and-engines-error/131596)

<div class="topic-metadata">

**Author:** [@joxor](https://www.ruby-forum.com/u/joxor)\
**Replies:** 2\
**Last updated:** [March 12, 2008, 11:18am UTC](https://www.ruby-forum.com/t/datetime-toolbocks-and-engines-error/131596 "2008-03-12T11:18:05Z")

</div>

Hi Guys, Does anyone know why this happens and perhaps what to do to fix it? ====== user@box: $ ./script/runner ‘puts Rails::VERSION::STRING’ /vendor/plugins/datetime\_toolbocks/init.rb:25:in evaluate\_init\_rb': undefi…

---

## [Engines + Exception Notifier = Can't find template file](https://www.ruby-forum.com/t/engines-exception-notifier-cant-find-template-file/128928)

<div class="topic-metadata">

**Author:** [@ratkins](https://www.ruby-forum.com/u/ratkins)\
**Replies:** 2\
**Last updated:** [February 14, 2008, 5:13am UTC](https://www.ruby-forum.com/t/engines-exception-notifier-cant-find-template-file/128928 "2008-02-14T05:13:16Z")

</div>

Engine-Users mailing list removed\_email\_address@domain.invalid http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org

---

## [Trouble setting up debugger (ruby-debug in Rails 2.0)](https://www.ruby-forum.com/t/trouble-setting-up-debugger-ruby-debug-in-rails-2-0/124541)

<div class="topic-metadata">

**Author:** [@donkeytastic](https://www.ruby-forum.com/u/donkeytastic)\
**Replies:** 2\
**Last updated:** [February 6, 2008, 3:58am UTC](https://www.ruby-forum.com/t/trouble-setting-up-debugger-ruby-debug-in-rails-2-0/124541 "2008-02-06T03:58:44Z")

</div>

So I’m a newbie, trying to get better with the testing and debugging. Upgraded to Rails 2.0 and decided to use the ruby-debug gem. Installed gem successfully… gem install ruby-debug Successfully installed ruby-debu…

[Previous page](https://www.ruby-forum.com/c/ruby-on-rails/rails-engines/9.md?page=1)

[Next page](https://www.ruby-forum.com/c/ruby-on-rails/rails-engines/9.md?page=3)
