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].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to