sure is simple, i will tell you what i think you are trying to say and you can confirm it, you have a list of items, and you want the user to be able to make a selection and remove them with checkboxes? is that it?
On Wed, Sep 8, 2010 at 1:57 AM, gamov <[email protected]> wrote: > Context: > I have a GoodsReturn model with many ReturnedItem. For the new view, I > create a new GoodsReturn with many new ReturnedItems from a sale (and > its SoldItems). > Problem: > I want to have a Add/Selected checkbox with which the user can pick > the items he wants to return. I know I could use a 'selected' virtual > attribute but I don't want to pollute my model just for this. In fact, > there is something that does exactly the opposite that I want, > the :_destroy: > <%= i_f.check_box :_destroy %> > I would like exactly the opposite, :_select. > > Anybody has figured this out before? > > Thanks guys, > Gam > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<rubyonrails-talk%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

