Hi, I just installed the rails-settings plugin to help manage the configuration of my app. I can declare settings with namespaces like so:
Settings['preferences.color'] = :blue
Settings['preferences.size'] = :large
Settings['license.key'] = 'ABC-DEF'
However, according to the documentation, I should be able to return all the settings for a given namespace like this:
Settings.all('preferences')
However, this just gives me the following error:
ArgumentError: wrong number of arguments (1 for 0)
Does anyone know the correct syntax to use?
Any help appreciated.
Thanks.