in ruby, how do you make this nested hash work?
- by David
this one creates an error:
@settings = {
:tab1 => {
:name => {
:required => true
},
:description
}
}
need to change :descrpition to :description = {}, but i don't have any values for :description so i want it to remain as is (without the empty = {})
Would you show me the best way to handle this kind of situation?
thanks in advance