I don't like those approach, much better will be to have key value concept. 

DB will have 2 fields
name: string
value: string

thats all and then 

AppConfig.create(name: 'logo', value: '......')
AppConfig.find_by(name: 'logo')

A lot easier to add new config key later