# Engines

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

[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:** 5

---

## [Re: Configuration/Initialization question](https://www.ruby-forum.com/t/re-configuration-initialization-question/113106)

<div class="topic-metadata">

**Author:** [@Trevor\_Rowe](https://www.ruby-forum.com/u/Trevor_Rowe)\
**Replies:** 11\
**Last updated:** [August 29, 2007, 3:28pm UTC](https://www.ruby-forum.com/t/re-configuration-initialization-question/113106 "2007-08-29T15:28:40Z")

</div>

I too am annoyed by having to restart my server frequently when editing plugin assets. You symlink suggestion seems like it would work, but I have a question. Doesn’t it just end up copying all the plugin asset files…

---

## [Configuration/Initialization question](https://www.ruby-forum.com/t/configuration-initialization-question/112911)

<div class="topic-metadata">

**Author:** [@Bart\_D](https://www.ruby-forum.com/u/Bart_D)\
**Replies:** 7\
**Last updated:** [August 27, 2007, 2:04pm UTC](https://www.ruby-forum.com/t/configuration-initialization-question/112911 "2007-08-27T14:04:03Z")

</div>

Hi, Maybe I’m overseeing something, what is the right place to put Engines. (eg public paths) so that it is correctly used ? (or more generally MyPlugin.config; so that init.rb of my plugin behaves differently on sta…

---

## [Require pdf failing](https://www.ruby-forum.com/t/require-pdf-failing/112715)

<div class="topic-metadata">

**Author:** [@neha-rohan](https://www.ruby-forum.com/u/neha-rohan)\
**Replies:** 0\
**Last updated:** [August 22, 2007, 2:38pm UTC](https://www.ruby-forum.com/t/require-pdf-failing/112715 "2007-08-22T14:38:25Z")

</div>

Hi, We are using Rails 1.2.1 and Ruby 1.8.5 We have require ‘pdf/writer’ require ‘pdf/simpletable’ Earlier it was done in the controller class but now we have moved it to environment.rb. But still sometimes we get …

---

## [HOWTO generate rails skeleton](https://www.ruby-forum.com/t/howto-generate-rails-skeleton/112693)

<div class="topic-metadata">

**Author:** [@hhifnawi](https://www.ruby-forum.com/u/hhifnawi)\
**Replies:** 1\
**Last updated:** [August 22, 2007, 9:48am UTC](https://www.ruby-forum.com/t/howto-generate-rails-skeleton/112693 "2007-08-22T09:48:14Z")

</div>

NEED help: My group are working on rails IDE and we’re in the wizard part now and we’re trying to generate the Rails skeleton and we looked in the rubygems and found in gems/1.8/gems/rails-1.2.2 /lib/rails\_generato…

---

## [HOWTO generate the skeleton of rails](https://www.ruby-forum.com/t/howto-generate-the-skeleton-of-rails/196442)

<div class="topic-metadata">

**Author:** [@hhifnawi](https://www.ruby-forum.com/u/hhifnawi)\
**Replies:** 0\
**Last updated:** [August 22, 2007, 4:02am UTC](https://www.ruby-forum.com/t/howto-generate-the-skeleton-of-rails/196442 "2007-08-22T04:02:12Z")

</div>

NEED help: My group are working on rails IDE and we’re in the wizard part now and we’re trying to generate the Rails skeleton and we looked in the rubygems and found in gems/1.8/gems/rails-1.2.2/lib/rails\_generator/g…

---

## [Engines and edge rails](https://www.ruby-forum.com/t/engines-and-edge-rails/102762)

<div class="topic-metadata">

**Author:** [@davidstokar](https://www.ruby-forum.com/u/davidstokar)\
**Replies:** 8\
**Last updated:** [August 7, 2007, 9:06pm UTC](https://www.ruby-forum.com/t/engines-and-edge-rails/102762 "2007-08-07T21:06:50Z")

</div>

Hi there, We’re using engines heavily in our current app - problem is that we’ve seen the lovely patch DHH just committed to edge rails to allow easy namespacing of routes ( http://railstips.org/2007/4/28/namespaces-…

---

## [Engines vs plugins](https://www.ruby-forum.com/t/engines-vs-plugins/111322)

<div class="topic-metadata">

**Author:** [@crucoba](https://www.ruby-forum.com/u/crucoba)\
**Replies:** 0\
**Last updated:** [August 5, 2007, 11:54pm UTC](https://www.ruby-forum.com/t/engines-vs-plugins/111322 "2007-08-05T23:54:48Z")

</div>

hi engineers… we’re just planning whether to use engines or build something around plugins, interested to know what success others are having. “engines” seem to allow most of what i need, but i have some concerns. th…

---

## [Engines vs plugins](https://www.ruby-forum.com/t/engines-vs-plugins/111321)

<div class="topic-metadata">

**Author:** [@d3ntaku2](https://www.ruby-forum.com/u/d3ntaku2)\
**Replies:** 0\
**Last updated:** [August 5, 2007, 11:43pm UTC](https://www.ruby-forum.com/t/engines-vs-plugins/111321 "2007-08-05T23:43:55Z")

</div>

hi engineers… we’re just planning whether to use engines or build something around plugins, interested to know what success others are having. “engines” seem to allow most of what i need, but they dont seem to be get…

---

## [Mongrel dies with no Exceptions](https://www.ruby-forum.com/t/mongrel-dies-with-no-exceptions/111180)

<div class="topic-metadata">

**Author:** [@stanislavb](https://www.ruby-forum.com/u/stanislavb)\
**Replies:** 0\
**Last updated:** [August 3, 2007, 4:24pm UTC](https://www.ruby-forum.com/t/mongrel-dies-with-no-exceptions/111180 "2007-08-03T16:24:51Z")

</div>

Hi all, I have a difficult to debug problem. It regards mongrel\_rails. I use these versions: Linux kernel 2.6.21-1.3194.fc7 Mongrel Web Server 1.0.1 Rails 1.2.3 mysql-5.0.37-2.fc7 I use mongrel\_cluster with 8 inst…

---

## [Engines 1.2.1 released](https://www.ruby-forum.com/t/engines-1-2-1-released/111085)

<div class="topic-metadata">

**Author:** [@nitr0z](https://www.ruby-forum.com/u/nitr0z)\
**Replies:** 2\
**Last updated:** [August 2, 2007, 3:24pm UTC](https://www.ruby-forum.com/t/engines-1-2-1-released/111085 "2007-08-02T15:24:07Z")

</div>

FYI, I just updated the release version and created a new tag for the 1.2.1 release of the engines plugin. Only a couple of minor bugfixes in this one, notably for testing. If you spot any further issues, please do le…

---

## [Re: Rails engine migration not loading Rails Engine?](https://www.ruby-forum.com/t/re-rails-engine-migration-not-loading-rails-engine/111036)

<div class="topic-metadata">

**Author:** [@Ron\_Evans](https://www.ruby-forum.com/u/Ron_Evans)\
**Replies:** 0\
**Last updated:** [August 2, 2007, 2:38am UTC](https://www.ruby-forum.com/t/re-rails-engine-migration-not-loading-rails-engine/111036 "2007-08-02T02:38:42Z")

</div>

It was indeed a problem with the Savage Beast plugin’s use of GetText. Removing those bits got my migration running quickly… thanks again for the suggestion! On 8/1/07, removed\_email\_address@domain.invalid \<

---

## [Rails engine migration not loading Rails Engine?](https://www.ruby-forum.com/t/rails-engine-migration-not-loading-rails-engine/110970)

<div class="topic-metadata">

**Author:** [@Ron\_Evans](https://www.ruby-forum.com/u/Ron_Evans)\
**Replies:** 1\
**Last updated:** [August 1, 2007, 4:28pm UTC](https://www.ruby-forum.com/t/rails-engine-migration-not-loading-rails-engine/110970 "2007-08-01T16:28:36Z")

</div>

I am trying to run a Rails Engine migration, however, the rake task is acting like the Rails Engine plugin has not been loaded. Is there some include that is missing from the Rails Engine plugin install, or that I sho…

---

## [Is engines broken in Rails 1.2.3?](https://www.ruby-forum.com/t/is-engines-broken-in-rails-1-2-3/110594)

<div class="topic-metadata">

**Author:** [@hatless](https://www.ruby-forum.com/u/hatless)\
**Replies:** 1\
**Last updated:** [July 30, 2007, 4:11pm UTC](https://www.ruby-forum.com/t/is-engines-broken-in-rails-1-2-3/110594 "2007-07-30T16:11:12Z")

</div>

A few hours ago I factored out one of my AR models that I’d be reusing into a minimalist plugin. I copied the model into the plugin’s lib/, added a line to init.rb to load it, and the model was now present in the cons…

---

## [Updatede how-to](https://www.ruby-forum.com/t/updatede-how-to/109080)

<div class="topic-metadata">

**Author:** [@isbof](https://www.ruby-forum.com/u/isbof)\
**Replies:** 0\
**Last updated:** [July 11, 2007, 11:41am UTC](https://www.ruby-forum.com/t/updatede-how-to/109080 "2007-07-11T11:41:45Z")

</div>

Hi, I’m playing with engines (1.2), but I can’t seem to get it to work. Is there any up to date how-to or tutorials regarding making a engine? Best regards, Rasmus (isbof)

---

## [Application.rb overload?](https://www.ruby-forum.com/t/application-rb-overload/107542)

<div class="topic-metadata">

**Author:** [@pgundlach](https://www.ruby-forum.com/u/pgundlach)\
**Replies:** 5\
**Last updated:** [June 26, 2007, 6:01pm UTC](https://www.ruby-forum.com/t/application-rb-overload/107542 "2007-06-26T18:01:54Z")

</div>

Hi, I have an authentification application with methods such as “logged\_in?” in controllers/application.rb. But when I moved the application.rb from a real app to an engine, these methods are not known anymore. I call…

---

## [Active\_rbac](https://www.ruby-forum.com/t/active-rbac/107460)

<div class="topic-metadata">

**Author:** [@javier\_barcena](https://www.ruby-forum.com/u/javier_barcena)\
**Replies:** 1\
**Last updated:** [June 22, 2007, 10:43am UTC](https://www.ruby-forum.com/t/active-rbac/107460 "2007-06-22T10:43:50Z")

</div>

Hi. Dr. james.! law post where you commented that it activates rbac was supported by engines. 1.2 now after three months of that post seguis maintaining to deuce? I ask to you because profit not to make it work, obvio…

---

## [New migration method is not dry](https://www.ruby-forum.com/t/new-migration-method-is-not-dry/106284)

<div class="topic-metadata">

**Author:** [@arjackson](https://www.ruby-forum.com/u/arjackson)\
**Replies:** 2\
**Last updated:** [June 9, 2007, 5:55am UTC](https://www.ruby-forum.com/t/new-migration-method-is-not-dry/106284 "2007-06-09T05:55:03Z")

</div>

I’m confused why the move was made to made to rake plugin\_migration. If I have a bunch of apps that use the same engine, now if I change the engine schema I need to make sure I add the migrations to each app, with pl…

---

## [Instantiating new engine controller?](https://www.ruby-forum.com/t/instantiating-new-engine-controller/105097)

<div class="topic-metadata">

**Author:** [@Marc\_Hassman](https://www.ruby-forum.com/u/Marc_Hassman)\
**Replies:** 2\
**Last updated:** [May 29, 2007, 5:54pm UTC](https://www.ruby-forum.com/t/instantiating-new-engine-controller/105097 "2007-05-29T17:54:53Z")

</div>

I am trying to do some dynamic instantiation trickery and have found success, up to the point where my view is to be rendered. When I call an action and let the new controller render, it tries to render out of the ap…

---

## [Why are files in publyic done differently?](https://www.ruby-forum.com/t/why-are-files-in-publyic-done-differently/105208)

<div class="topic-metadata">

**Author:** [@arjackson](https://www.ruby-forum.com/u/arjackson)\
**Replies:** 0\
**Last updated:** [May 27, 2007, 6:27am UTC](https://www.ruby-forum.com/t/why-are-files-in-publyic-done-differently/105208 "2007-05-27T06:27:32Z")

</div>

Hi all, With engines, the general use case is to create your own local methods to override any classes the engine creates. Why then are assets (ie stylesheets/javascripts etc) treated differently? They’re copied to …

---

## [Engines And Controller Modules](https://www.ruby-forum.com/t/engines-and-controller-modules/104022)

<div class="topic-metadata">

**Author:** [@Eric\_Jensen](https://www.ruby-forum.com/u/Eric_Jensen)\
**Replies:** 1\
**Last updated:** [May 27, 2007, 6:09am UTC](https://www.ruby-forum.com/t/engines-and-controller-modules/104022 "2007-05-27T06:09:56Z")

</div>

I’ve been using engines over the weekend and have been very pleased with my smaller test apps. But I’m now trying a more complex app and running into some issues. This app uses the controller modules, I.E. class Adm…

---

## [Rake aborted! Object is not missing constant LoginEngine!](https://www.ruby-forum.com/t/rake-aborted-object-is-not-missing-constant-loginengine/104646)

<div class="topic-metadata">

**Author:** [@javier\_barcena](https://www.ruby-forum.com/u/javier_barcena)\
**Replies:** 1\
**Last updated:** [May 27, 2007, 5:58am UTC](https://www.ruby-forum.com/t/rake-aborted-object-is-not-missing-constant-loginengine/104646 "2007-05-27T05:58:23Z")

</div>

Hello James. a question. because I have east error. stick the code therefore you help me. thanks. dummies javier@dummies:~/rails\_app/martina$ script/generate plugin\_migration create db/migrate create db/migrate/001…

---

## [Is engine for me or how do i solve this with engine?](https://www.ruby-forum.com/t/is-engine-for-me-or-how-do-i-solve-this-with-engine/93208)

<div class="topic-metadata">

**Author:** [@Linn\_Hutchinson](https://www.ruby-forum.com/u/Linn_Hutchinson)\
**Replies:** 1\
**Last updated:** [May 27, 2007, 5:08am UTC](https://www.ruby-forum.com/t/is-engine-for-me-or-how-do-i-solve-this-with-engine/93208 "2007-05-27T05:08:36Z")

</div>

Hi: I have many small rails app under i.e app1, app2, app3 these are all independent applications except they all uses “same database”. Now I was thinking I would make a “common app” which can become an engine. Which …

---

## [Because I have east error?](https://www.ruby-forum.com/t/because-i-have-east-error/129605)

<div class="topic-metadata">

**Author:** [@javier\_barcena](https://www.ruby-forum.com/u/javier_barcena)\
**Replies:** 5\
**Last updated:** [May 23, 2007, 7:38pm UTC](https://www.ruby-forum.com/t/because-i-have-east-error/129605 "2007-05-23T19:38:48Z")

</div>

Hello James. a question. because I have east error. stick the code therefore you help me. thanks. dummies javier@dummies:~/rails\_app/martina$ script/generate plugin\_migration create db/migrate create db/migrate/001…

---

## [Don't know how to build task 'db:migrate:engines'](https://www.ruby-forum.com/t/dont-know-how-to-build-task-dbengines/104593)

<div class="topic-metadata">

**Author:** [@javier\_barcena](https://www.ruby-forum.com/u/javier_barcena)\
**Replies:** 4\
**Last updated:** [May 21, 2007, 12:00am UTC](https://www.ruby-forum.com/t/dont-know-how-to-build-task-dbengines/104593 "2007-05-21T00:00:28Z")

</div>

hello, that instruction is used now to use rake db: migrate engine? Thanks,

---

## [Design guidance for for Plug-in/Engine based application](https://www.ruby-forum.com/t/design-guidance-for-for-plug-in-engine-based-application/103978)

<div class="topic-metadata">

**Author:** [@dondi](https://www.ruby-forum.com/u/dondi)\
**Replies:** 0\
**Last updated:** [May 12, 2007, 8:00am UTC](https://www.ruby-forum.com/t/design-guidance-for-for-plug-in-engine-based-application/103978 "2007-05-12T08:00:43Z")

</div>

Hello, Is the following app suitable to a Plug-in based app architecture? I have been researching this for some time and have not found a clear-cut perspective to date. I did receive some generous feedback from a po…

---

## [Don't know how to build task 'engine\_migrate'](https://www.ruby-forum.com/t/dont-know-how-to-build-task-engine-migrate/56402)

<div class="topic-metadata">

**Author:** [@ATATAT](https://www.ruby-forum.com/u/ATATAT)\
**Replies:** 12\
**Last updated:** [May 9, 2007, 10:46pm UTC](https://www.ruby-forum.com/t/dont-know-how-to-build-task-engine-migrate/56402 "2007-05-09T22:46:36Z")

</div>

I get the following error when trying to install riki. rake engine\_migrate ENGINE=riki rake aborted! Don’t know how to build task ‘engine\_migrate’ Anyone know what causes this. I had the same issue with the login e…

---

## [The engines plugin is now installed, or is it?](https://www.ruby-forum.com/t/the-engines-plugin-is-now-installed-or-is-it/103118)

<div class="topic-metadata">

**Author:** [@ungaro](https://www.ruby-forum.com/u/ungaro)\
**Replies:** 0\
**Last updated:** [May 2, 2007, 12:40am UTC](https://www.ruby-forum.com/t/the-engines-plugin-is-now-installed-or-is-it/103118 "2007-05-02T00:40:34Z")

</div>

i’ve installed the engines plug-in, and got this lovely message: The engines plugin is now installed. Feels good, right? Yeah. … also i’ve added these lines to my environment.rb ADMIN\_PAGE\_DIR=“page” Engines.start :…

---

## [Engines and current edge rails](https://www.ruby-forum.com/t/engines-and-current-edge-rails/93280)

<div class="topic-metadata">

**Author:** [@davidstokar](https://www.ruby-forum.com/u/davidstokar)\
**Replies:** 0\
**Last updated:** [April 30, 2007, 12:21pm UTC](https://www.ruby-forum.com/t/engines-and-current-edge-rails/93280 "2007-04-30T12:21:42Z")

</div>

Hi there, We’re using engines heavily in our current app - problem is that we’ve seen the lovely patch DHH just committed to edge rails to allow easy namespacing of routes ( http://railstips.org/2007/4/28/namespaces-…

---

## [A bug with script/generate plugin\_migrations?](https://www.ruby-forum.com/t/a-bug-with-script-generate-plugin-migrations/93031)

<div class="topic-metadata">

**Author:** [@Trevor\_Rowe](https://www.ruby-forum.com/u/Trevor_Rowe)\
**Replies:** 2\
**Last updated:** [April 27, 2007, 5:36pm UTC](https://www.ruby-forum.com/t/a-bug-with-script-generate-plugin-migrations/93031 "2007-04-27T17:36:32Z")

</div>

I tried searching the mailing list for an answer with no luck. I’m hoping this is just user error: I recently upgraded my rails app to Rails 1.2.3 (from Rails 1.1.6) and upgraded to engines 1.2 at the same time. I r…

---

## [Using modules as namespaces within an engine](https://www.ruby-forum.com/t/using-modules-as-namespaces-within-an-engine/66645)

<div class="topic-metadata">

**Author:** [@caddleman](https://www.ruby-forum.com/u/caddleman)\
**Replies:** 3\
**Last updated:** [April 21, 2007, 6:44pm UTC](https://www.ruby-forum.com/t/using-modules-as-namespaces-within-an-engine/66645 "2007-04-21T18:44:13Z")

</div>

Hi folks, In writing an engine, it seems to me that I’d want to put all my model and controller classes within a namespace, to avoid name clashes with similarly named classes in the base application, or other engines.…

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

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