views:

14

answers:

0

Hi,

I have a self join model like:

  • news
    • relatednews

No I have a form_for and want to fill relatednews but not via multiple elements in the form via fields_for (e.g. input fields) but with one input field that hold all id´s of relatednews. like (1,2,3). I want to store this and read it back without to break the relational activerecord stuff.

any idea?