discourse/app/services
Nick Borromeo e8474bd725 Change user update to use #fetch for defaults
This changes the use of the || operator when setting the default of the
user attribute if the key does not exist to #fetch. This will make sure
that if false is passed in as the value it will still fail and use the
default setting.

This also adds constants to define and array and a hash of symbols which
is iterated over to set the users attributes.
2014-01-20 18:07:47 -08:00
..
spam_rule
group_message.rb
spam_rules_enforcer.rb
staff_action_logger.rb
tracked_topics_updater.rb
uri_adapter.rb
user_activator.rb
user_authenticator.rb
user_blocker.rb
user_updater.rb Change user update to use #fetch for defaults 2014-01-20 18:07:47 -08:00
username_checker_service.rb