in ruby, how do you make this nested hash work?
        Posted  
        
            by David
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by David
        
        
        
        Published on 2010-05-01T10:21:36Z
        Indexed on 
            2010/05/01
            10:27 UTC
        
        
        Read the original article
        Hit count: 225
        
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
© Stack Overflow or respective owner