I might have to do a while instead of an if for this statement outside of the each block because when opts[:text_styles] is nil, calling each on it errors out. @PragTob, what do you mean by turn an empty Array?