This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| App Settings Edit Form in Rails 5 using Mongoid | |
| * With mongoid-app_settings gem (https://github.com/marten/mongoid-app_settings) | |
| * Inspired on 'rails-settings' gem for ActiveRecord | |
| Made this gist because couldn't find any code/post to update this gem (or hashed arrays) with a view form on Rails. | |
| Based on the ZedTuX answer (Option 2) on this SO question | |
| (https://stackoverflow.com/questions/16690193/how-to-edit-rails-serialized-hashes-in-a-form) | |
| - Hans Araya |