# Engines Development

**URL:** https://www.ruby-forum.com/c/ruby-on-rails/engines-dev/10.md?page=5

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

---

## [Rake tasks to copy files?](https://www.ruby-forum.com/t/rake-tasks-to-copy-files/54074)

<div class="topic-metadata">

**Author:** [@subimage](https://www.ruby-forum.com/u/subimage)\
**Replies:** 2\
**Last updated:** [February 23, 2006, 2:47am UTC](https://www.ruby-forum.com/t/rake-tasks-to-copy-files/54074 "2006-02-23T02:47:22Z")

</div>

How/when are the files in my engine’s public folder copied over into engine\_files? Is there a rake task or something I can call to transfer it over? I looked but I’m feeling that I might be missing something… Thanks …

---

## [Mysterious StackError with habtm on destroy](https://www.ruby-forum.com/t/mysterious-stackerror-with-habtm-on-destroy/70526)

<div class="topic-metadata">

**Author:** [@mhutter](https://www.ruby-forum.com/u/mhutter)\
**Replies:** 1\
**Last updated:** [February 19, 2006, 7:54pm UTC](https://www.ruby-forum.com/t/mysterious-stackerror-with-habtm-on-destroy/70526 "2006-02-19T19:54:55Z")

</div>

Hi I am getting a kind of mysterious error when deleting a group in my unit tests. I get this error when calling the “destroy” action in my controller, so the only different thing is that it is called from a unit tes…

---

## [Overriding the denied path](https://www.ruby-forum.com/t/overriding-the-denied-path/53975)

<div class="topic-metadata">

**Author:** [@rrwhite](https://www.ruby-forum.com/u/rrwhite)\
**Replies:** 0\
**Last updated:** [February 19, 2006, 12:15am UTC](https://www.ruby-forum.com/t/overriding-the-denied-path/53975 "2006-02-19T00:15:16Z")

</div>

I’ve looked around and since I’m still a bit of a ruby n00b I cannot figure out how to override the access\_denied method. I have one controller where I want to redirect the user to a different login page, how do I do…

---

## [Engine\_javascript only works in certain places?](https://www.ruby-forum.com/t/engine-javascript-only-works-in-certain-places/70242)

<div class="topic-metadata">

**Author:** [@seth](https://www.ruby-forum.com/u/seth)\
**Replies:** 2\
**Last updated:** [February 18, 2006, 11:49pm UTC](https://www.ruby-forum.com/t/engine-javascript-only-works-in-certain-places/70242 "2006-02-18T23:49:21Z")

</div>

I have engine\_javascript working fine in a layout file - inside of the HEAD tags. I’m trying to use it in a view template at the end of a file and I’m not getting anything. By design or is this a bug?

---

## [A quick question](https://www.ruby-forum.com/t/a-quick-question/53845)

<div class="topic-metadata">

**Author:** [@wgamin](https://www.ruby-forum.com/u/wgamin)\
**Replies:** 2\
**Last updated:** [February 16, 2006, 12:18am UTC](https://www.ruby-forum.com/t/a-quick-question/53845 "2006-02-16T00:18:38Z")

</div>

I’m very new to Rails, and I’m having trouble deciding where to put some code I wish to share across my applications, and possibly with the comunity at large. Here’s the scenario: I’m developing a personal website, …

---

## [Controller Namespace Support](https://www.ruby-forum.com/t/controller-namespace-support/100647)

<div class="topic-metadata">

**Author:** [@mhutter](https://www.ruby-forum.com/u/mhutter)\
**Replies:** 9\
**Last updated:** [February 3, 2006, 6:58pm UTC](https://www.ruby-forum.com/t/controller-namespace-support/100647 "2006-02-03T18:58:39Z")

</div>

Hi I’m currently working on making ActiveRBAC (https:// activerbac.turingstudio.com) into an engine. However, there seems to be a problem with Controllers and Namespaces. I want my controller to be in the “ActiveRBAC…

---

## [Getting error 405](https://www.ruby-forum.com/t/getting-error-405/99898)

<div class="topic-metadata">

**Author:** [@jeet](https://www.ruby-forum.com/u/jeet)\
**Replies:** 0\
**Last updated:** [February 1, 2006, 10:28pm UTC](https://www.ruby-forum.com/t/getting-error-405/99898 "2006-02-01T22:28:59Z")

</div>

I am trying to install rails engines using the command “ruby script\\plugin install engines” but getting the error svn: REPORT request failed on ‘/rails\_engines/!svn/vcc/default’ svn: REPORT of ‘/rails\_engines/!svn/vc…

---

## [Latest version](https://www.ruby-forum.com/t/latest-version/99053)

<div class="topic-metadata">

**Author:** [@nicksnels](https://www.ruby-forum.com/u/nicksnels)\
**Replies:** 1\
**Last updated:** [January 31, 2006, 2:13am UTC](https://www.ruby-forum.com/t/latest-version/99053 "2006-01-31T02:13:21Z")

</div>

Hi James and all, I remember seeing an e-mail asking if the latest version of the engines was working for me. I just wanted to report back that it is currently working as advertised. I haven’t had much of a chance to …

---

## [Weird user/login engine behaviour](https://www.ruby-forum.com/t/weird-user-login-engine-behaviour/52982)

<div class="topic-metadata">

**Author:** [@nicksnels](https://www.ruby-forum.com/u/nicksnels)\
**Replies:** 1\
**Last updated:** [January 22, 2006, 5:16pm UTC](https://www.ruby-forum.com/t/weird-user-login-engine-behaviour/52982 "2006-01-22T17:16:00Z")

</div>

Hi all, have a weird issue going on. I have something like the following to check out the current user information: \<%= “#{current\_user.id} / #{post.user.id}” %\> This is in a partial that gets rendered as a collection…

---

## [Dependencies Issues - New Fix Available](https://www.ruby-forum.com/t/dependencies-issues-new-fix-available/63869)

<div class="topic-metadata">

**Author:** [@nitr0z](https://www.ruby-forum.com/u/nitr0z)\
**Replies:** 0\
**Last updated:** [January 22, 2006, 1:02am UTC](https://www.ruby-forum.com/t/dependencies-issues-new-fix-available/63869 "2006-01-22T01:02:26Z")

</div>

As some of you might be aware, there have been a few recurring issues with the Engines plugin recently which caused some unexpected controller/helper loading behaviour. I’ve applied another fix to the release branch …

---

## [Cannot download the engine plugin](https://www.ruby-forum.com/t/cannot-download-the-engine-plugin/52584)

<div class="topic-metadata">

**Author:** [@Chris\_Laurie](https://www.ruby-forum.com/u/Chris_Laurie)\
**Replies:** 3\
**Last updated:** [January 20, 2006, 6:58am UTC](https://www.ruby-forum.com/t/cannot-download-the-engine-plugin/52584 "2006-01-20T06:58:48Z")

</div>

I tried to download the engine pluging using the ruby script/plugin method but it does not work. Here is the errors logged into console: C:\\Ruby\\InstantRails\\rails\_apps\\theapp\>ruby script\\plugin install engines scrip…

---

## [Thoughts about Engines 1.1, dependencies and code overloadin](https://www.ruby-forum.com/t/thoughts-about-engines-1-1-dependencies-and-code-overloadin/52696)

<div class="topic-metadata">

**Author:** [@nitr0z](https://www.ruby-forum.com/u/nitr0z)\
**Replies:** 4\
**Last updated:** [January 19, 2006, 4:22am UTC](https://www.ruby-forum.com/t/thoughts-about-engines-1-1-dependencies-and-code-overloadin/52696 "2006-01-19T04:22:21Z")

</div>

Hey guys, I’m toying with the idea of replacing the current code-overloading scheme in Engines (where it merges code from multiple controllers/helpers). What I might do instead is just have people use normal inherita…

---

## [Load issues with engines 1.0.5 - also some path problems](https://www.ruby-forum.com/t/load-issues-with-engines-1-0-5-also-some-path-problems/52721)

<div class="topic-metadata">

**Author:** [@subimage](https://www.ruby-forum.com/u/subimage)\
**Replies:** 2\
**Last updated:** [January 18, 2006, 7:37pm UTC](https://www.ruby-forum.com/t/load-issues-with-engines-1-0-5-also-some-path-problems/52721 "2006-01-18T19:37:04Z")

</div>

Just upgraded to 1.0.5 from 1.0.2 on my production app. Runs fine here in development mode on my test boxes but when I push it to the production server I’m getting an 500 error and the log is telling me this… Note th…

---

## [Couple of quick comments](https://www.ruby-forum.com/t/couple-of-quick-comments/52563)

<div class="topic-metadata">

**Author:** [@nicksnels](https://www.ruby-forum.com/u/nicksnels)\
**Replies:** 0\
**Last updated:** [January 16, 2006, 3:33pm UTC](https://www.ruby-forum.com/t/couple-of-quick-comments/52563 "2006-01-16T15:33:21Z")

</div>

Good news first, after a little struggle I have the user and login engines working together with out any changes made. Yeah! (running engines 1.0.5 and trunk from the user and login engines) One thing I’ve noticed, if…

---

## [Namespace Issues](https://www.ruby-forum.com/t/namespace-issues/95153)

<div class="topic-metadata">

**Author:** [@maurocicio](https://www.ruby-forum.com/u/maurocicio)\
**Replies:** 4\
**Last updated:** [January 14, 2006, 3:11am UTC](https://www.ruby-forum.com/t/namespace-issues/95153 "2006-01-14T03:11:43Z")

</div>

Abstract: It seems that the AnyModule::AnyModel shadows AnyModel. If you are in a hurry, please skip to “The Problem”. The idea One important topic in architecting engines is to make them as isolated as possible in t…

---

## [Stupid ruby controller question](https://www.ruby-forum.com/t/stupid-ruby-controller-question/90054)

<div class="topic-metadata">

**Author:** [@seth](https://www.ruby-forum.com/u/seth)\
**Replies:** 7\
**Last updated:** [January 14, 2006, 1:18am UTC](https://www.ruby-forum.com/t/stupid-ruby-controller-question/90054 "2006-01-14T01:18:39Z")

</div>

Thanks for all the help so far guys…here’s another one for the smart engine devs… Let’s say I have a MainController in my engine…and it has 4 actions inside there. Now let’s say I want to inherit that MainController …

---

## [Test (ignore)](https://www.ruby-forum.com/t/test-ignore/95145)

<div class="topic-metadata">

**Author:** [@andreas](https://www.ruby-forum.com/u/andreas)\
**Replies:** 1\
**Last updated:** [January 13, 2006, 4:30pm UTC](https://www.ruby-forum.com/t/test-ignore/95145 "2006-01-13T16:30:37Z")

</div>

testing

---

## [Re: Installation problems](https://www.ruby-forum.com/t/re-installation-problems/61182)

<div class="topic-metadata">

**Author:** [@mysorian](https://www.ruby-forum.com/u/mysorian)\
**Replies:** 0\
**Last updated:** [January 13, 2006, 3:25pm UTC](https://www.ruby-forum.com/t/re-installation-problems/61182 "2006-01-13T15:25:56Z")

</div>

I have on my machine previous installations of Apache and MySqL. At that time (also now) I could run Apache on port 80 after disconnecting my IIS. It does not happen now. I get the Apache warning that port 80 is used …

---

## [Wiki\_engine: installation problem](https://www.ruby-forum.com/t/wiki-engine-installation-problem/52376)

<div class="topic-metadata">

**Author:** [@maurocicio](https://www.ruby-forum.com/u/maurocicio)\
**Replies:** 0\
**Last updated:** [January 13, 2006, 11:52am UTC](https://www.ruby-forum.com/t/wiki-engine-installation-problem/52376 "2006-01-13T11:52:01Z")

</div>

Hi, I am interested in contributing to wiki\_engine, but at installation time I keep having problems at the DB tables creation time. In the following I report the error message I got and the Rails environment. $ rake…

---

## [Why do models behave this way?](https://www.ruby-forum.com/t/why-do-models-behave-this-way/52137)

<div class="topic-metadata">

**Author:** [@subimage](https://www.ruby-forum.com/u/subimage)\
**Replies:** 4\
**Last updated:** [January 13, 2006, 12:13am UTC](https://www.ruby-forum.com/t/why-do-models-behave-this-way/52137 "2006-01-13T00:13:50Z")

</div>

From the wiki… Because Engines takes care of some of the load path, Ruby itself will search for these files in order, and load the very first one it finds. The paths this search will check are, in order: \* your app/mo…

---

## [Engines layout/helper problem](https://www.ruby-forum.com/t/engines-layout-helper-problem/51827)

<div class="topic-metadata">

**Author:** [@andrewkendall](https://www.ruby-forum.com/u/andrewkendall)\
**Replies:** 0\
**Last updated:** [January 7, 2006, 8:49pm UTC](https://www.ruby-forum.com/t/engines-layout-helper-problem/51827 "2006-01-07T20:49:12Z")

</div>

Greeting, So I finally decided to start playing around with Rails Engines. After getting my initial controller problem solved (and I see it’s fixed in the 1.0.3 release), I have run into another issue which is giving…

---

## [\[ANN\] Engines plugin 1.0.3](https://www.ruby-forum.com/t/ann-engines-plugin-1-0-3/60043)

<div class="topic-metadata">

**Author:** [@nitr0z](https://www.ruby-forum.com/u/nitr0z)\
**Replies:** 0\
**Last updated:** [January 7, 2006, 7:18pm UTC](https://www.ruby-forum.com/t/ann-engines-plugin-1-0-3/60043 "2006-01-07T19:18:38Z")

</div>

Ooops. This release should now load your controllers properly - my bad for not remembering the difference between objects and object references! As usual: latest: http://opensvn.csie.org/rails\_engines/plugins/engines …

---

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

<div class="topic-metadata">

**Author:** [@nitr0z](https://www.ruby-forum.com/u/nitr0z)\
**Replies:** 5\
**Last updated:** [January 7, 2006, 12:42pm UTC](https://www.ruby-forum.com/t/ann-engines-1-0-2/51730 "2006-01-07T12:42:25Z")

</div>

The Engines plugin has been updated to version 1.0.2. Changes in this release: Fixed bug with overloading controllers in modules from /app directory Fixed exception thrown when public files couldn’t be created; excep…

---

## [Rails fails to start when engine CSS/JS files are -w](https://www.ruby-forum.com/t/rails-fails-to-start-when-engine-css-js-files-are-w/51707)

<div class="topic-metadata">

**Author:** [@seth](https://www.ruby-forum.com/u/seth)\
**Replies:** 2\
**Last updated:** [January 6, 2006, 12:18pm UTC](https://www.ruby-forum.com/t/rails-fails-to-start-when-engine-css-js-files-are-w/51707 "2006-01-06T12:18:33Z")

</div>

I use perforce for my source control system. It has the notion of checking in / out files. To accomplish this, it sets files -w/+w if it’s checked in or not. Rails chokes starting up when attempting to copy stuff in t…

---

## [What's up with the lib folder?](https://www.ruby-forum.com/t/whats-up-with-the-lib-folder/89524)

<div class="topic-metadata">

**Author:** [@seth](https://www.ruby-forum.com/u/seth)\
**Replies:** 1\
**Last updated:** [January 5, 2006, 12:54am UTC](https://www.ruby-forum.com/t/whats-up-with-the-lib-folder/89524 "2006-01-05T00:54:26Z")

</div>

I noticed I have a structure like this… …/plugins/my\_engine/lib/my\_engine Inside of …/lib I also have a my\_engine.rb What’s the purpose of this? I can’t find anything on the wiki about it. Thanks.

---

## [How are you developing your engines?](https://www.ruby-forum.com/t/how-are-you-developing-your-engines/51599)

<div class="topic-metadata">

**Author:** [@seth](https://www.ruby-forum.com/u/seth)\
**Replies:** 5\
**Last updated:** [January 4, 2006, 8:38pm UTC](https://www.ruby-forum.com/t/how-are-you-developing-your-engines/51599 "2006-01-04T20:38:11Z")

</div>

I’m trying to jump into developing engines, but I’m getting stuck with how to structure my code. Lets say that I have 2 projects that both include an engine. I’m assuming the preferred method of working is including m…

---

## [Suggested Patch for test\_helper.rb Template](https://www.ruby-forum.com/t/suggested-patch-for-test-helper-rb-template/89432)

<div class="topic-metadata">

**Author:** [@lanceball](https://www.ruby-forum.com/u/lanceball)\
**Replies:** 0\
**Last updated:** [January 4, 2006, 6:13pm UTC](https://www.ruby-forum.com/t/suggested-patch-for-test-helper-rb-template/89432 "2006-01-04T18:13:52Z")

</div>

Hi there I’ve been working with engines for a few weeks now and I’ve come across a very minor issue with the generated test\_helper.rb file. When an engine is included in a project via a symlink (as opposed to svn ext…

---

## [Announcement: Indexed Search Engine 0.1.2 Available](https://www.ruby-forum.com/t/announcement-indexed-search-engine-0-1-2-available/51583)

<div class="topic-metadata">

**Author:** [@lanceball](https://www.ruby-forum.com/u/lanceball)\
**Replies:** 5\
**Last updated:** [January 4, 2006, 6:12pm UTC](https://www.ruby-forum.com/t/announcement-indexed-search-engine-0-1-2-available/51583 "2006-01-04T18:12:46Z")

</div>

Hello all. Apologies… I was a little too eager in my earlier annoucement about the Indexed Search Engine for Rails apps. The DB migration file contained an error that had to be worked around. I’ve fixed that, adde…

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