attributes as json #142

hardfire opened this Issue Sep 24, 2012 · 1 comment


None yet

2 participants


Currently i have something like

    <%= f.attribute_fields do |a| %>
        <%= a.attribute_select associations: [:category] %>
    <% end %>

what would be the best way to get the attribute fields as json or just the names rathar than the whole select list ?

ActiveRecord Hackery member

How do you mean "as JSON"? What is your intention?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment