Sorting out the issues with nested attributes and UUID in Rails 4.