attributes as json #142

Open
hardfire opened this Issue Sep 24, 2012 · 1 comment

Projects

None yet

2 participants

@hardfire

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 ?

@radar
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