# Beginner Q: Image Selection and Object Attr Modification?

**URL:** <https://www.ruby-forum.com/t/beginner-q-image-selection-and-object-attr-modification/87843>\
**Category:** Rails\
**Created:** [March 6, 2007, 11:29am UTC](https://www.ruby-forum.com/t/beginner-q-image-selection-and-object-attr-modification/87843 "2007-03-06T11:29:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![scrambler](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/54ee81/32.png) [@scrambler](https://www.ruby-forum.com/u/scrambler)\
**Post date:** [March 6, 2007, 11:29am UTC](https://www.ruby-forum.com/t/beginner-q-image-selection-and-object-attr-modification/87843/1 "2007-03-06T11:29:58Z")

</div>

Hi forum,

being new to Rails I’d like to ask if it is possible to use Rails to  
display a table of (JPG) images in a browser window (I’m sure that’s no  
problem…) from which the user is able to select one, several, or all  
the images (via mouse selection, Ctrl or Shift) and then open a popup  
where the attributes of underlying objects represented through the  
selected images can be modified through a collection of controls.

The idea behind this operation is that I’d like to run a server that has  
n serially (RS232) controlled hardware units attached to it. The  
different settings of these units should be handled by a local daemon  
which needs to interact with a program that runs through a web server.

I’ve done something similar a while ago in “C” and Unix signals but the  
CGI handling and the embedded JS code was a bit difficult to maintain…

In short: The client modifies object attributes in a dialog box; a CGI  
sends back the info to the host. The daemon receives a signal and this  
info which in turn changes the setting(s) on the physical device(s)  
represented by the modified objects. The browser window is updated only  
in those areas where changes have occured and if the changes have  
actually taken effect.

Sorry for a rather generic question but I’d like to know if Rails is a  
possible approach to this type of problem.

Cheers,

```
Uwe
```
