Forum: Ruby on Rails Model in two different parts of the app.

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Fernando L. (Guest)
on 2006-04-12 22:53
(Received via mailing list)
I have a doubt about using models.

I have a application with two parts. The first is a login system to
users, and the second is a administrative interface.

The administrative interface I create in a directory called admin
Both parts use the model User. Can I put the model user only in the
model directory or I should duplicate it in the /models/admin/ too?

Thanks in advance.

Fernando L.
This topic is locked and can not be replied to.