Use flat_map over collect + flatten for speed/readability.

Enumerable#flat_map is in 1.9.3+
http://ruby-doc.org/core-1.9.3/Enumerable.html#method-i-flat_map

https://github.com/JuanitoFatas/fast-ruby
http://work.stevegrossi.com/2014/10/25/writing-fast-and-idiomatic-ruby/
Account for empty files encountered during fleecing.

When an attempting to read at EOF, the "read" method returns nil, not an empty string.
When an empty file is encountered during fleecing, this causes an unlogged exception,
resulting in all glob file info not being saved.

https://bugzilla.redhat.com/show_bug.cgi?id=1160855
https://bugzilla.redhat.com/show_bug.cgi?id=1161267
https://bugzilla.redhat.com/show_bug.cgi?id=1160859
https://bugzilla.redhat.com/show_bug.cgi?id=1161266
Merge pull request #1166 from roliveri/wildcards

Account for empty files encountered during fleecing.
Merge pull request #1157 from jrafanie/use_flat_map_over_collect_then_flatten

Use flat_map over collect + flatten for speed/readability.
Add migration to add dynamic column to dialog_fields

https://trello.com/c/aHoR5dxB
Add dynamic related form fields in UI for DialogFieldRadioButtons

https://trello.com/c/aHoR5dxB
Enable automate calls from DialogFieldRadioButtons to populate values

https://trello.com/c/aHoR5dxB
Fix most Rubocop warnings

https://trello.com/c/aHoR5dxB
Save field values when dynamic flag is not set

https://trello.com/c/aHoR5dxB
Fix DialogFieldSerializer spec

https://trello.com/c/aHoR5dxB
Only show sample data when displaying dynamic radio button fields

https://trello.com/c/aHoR5dxB
Fix values from getting cleared out when changing other attributes

https://trello.com/c/aHoR5dxB