i'm trying call action different controller's view:
controller countries
has action called selectbox
generates html selectbox countries partial.
controller customers
has action called new
generates html form customers attributes. want insert selectbox countries#selectbox
in form.
what right way achieve this?
for doing, extracting code helper method right way it. however, if still want use action another, official rails plugin can use:
Comments
Post a Comment