Skip to content

Updating Gemfile to pull from secure rubygems and updating documentation #31

Closed
wants to merge 1 commit into from

2 participants

@Emerson
Emerson commented Aug 1, 2013

Just some documentation updates as well as updating gemfile source to be more secure

@DouweM DouweM commented on the diff Sep 6, 2013
README.md
@@ -24,13 +24,13 @@ class SomeController < ApplicationController
def some_action
- http_accept_language.user_preferred_languages # => [ 'nl-NL', 'nl-BE', 'nl', 'en-US', 'en' ]
+ request.user_preferred_languages # => [ 'nl-NL', 'nl-BE', 'nl', 'en-US', 'en' ]
@DouweM
Collaborator
DouweM added a note Sep 6, 2013

Why request rather than http_accept_languages? Only the former is part of the EasyAccess module in railtie.rb.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
@DouweM DouweM added a commit that closed this pull request Sep 6, 2013
@DouweM DouweM Pull from Rubygems over HTTPS.
Fixes #31.
96523e9
@DouweM DouweM closed this in 96523e9 Sep 6, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.