# \[ANN\] Engines 1.0.2

**URL:** <https://www.ruby-forum.com/t/ann-engines-1-0-2/51730>\
**Category:** Engines Development\
**Created:** [January 6, 2006, 12:50pm UTC](https://www.ruby-forum.com/t/ann-engines-1-0-2/51730 "2006-01-06T12:50:20Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![nitr0z](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/ba9def/32.png) [@nitr0z](https://www.ruby-forum.com/u/nitr0z)\
**Post date:** [January 6, 2006, 12:50pm UTC](https://www.ruby-forum.com/t/ann-engines-1-0-2/51730/1 "2006-01-06T12:50:20Z")

</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;  
exception is now logged (Ticket #52)
- Fixed problem with generated test\_helper.rb file via  
File.expand\_path (Ticket #50)

The new version can be obtained via the script/plugin command, and  
found at the following SVN urls:

Latest Release: [http://opensvn.csie.org/rails\_engines/plugins/engines](http://opensvn.csie.org/rails_engines/plugins/engines)  
Permanent Tag:  
[http://opensvn.csie.org/rails\_engines/engines/tags/rel\_1.0.2](http://opensvn.csie.org/rails_engines/engines/tags/rel_1.0.2)

Thanks to everyone for their feedback and Trac tickets! Let me know if  
this causes any problems - if you do experience any issues, you can  
always grab a specific tagged version after submitting the bug, while  
we fix the source.

Back to work…

- James

---

<div class="post-metadata">

**Author:** ![nitr0z](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/ba9def/32.png) [@nitr0z](https://www.ruby-forum.com/u/nitr0z)\
**Post date:** [January 6, 2006, 8:40pm UTC](https://www.ruby-forum.com/t/ann-engines-1-0-2/51730/2 "2006-01-06T20:40:12Z")

</div>

James A. wrote:

> 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;  
> exception is now logged (Ticket #52)

Lookin good over here. Thanks for the quick turnaround time. Engines are  
going to make me a lot more productive, and hopefully a lot more money!  
🙂

---

<div class="post-metadata">

**Author:** ![nitr0z](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/ba9def/32.png) [@nitr0z](https://www.ruby-forum.com/u/nitr0z)\
**Post date:** [January 7, 2006, 3:08am UTC](https://www.ruby-forum.com/t/ann-engines-1-0-2/51730/3 "2006-01-07T03:08:57Z")

</div>

Found a bug…

I just deployed to Dreamhost with 1.0.2 and I’m getting a “stack too  
deep” error when trying to access anything. The same code works with  
1.0.1 - so something that has changed broke things.

PS: The same code runs just fine with 1.0.2 on my XP box and my OSX  
box…

## Here’s the error from the log

Processing Base#index (for 67.169.31.47 at 2006-01-06 17:53:34) [GET]  
Session ID: e77e376742fc93b083550da723f35473  
Parameters: {}

MissingSourceFile (no such file to load –  
vendor/plugins/substruct/app/controllers/content\_nodes\_controller.rb):  
/usr/local/lib/site\_ruby/1.8/rubygems/custom\_require.rb:18:in  
`require__' /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:18:in`require’  
/vendor/rails/activerecord/lib/…/…/activesupport/lib/active\_support/dependencies.rb:244:in  
`require' /vendor/plugins/engines/lib/dependencies_extensions.rb:54:in`require\_or\_load’  
…

## Here’s the spew from Webrick

SystemStackError in #

stack level too deep

RAILS\_ROOT: script/…/config/…  
Application Trace | Framework Trace | Full Trace

./script/…/config/…/vendor/rails/activesupport/lib/active\_support/inflector.rb:107:in  
`singularize' ./script/../config/../vendor/rails/activesupport/lib/active_support/inflector.rb:107:in`each’  
./script/…/config/…/vendor/rails/activesupport/lib/active\_support/inflector.rb:107:in  
`singularize' ./script/../config/../vendor/rails/activesupport/lib/active_support/core_ext/string/inflections.rb:12:in`singularize’  
./script/…/config/…/vendor/rails/activerecord/lib/active\_record/reflection.rb:142:in  
`name_to_class_name' ./script/../config/../vendor/rails/activerecord/lib/active_record/reflection.rb:83:in`class\_name’  
./script/…/config/…/vendor/rails/activerecord/lib/active\_record/reflection.rb:87:in  
`require_class' ./script/../config/../vendor/rails/activerecord/lib/active_record/associations.rb:890:in`create\_has\_many\_reflection’  
./script/…/config/…/vendor/rails/activerecord/lib/active\_record/associations.rb:346:in  
`has_many' /home/.demo/mchappel/michellechappel.com/vendor/plugins/substruct/app/models/product.rb:2 ./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:237:in`load’  
./script/…/config/…/vendor/rails/activesupport/lib/active\_support/dependencies.rb:237:in  
`load’  
…

Show blamed files

This error occured while loading the following files:  
script/…/config/…/vendor/plugins/substruct/app/controllers/application.rb  
=\> model order\_line\_item.rb  
order\_line\_item.rb  
product.rb  
…and on and on…

---

<div class="post-metadata">

**Author:** ![nitr0z](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/ba9def/32.png) [@nitr0z](https://www.ruby-forum.com/u/nitr0z)\
**Post date:** [January 10, 2006, 7:46am UTC](https://www.ruby-forum.com/t/ann-engines-1-0-2/51730/4 "2006-01-10T07:46:19Z")

</div>

James A. wrote:

> Is the ‘substruct/app/controllers/application.rb’ file in your engine,  
> or should that be in the main application? I’m just trying to figure  
> out where it ought to be load it from…
> 
> - james

Sorry for the delayed response…

Yeah it’s in the engines folder…not the main application. Basically  
it’s an app skeleton.

---

<div class="post-metadata">

**Author:** ![nitr0z](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/ba9def/32.png) [@nitr0z](https://www.ruby-forum.com/u/nitr0z)\
**Post date:** [January 10, 2006, 10:42am UTC](https://www.ruby-forum.com/t/ann-engines-1-0-2/51730/5 "2006-01-10T10:42:18Z")

</div>

Try updating to 1.0.3 - that should fix the bug.

- james

---

<div class="post-metadata">

**Author:** ![nitr0z](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/ba9def/32.png) [@nitr0z](https://www.ruby-forum.com/u/nitr0z)\
**Post date:** [January 7, 2006, 12:42pm UTC](https://www.ruby-forum.com/t/ann-engines-1-0-2/51730/6 "2006-01-07T12:42:25Z")

</div>

Is the ‘substruct/app/controllers/application.rb’ file in your engine,  
or should that be in the main application? I’m just trying to figure  
out where it ought to be load it from…

- james
