Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace TagArray class with Serialized module
Instead of wrapping all arrays in TagArray instances, just extend the arrays with a module that overrides to_s to use the form's serializer. This is currently only needed if Form#input can return an array of inputs, which the Sequel plugin does for the associations as multiple radios/checkboxes option.
- Loading branch information
1 parent
3a1a748
commit bb5d3ef
Showing
3 changed files
with
27 additions
and
33 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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