if part.empty? name, value = part.split('=', 2) directives[name.downcase] = (value || true) unless name.empty? end directives end # Internal: Parses the Cache Control string to a Hash. # Existing whitespace will be removed and the string is split on commas. # For each part everything before a '=' will be treated as the key # and the exceeding will be treated as the value. If only the key is # present then the assigned value will default to true. # # Examples: # parse("max-age=600") # # => { "max-age" => "600" } # # parse("max-age") # # => { "max-age" => true } # # Returns a Hash.
called every time Devise needs # to send a notification/mail. This can be overridden if you # need to customize the e-mail delivery logic. For instance, # if you are using a queue to deliver e-mails... def send_devise_notification(notification, opts={}) # ... end
translations ## 03-10-2013 * [User Story #200] New signup landing page * [Bug #49] Fixed broken links on 'About us' ## 03-07-2013 -2 * [User Story #199] OAuth2 support * [User Story #198] Deliver a welcome email to new users * Ruby version upgraded to 2.0.0-p1 :heart: ## 03-07-2013 * Security release, updated dependency XPTO.
YML with the ‘config:setup’ task 2. Run `rake data:import` to seed new data ## 01-18-2013 (v1.5.0) 1. Update API configuration for new endpoint ## 12-15-2012 (v1.4.0) 1. Install imagemagick on worker machines