Moving of Photos

Hi,

I would like to take your suggestion on the following problem:

I have a scaffold called Manage where i have fields like title, short
description, long description,keywords, tags.

I created few record pages like “Services”,“About Us”,“Gallery”,“News”

I should display Photo Upload( Paperclip code) only in the Gallery Page
and
no where else which i could do this using has_photos (boolean)

After Uploading a photo, i have a combo box in which i will display all
the
Manage records like Services, About Us, News…

When i choose a particular item like Services, then the photo that i
uploaded must be automatically moved to Services from Gallery.

When i choose About us then the photo must be moved to that item. The
uploaded photo must be there at only one item.

Manages is my table with the following fields:

title
short_description
long_description
keywords
tags
is_enabled
has_photos

Please suggest me in achieving this.

Looking forward for your reply.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs