views:

25

answers:

1

I have a settings table with two fields, key and value. Now, while creating an administration section for it I want to be able to edit all settings at once.

Is there a "Rails (3) way" to do this that will save me some time?

+3  A: 
John Topley
Is there something like `form_for(@all_settings)` that can be used together with update_all?
Christoffer
@Christoffer See my updated answer.
John Topley