I am creating an application in which I am allowing users to have
customized views of a form. These forms do not have to be customized
at this point by the user, but will for now be customized by us, and
uploaded to the server.
My idea was to take the similar approach done by the plug in
acts_as_attachment, and, have a default layout stored in the normal
views/controller_name folder, but then also have a check in the users
model to see if there is a customized view. If there was, the idea is
to place a subfolder under the views/controller_name folder, with the
id number of the user as the name of the folder, and place the
customized partial within and then have the software display that
partial, instead of the default one.
Im not sure if this is the best way of accomplishing this however, and
would welcome any suggestions. I have yet to find a plug in to
If I do go this route, i cannot figure out how to have my main view
call a partial that is stored in a sub-folder. Is there a way of doing
Thanks for you help/suggestions.