# Engines

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

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

---

## [\[ANN\] mac\_engine (oh dot pre-pre-alpha)](https://www.ruby-forum.com/t/ann-mac-engine-oh-dot-pre-pre-alpha/93691)

<div class="topic-metadata">

**Author:** [@Vincent\_AE\_Scott](https://www.ruby-forum.com/u/Vincent_AE_Scott)\
**Replies:** 1\
**Last updated:** [April 6, 2006, 6:52pm UTC](https://www.ruby-forum.com/t/ann-mac-engine-oh-dot-pre-pre-alpha/93691 "2006-04-06T18:52:19Z")

</div>

Announcing Model Access Control. (pre-alpha) Purpose: to provide finer grained control over ActiveRecord results than can be achieved by using user\_engine. The intention is to provide filtering of results and assign…

---

## [Model's table names](https://www.ruby-forum.com/t/models-table-names/56989)

<div class="topic-metadata">

**Author:** [@nuno](https://www.ruby-forum.com/u/nuno)\
**Replies:** 2\
**Last updated:** [April 6, 2006, 12:07pm UTC](https://www.ruby-forum.com/t/models-table-names/56989 "2006-04-06T12:07:01Z")

</div>

Hello, I would like to have all the tables referenced by my engine prefixed with “something” I can’t use the set\_table\_name function because unfortunately this break fixtures usage (fixtures are not found if fixture n…

---

## [\[ANN\] AdminPages Rails CMS is now an engine](https://www.ruby-forum.com/t/ann-adminpages-rails-cms-is-now-an-engine/56948)

<div class="topic-metadata">

**Author:** [@msojka](https://www.ruby-forum.com/u/msojka)\
**Replies:** 0\
**Last updated:** [April 6, 2006, 12:56am UTC](https://www.ruby-forum.com/t/ann-adminpages-rails-cms-is-now-an-engine/56948 "2006-04-06T00:56:58Z")

</div>

Hi all, I just released the new version of my CMS AdminPages as a Rails engine. It uses the Dojo Toolkit for UI elements. Features: Manipulate pages and content with Drag n Drop, Pages in a sortable tree, easy to d…

---

## [WEBrick won't start after engines installation](https://www.ruby-forum.com/t/webrick-wont-start-after-engines-installation/55498)

<div class="topic-metadata">

**Author:** [@JJJJJJ](https://www.ruby-forum.com/u/JJJJJJ)\
**Replies:** 3\
**Last updated:** [April 5, 2006, 10:46am UTC](https://www.ruby-forum.com/t/webrick-wont-start-after-engines-installation/55498 "2006-04-05T10:46:16Z")

</div>

I installed the engines and datebox\_engine -plugins as advised in the readme-files and everything went well. But now when I now try to start the WEBrick server, it says “\`const\_missing’: uninitialized constant Engines…

---

## [Re: Not redirecting after before\_filter](https://www.ruby-forum.com/t/re-not-redirecting-after-before-filter/93572)

<div class="topic-metadata">

**Author:** [@prplehaze](https://www.ruby-forum.com/u/prplehaze)\
**Replies:** 0\
**Last updated:** [April 4, 2006, 9:29pm UTC](https://www.ruby-forum.com/t/re-not-redirecting-after-before-filter/93572 "2006-04-04T21:29:24Z")

</div>

Hi! I was able to figure out what was going on. Because I had installed Salted Hash first, I had a user\_system.rb file in my lib directory. I believe this was conflicting with the store\_location method in the login…

---

## [Login-engine](https://www.ruby-forum.com/t/login-engine/93460)

<div class="topic-metadata">

**Author:** [@rafali](https://www.ruby-forum.com/u/rafali)\
**Replies:** 0\
**Last updated:** [April 3, 2006, 7:05pm UTC](https://www.ruby-forum.com/t/login-engine/93460 "2006-04-03T19:05:55Z")

</div>

I have spent the weekend trying to get the login-engine working on a new project. This works (a) Create new account (b) click on email link to very - and login © Send email to change password This does not work (a…

---

## [Link\_if\_authorized() undefined in UserEngines permission pag](https://www.ruby-forum.com/t/link-if-authorized-undefined-in-userengines-permission-pag/101929)

<div class="topic-metadata">

**Author:** [@sporkmonger](https://www.ruby-forum.com/u/sporkmonger)\
**Replies:** 2\
**Last updated:** [April 3, 2006, 11:34am UTC](https://www.ruby-forum.com/t/link-if-authorized-undefined-in-userengines-permission-pag/101929 "2006-04-03T11:34:40Z")

</div>

Hi, I have recent versions (as of 2/5/2006) LoginEngine and UserEngine installed and I can login in via admin, create users, etc. That part seems to be working. I’m having trouble setting permissions, roles, etc. Whe…

---

## [Potential patch (login\_engine)](https://www.ruby-forum.com/t/potential-patch-login-engine/56684)

<div class="topic-metadata">

**Author:** [@crucoba](https://www.ruby-forum.com/u/crucoba)\
**Replies:** 1\
**Last updated:** [April 3, 2006, 2:17am UTC](https://www.ruby-forum.com/t/potential-patch-login-engine/56684 "2006-04-03T02:17:50Z")

</div>

login\_engine is good. But there are two things about that I “dislike”. I’ve been thinking of develop a patch for them, but I’d like some sense that the patch goals are agreed with, and thus making it likely to be ac…

---

## [Not redirecting after before\_filter](https://www.ruby-forum.com/t/not-redirecting-after-before-filter/56665)

<div class="topic-metadata">

**Author:** [@prplehaze](https://www.ruby-forum.com/u/prplehaze)\
**Replies:** 0\
**Last updated:** [April 2, 2006, 1:58pm UTC](https://www.ruby-forum.com/t/not-redirecting-after-before-filter/56665 "2006-04-02T13:58:20Z")

</div>

Hi, I’ve got some pages protected with login\_required. After I login, the page doesn’t redirect to the original requested controller method. Has anyone else had this problem? When I switched from Salted Hash (which…

---

## [How to override current\_user?](https://www.ruby-forum.com/t/how-to-override-current-user/89949)

<div class="topic-metadata">

**Author:** [@lopmx](https://www.ruby-forum.com/u/lopmx)\
**Replies:** 0\
**Last updated:** [March 29, 2006, 2:27pm UTC](https://www.ruby-forum.com/t/how-to-override-current-user/89949 "2006-03-29T14:27:46Z")

</div>

Hello I would like to override the current\_user def, because I don't really like to store whole User model in a session, just user\_id. I would like to current\_user fetch the user from db instead. Peter

---

## [MySQL losts connection, can't refer to User](https://www.ruby-forum.com/t/mysql-losts-connection-cant-refer-to-user/56227)

<div class="topic-metadata">

**Author:** [@lopmx](https://www.ruby-forum.com/u/lopmx)\
**Replies:** 0\
**Last updated:** [March 29, 2006, 1:23pm UTC](https://www.ruby-forum.com/t/mysql-losts-connection-cant-refer-to-user/56227 "2006-03-29T13:23:03Z")

</div>

Hi Another problem here. After the upgrade to 1.1 both rails and engines, my app on windows crashes very often on requests. It can’t refer to User model or losts connection to mysql. It appears like 2-3 times per 10 …

---

## [Public/images](https://www.ruby-forum.com/t/public-images/87985)

<div class="topic-metadata">

**Author:** [@twerth](https://www.ruby-forum.com/u/twerth)\
**Replies:** 6\
**Last updated:** [March 29, 2006, 8:22am UTC](https://www.ruby-forum.com/t/public-images/87985 "2006-03-29T08:22:58Z")

</div>

Is there a reason that public/images isn’t overlaid into engine\_files/myengine/images the same way javascripts and stylesheets are? Is there a way to turn it on? -todd\[1\]

---

## [Roles edit checkboxes all offset](https://www.ruby-forum.com/t/roles-edit-checkboxes-all-offset/56209)

<div class="topic-metadata">

**Author:** [@wolfmanjm](https://www.ruby-forum.com/u/wolfmanjm)\
**Replies:** 1\
**Last updated:** [March 29, 2006, 4:01am UTC](https://www.ruby-forum.com/t/roles-edit-checkboxes-all-offset/56209 "2006-03-29T04:01:43Z")

</div>

I have installed the latest trunk versions of engines/login/user, and am on rails 1.1. I ran rake sync\_permissions to get a few more controllers and actions added. When I go to edit roles user the Permissions checkbo…

---

## [Edit roles errors](https://www.ruby-forum.com/t/edit-roles-errors/89676)

<div class="topic-metadata">

**Author:** [@wolfmanjm](https://www.ruby-forum.com/u/wolfmanjm)\
**Replies:** 0\
**Last updated:** [March 29, 2006, 1:50am UTC](https://www.ruby-forum.com/t/edit-roles-errors/89676 "2006-03-29T01:50:17Z")

</div>

When I try to add a new role I get the attached error. The problem is that postgresql doesn’t like the NULL being passed in for the two non null columnds omnipotent and system\_role, even though they have a default set…

---

## [Migrate produce files in app\_root/db](https://www.ruby-forum.com/t/migrate-produce-files-in-app-root-db/56204)

<div class="topic-metadata">

**Author:** [@chriscole](https://www.ruby-forum.com/u/chriscole)\
**Replies:** 0\
**Last updated:** [March 29, 2006, 12:17am UTC](https://www.ruby-forum.com/t/migrate-produce-files-in-app-root-db/56204 "2006-03-29T00:17:27Z")

</div>

Hi, as I told in a previous post engine\_migrate generate files in app\_root/db, not in engine/db (so does the controller generator) As a consequence, every time I generate a new migration I have to move the file by mys…

---

## [Out the box tests failing (user and login engines)](https://www.ruby-forum.com/t/out-the-box-tests-failing-user-and-login-engines/56176)

<div class="topic-metadata">

**Author:** [@Andre\_Sachs](https://www.ruby-forum.com/u/Andre_Sachs)\
**Replies:** 0\
**Last updated:** [March 28, 2006, 4:24pm UTC](https://www.ruby-forum.com/t/out-the-box-tests-failing-user-and-login-engines/56176 "2006-03-28T16:24:19Z")

</div>

Hi, I am having some difficulty running the tests that arrive with the login and user engines using the following command : rake test\_plugins I am running rails 1.0 with ruby 1.8.4 Any ideas or help would be appreci…

---

## [Rails 1.1](https://www.ruby-forum.com/t/rails-1-1/88294)

<div class="topic-metadata">

**Author:** [@Jeroen\_van\_Doorn](https://www.ruby-forum.com/u/Jeroen_van_Doorn)\
**Replies:** 2\
**Last updated:** [March 28, 2006, 12:10pm UTC](https://www.ruby-forum.com/t/rails-1-1/88294 "2006-03-28T12:10:42Z")

</div>

Just updated to Rails 1.1 and I’m experiencing some problems, are there any known problems with the “engines” plugin ? Kind regards, Jeroen van Doorn

---

## [Cannot Sign-up](https://www.ruby-forum.com/t/cannot-sign-up/86233)

<div class="topic-metadata">

**Author:** [@kdclark](https://www.ruby-forum.com/u/kdclark)\
**Replies:** 2\
**Last updated:** [March 27, 2006, 10:49pm UTC](https://www.ruby-forum.com/t/cannot-sign-up/86233 "2006-03-27T22:49:20Z")

</div>

I have been implementing the login\_engine on a i386 and a Mac for two different projects. Using the 305 build of the engine and login\_engine I finally have my mac working but the i386 doesn’t actually write to the da…

---

## [Running the tests](https://www.ruby-forum.com/t/running-the-tests/87231)

<div class="topic-metadata">

**Author:** [@chriscole](https://www.ruby-forum.com/u/chriscole)\
**Replies:** 0\
**Last updated:** [March 26, 2006, 9:07am UTC](https://www.ruby-forum.com/t/running-the-tests/87231 "2006-03-26T09:07:45Z")

</div>

Hello, I can’t make rake run the tests inside the engine directory instead of the app. my Rakefile is require(File.join(File.dirname(FILE), ‘config’, ‘boot’)) require ‘rake’ require ‘rake/testtask’ require ‘rake/rd…

---

## [Another Edge Rails Issue (Sorry)](https://www.ruby-forum.com/t/another-edge-rails-issue-sorry/55838)

<div class="topic-metadata">

**Author:** [@jay](https://www.ruby-forum.com/u/jay)\
**Replies:** 3\
**Last updated:** [March 26, 2006, 12:03am UTC](https://www.ruby-forum.com/t/another-edge-rails-issue-sorry/55838 "2006-03-26T00:03:02Z")

</div>

I know that this general topic has been covered a lot in on this list, so I apologize for adding another, but this problem seems to be slightly different from what others have experienced. Like everyone else, I’m tryi…

---

## [Embed engine view in app view?](https://www.ruby-forum.com/t/embed-engine-view-in-app-view/55910)

<div class="topic-metadata">

**Author:** [@guest](https://www.ruby-forum.com/u/guest)\
**Replies:** 2\
**Last updated:** [March 25, 2006, 10:56am UTC](https://www.ruby-forum.com/t/embed-engine-view-in-app-view/55910 "2006-03-25T10:56:46Z")

</div>

Hi, I would to know of to have my app inserting an engine generated html (view ? string ?) Eg. the main page of the web needs to display the last messages of a forum engine. The forum engine have to retrieve the data…

---

## [Newbie: Strange error when playing with the UserEngine](https://www.ruby-forum.com/t/newbie-strange-error-when-playing-with-the-userengine/55484)

<div class="topic-metadata">

**Author:** [@Jeroen\_van\_Doorn](https://www.ruby-forum.com/u/Jeroen_van_Doorn)\
**Replies:** 4\
**Last updated:** [March 24, 2006, 11:06am UTC](https://www.ruby-forum.com/t/newbie-strange-error-when-playing-with-the-userengine/55484 "2006-03-24T11:06:23Z")

</div>

Hi All, When playing with the user engine, I’ve encountered the following. When I want to “register for an account” everything goes ok… But when I want to activate the account I end in an everlasting loop. I’ve found…

---

## [Problem with forgotten password](https://www.ruby-forum.com/t/problem-with-forgotten-password/55554)

<div class="topic-metadata">

**Author:** [@crucoba](https://www.ruby-forum.com/u/crucoba)\
**Replies:** 5\
**Last updated:** [March 23, 2006, 8:38pm UTC](https://www.ruby-forum.com/t/problem-with-forgotten-password/55554 "2006-03-23T20:38:12Z")

</div>

I’m getting the following problem after entering my email in the "forgotten password’ form. But, oddly it only happens in production mode, not development mode. Any ideas? —cut---- undefined method \`errors’ for ni…

---

## [Calling methods from the "main" application](https://www.ruby-forum.com/t/calling-methods-from-the-main-application/85356)

<div class="topic-metadata">

**Author:** [@chriscole](https://www.ruby-forum.com/u/chriscole)\
**Replies:** 4\
**Last updated:** [March 23, 2006, 11:11am UTC](https://www.ruby-forum.com/t/calling-methods-from-the-main-application/85356 "2006-03-23T11:11:29Z")

</div>

I’ve successfully setup a publication engine (Publish) which I use to learn ROR but there is something I can’t find a solution for : the main application (the one which make uses of this engine) has a “admin” layout w…

---

## [Yet another engines not working with edge](https://www.ruby-forum.com/t/yet-another-engines-not-working-with-edge/55366)

<div class="topic-metadata">

**Author:** [@surendra\_s](https://www.ruby-forum.com/u/surendra_s)\
**Replies:** 7\
**Last updated:** [March 21, 2006, 5:41pm UTC](https://www.ruby-forum.com/t/yet-another-engines-not-working-with-edge/55366 "2006-03-21T17:41:08Z")

</div>

Hello, Recently something changed with edge, such that engines are no longer working with edge rails, in spite of the line Engines.config :edge, true in the environment.rb Also, on cursory analysis this stack trace …

---

## [UserEngine Bug #53 biting me](https://www.ruby-forum.com/t/userengine-bug-53-biting-me/83047)

<div class="topic-metadata">

**Author:** [@hatless](https://www.ruby-forum.com/u/hatless)\
**Replies:** 2\
**Last updated:** [March 21, 2006, 2:24am UTC](https://www.ruby-forum.com/t/userengine-bug-53-biting-me/83047 "2006-03-21T02:24:40Z")

</div>

All right, so I finally sort of got UserEngine working on my production box and now I’m down to the path-related problems afflicting the user\_controller as seen in https://opensvn.csie.org/traccgi/rails\_engines/trac.c…

---

## [User engine apparently breaking wsdl generation](https://www.ruby-forum.com/t/user-engine-apparently-breaking-wsdl-generation/83762)

<div class="topic-metadata">

**Author:** [@klancaster](https://www.ruby-forum.com/u/klancaster)\
**Replies:** 1\
**Last updated:** [March 20, 2006, 2:26am UTC](https://www.ruby-forum.com/t/user-engine-apparently-breaking-wsdl-generation/83762 "2006-03-20T02:26:27Z")

</div>

(X-posting to the rails group as well) Wsdl calls fail under certain circumstances when the user engine is in use. After much experimentation, this is what I found. I have an application that uses the login and user …

---

## [Undefined constant Engines with Rails 1.0 + svn trunk](https://www.ruby-forum.com/t/undefined-constant-engines-with-rails-1-0-svn-trunk/55326)

<div class="topic-metadata">

**Author:** [@fabien](https://www.ruby-forum.com/u/fabien)\
**Replies:** 2\
**Last updated:** [March 19, 2006, 11:06pm UTC](https://www.ruby-forum.com/t/undefined-constant-engines-with-rails-1-0-svn-trunk/55326 "2006-03-19T23:06:45Z")

</div>

There seems to be an issue when running Rails 1.0 and the latest trunk version of Engines itself. If I gather correctly this version should be compatible with both 1.0 as well as EDGE/1.1. It happens in the file: depe…

---

## [LoginEngine Errors](https://www.ruby-forum.com/t/loginengine-errors/83973)

<div class="topic-metadata">

**Author:** [@therealadam](https://www.ruby-forum.com/u/therealadam)\
**Replies:** 0\
**Last updated:** [March 19, 2006, 6:11pm UTC](https://www.ruby-forum.com/t/loginengine-errors/83973 "2006-03-19T18:11:34Z")

</div>

Sorry for the repost — it’s on the forum too because I didn’t initially realize there was a mailing list. Help is greatly appreciated… Cheers, Adam I started having these problems about 2 days ago when trying to use …

---

## [LoginEngine Errors](https://www.ruby-forum.com/t/loginengine-errors/55318)

<div class="topic-metadata">

**Author:** [@therealadam](https://www.ruby-forum.com/u/therealadam)\
**Replies:** 0\
**Last updated:** [March 19, 2006, 6:05pm UTC](https://www.ruby-forum.com/t/loginengine-errors/55318 "2006-03-19T18:05:14Z")

</div>

I started having these problems about 2 days ago when trying to use the login\_engine plugin. I successfully used the plugin on other projects but this seems to be broken now. Any thoughts? It apparently doesn’t like …

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

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