# LoginEngine and config.active\_record.table\_name\_prefix

**URL:** <https://www.ruby-forum.com/t/loginengine-and-config-active-record-table-name-prefix/64395>\
**Category:** Engines\
**Created:** [January 23, 2006, 12:07pm UTC](https://www.ruby-forum.com/t/loginengine-and-config-active-record-table-name-prefix/64395 "2006-01-23T12:07:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![seade](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/51bf81/32.png) [@seade](https://www.ruby-forum.com/u/seade)\
**Post date:** [January 23, 2006, 12:07pm UTC](https://www.ruby-forum.com/t/loginengine-and-config-active-record-table-name-prefix/64395/1 "2006-01-23T12:07:46Z")

</div>

This is kind of a bug (or at least a DRY violation):

The migrate script for LoginEngine correctly deals with the  
config.active\_record.table\_name\_prefix configuration setting, but when  
it is used it is also necessary to specify the prefixed :user\_table name  
in the LoginEngine configuration. It would make sense for the  
LoginEngine configuration to utilise the table\_name\_prefix.

Cheers,  
Scott

---

<div class="post-metadata">

**Author:** ![seade](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/51bf81/32.png) [@seade](https://www.ruby-forum.com/u/seade)\
**Post date:** [January 23, 2006, 12:32pm UTC](https://www.ruby-forum.com/t/loginengine-and-config-active-record-table-name-prefix/64395/2 "2006-01-23T12:32:24Z")

</div>

Yup, you’re right - can you submit this as a new ticket on the Trac  
site?

- james

---

<div class="post-metadata">

**Author:** ![seade](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/51bf81/32.png) [@seade](https://www.ruby-forum.com/u/seade)\
**Post date:** [January 23, 2006, 12:38pm UTC](https://www.ruby-forum.com/t/loginengine-and-config-active-record-table-name-prefix/64395/3 "2006-01-23T12:38:02Z")

</div>

James A. wrote:

> Yup, you’re right - can you submit this as a new ticket on the Trac  
> site?
> 
> - james

Done.

Scott
