prograils/lit — pull request #28 by Bonias (2013-12-03 16:39:38+00:00)
Title: Optimization

- save Localization record only when default_value is changed - ActiveRecord always save records(even when no changes are present) when one of columns is serialized
- save nil values in redis cache
- optimize deleting localizations - do not create localization only to immediately destroy it
- fix saving default_value from options[:default] in lookup method - normalize keys first because options[:scope] should be applied too