daily pastebin goal
24%
SHARE
TWEET

Untitled

a guest May 16th, 2018 115 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Supossedly we have an array of symbols that are our dynamic fields called dyamic_fields:
  2. = form_for :foo do |f|
  3.   - dynamic_fields.each do |dynamic_field|
  4.     = f.label dynamic_field
  5.     = f.text_field dynamic_field
RAW Paste Data
Top