Skip to content

Commit

Permalink
Use https instead of http in guide [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
yhirano55 committed Aug 23, 2017
1 parent 80ccfec commit bf48e90
Show file tree
Hide file tree
Showing 18 changed files with 27 additions and 27 deletions.
2 changes: 1 addition & 1 deletion guides/source/3_0_release_notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ $ cd myapp

Rails now uses a `Gemfile` in the application root to determine the gems you require for your application to start. This `Gemfile` is processed by the [Bundler](https://github.com/bundler/bundler) which then installs all your dependencies. It can even install all the dependencies locally to your application so that it doesn't depend on the system gems.

More information: - [bundler homepage](http://bundler.io/)
More information: - [bundler homepage](https://bundler.io/)

### Living on the Edge

Expand Down
2 changes: 1 addition & 1 deletion guides/source/3_1_release_notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ $ cd myapp
Rails now uses a `Gemfile` in the application root to determine the gems you require for your application to start. This `Gemfile` is processed by the [Bundler](https://github.com/carlhuda/bundler) gem, which then installs all your dependencies. It can even install all the dependencies locally to your application so that it doesn't depend on the system gems.

More information: - [bundler homepage](http://bundler.io/)
More information: - [bundler homepage](https://bundler.io/)

### Living on the Edge

Expand Down
2 changes: 1 addition & 1 deletion guides/source/3_2_release_notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ $ cd myapp

Rails now uses a `Gemfile` in the application root to determine the gems you require for your application to start. This `Gemfile` is processed by the [Bundler](https://github.com/carlhuda/bundler) gem, which then installs all your dependencies. It can even install all the dependencies locally to your application so that it doesn't depend on the system gems.
More information: [Bundler homepage](http://bundler.io/)
More information: [Bundler homepage](https://bundler.io/)
### Living on the Edge
Expand Down
4 changes: 2 additions & 2 deletions guides/source/4_0_release_notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ $ cd myapp

Rails now uses a `Gemfile` in the application root to determine the gems you require for your application to start. This `Gemfile` is processed by the [Bundler](https://github.com/carlhuda/bundler) gem, which then installs all your dependencies. It can even install all the dependencies locally to your application so that it doesn't depend on the system gems.

More information: [Bundler homepage](http://bundler.io)
More information: [Bundler homepage](https://bundler.io)

### Living on the Edge

Expand All @@ -60,7 +60,7 @@ Major Features
### Upgrade

* **Ruby 1.9.3** ([commit](https://github.com/rails/rails/commit/a0380e808d3dbd2462df17f5d3b7fcd8bd812496)) - Ruby 2.0 preferred; 1.9.3+ required
* **[New deprecation policy](http://www.youtube.com/watch?v=z6YgD6tVPQs)** - Deprecated features are warnings in Rails 4.0 and will be removed in Rails 4.1.
* **[New deprecation policy](https://www.youtube.com/watch?v=z6YgD6tVPQs)** - Deprecated features are warnings in Rails 4.0 and will be removed in Rails 4.1.
* **ActionPack page and action caching** ([commit](https://github.com/rails/rails/commit/b0a7068564f0c95e7ef28fc39d0335ed17d93e90)) - Page and action caching are extracted to a separate gem. Page and action caching requires too much manual intervention (manually expiring caches when the underlying model objects are updated). Instead, use Russian doll caching.
* **ActiveRecord observers** ([commit](https://github.com/rails/rails/commit/ccecab3ba950a288b61a516bf9b6962e384aae0b)) - Observers are extracted to a separate gem. Observers are only needed for page and action caching, and can lead to spaghetti code.
* **ActiveRecord session store** ([commit](https://github.com/rails/rails/commit/0ffe19056c8e8b2f9ae9d487b896cad2ce9387ad)) - The ActiveRecord session store is extracted to a separate gem. Storing sessions in SQL is costly. Instead, use cookie sessions, memcache sessions, or a custom session store.
Expand Down
2 changes: 1 addition & 1 deletion guides/source/action_controller_overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ What Does a Controller Do?

Action Controller is the C in MVC. After the router has determined which controller to use for a request, the controller is responsible for making sense of the request and producing the appropriate output. Luckily, Action Controller does most of the groundwork for you and uses smart conventions to make this as straightforward as possible.

For most conventional [RESTful](http://en.wikipedia.org/wiki/Representational_state_transfer) applications, the controller will receive the request (this is invisible to you as the developer), fetch or save data from a model and use a view to create HTML output. If your controller needs to do things a little differently, that's not a problem, this is just the most common way for a controller to work.
For most conventional [RESTful](https://en.wikipedia.org/wiki/Representational_state_transfer) applications, the controller will receive the request (this is invisible to you as the developer), fetch or save data from a model and use a view to create HTML output. If your controller needs to do things a little differently, that's not a problem, this is just the most common way for a controller to work.

A controller can thus be thought of as a middleman between models and views. It makes the model data available to the view so it can display that data to the user, and it saves or updates user data to the model.

Expand Down
2 changes: 1 addition & 1 deletion guides/source/active_record_basics.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ After reading this guide, you will know:
What is Active Record?
----------------------

Active Record is the M in [MVC](http://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller) - the
Active Record is the M in [MVC](https://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller) - the
model - which is the layer of the system responsible for representing business
data and logic. Active Record facilitates the creation and use of business
objects whose data requires persistent storage to a database. It is an
Expand Down
2 changes: 1 addition & 1 deletion guides/source/active_record_migrations.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Migration Overview
------------------

Migrations are a convenient way to
[alter your database schema over time](http://en.wikipedia.org/wiki/Schema_migration)
[alter your database schema over time](https://en.wikipedia.org/wiki/Schema_migration)
in a consistent and easy way. They use a Ruby DSL so that you don't have to
write SQL by hand, allowing your schema and changes to be database independent.

Expand Down
2 changes: 1 addition & 1 deletion guides/source/active_record_querying.md
Original file line number Diff line number Diff line change
Expand Up @@ -1539,7 +1539,7 @@ Read the full documentation about enums
Understanding The Method Chaining
---------------------------------

The Active Record pattern implements [Method Chaining](http://en.wikipedia.org/wiki/Method_chaining),
The Active Record pattern implements [Method Chaining](https://en.wikipedia.org/wiki/Method_chaining),
which allow us to use multiple Active Record methods together in a simple and straightforward way.

You can chain methods in a statement when the previous method called returns an
Expand Down
4 changes: 2 additions & 2 deletions guides/source/api_app.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ Handled at the middleware layer:
about the request environment, database queries, and basic performance
information.
- Security: Rails detects and thwarts [IP spoofing
attacks](http://en.wikipedia.org/wiki/IP_address_spoofing) and handles
attacks](https://en.wikipedia.org/wiki/IP_address_spoofing) and handles
cryptographic signatures in a [timing
attack](http://en.wikipedia.org/wiki/Timing_attack) aware way. Don't know what
attack](https://en.wikipedia.org/wiki/Timing_attack) aware way. Don't know what
an IP spoofing attack or a timing attack is? Exactly.
- Parameter Parsing: Want to specify your parameters as JSON instead of as a
URL-encoded String? No problem. Rails will decode the JSON for you and make
Expand Down
4 changes: 2 additions & 2 deletions guides/source/api_documentation_guidelines.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,12 @@ used. Instead of:
English
-------

Please use American English (*color*, *center*, *modularize*, etc). See [a list of American and British English spelling differences here](http://en.wikipedia.org/wiki/American_and_British_English_spelling_differences).
Please use American English (*color*, *center*, *modularize*, etc). See [a list of American and British English spelling differences here](https://en.wikipedia.org/wiki/American_and_British_English_spelling_differences).

Oxford Comma
------------

Please use the [Oxford comma](http://en.wikipedia.org/wiki/Serial_comma)
Please use the [Oxford comma](https://en.wikipedia.org/wiki/Serial_comma)
("red, white, and blue", instead of "red, white and blue").

Example Code
Expand Down
6 changes: 3 additions & 3 deletions guides/source/asset_pipeline.md
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ it would make sense to have an image in one of the asset load paths, such as
already available in `public/assets` as a fingerprinted file, then that path is
referenced.

If you want to use a [data URI](http://en.wikipedia.org/wiki/Data_URI_scheme) -
If you want to use a [data URI](https://en.wikipedia.org/wiki/Data_URI_scheme) -
a method of embedding the image data directly into the CSS file - you can use
the `asset_data_uri` helper.

Expand Down Expand Up @@ -861,7 +861,7 @@ end
### CDNs

CDN stands for [Content Delivery
Network](http://en.wikipedia.org/wiki/Content_delivery_network), they are
Network](https://en.wikipedia.org/wiki/Content_delivery_network), they are
primarily designed to cache assets all over the world so that when a browser
requests the asset, a cached copy will be geographically close to that browser.
If you are serving assets directly from your Rails server in production, the
Expand Down Expand Up @@ -909,7 +909,7 @@ domain, you do not need to specify a protocol or "scheme" such as `http://` or
that is generated will match how the webpage is accessed by default.

You can also set this value through an [environment
variable](http://en.wikipedia.org/wiki/Environment_variable) to make running a
variable](https://en.wikipedia.org/wiki/Environment_variable) to make running a
staging copy of your site easier:

```
Expand Down
2 changes: 1 addition & 1 deletion guides/source/development_dependencies_install.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ For FreeBSD users, you're done with:

Or compile the `databases/sqlite3` port.

Get a recent version of [Bundler](http://bundler.io/)
Get a recent version of [Bundler](https://bundler.io/)

```bash
$ gem install bundler
Expand Down
4 changes: 2 additions & 2 deletions guides/source/getting_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ of the files and folders that Rails created by default:
|config/|Configure your application's routes, database, and more. This is covered in more detail in [Configuring Rails Applications](configuring.html).|
|config.ru|Rack configuration for Rack based servers used to start the application.|
|db/|Contains your current database schema, as well as the database migrations.|
|Gemfile<br>Gemfile.lock|These files allow you to specify what gem dependencies are needed for your Rails application. These files are used by the Bundler gem. For more information about Bundler, see the [Bundler website](http://bundler.io).|
|Gemfile<br>Gemfile.lock|These files allow you to specify what gem dependencies are needed for your Rails application. These files are used by the Bundler gem. For more information about Bundler, see the [Bundler website](https://bundler.io).|
|lib/|Extended modules for your application.|
|log/|Application log files.|
|public/|The only folder seen by the world as-is. Contains static files and compiled assets.|
Expand Down Expand Up @@ -309,7 +309,7 @@ end
```

This is your application's _routing file_ which holds entries in a special
[DSL (domain-specific language)](http://en.wikipedia.org/wiki/Domain-specific_language)
[DSL (domain-specific language)](https://en.wikipedia.org/wiki/Domain-specific_language)
that tells Rails how to connect incoming requests to
controllers and actions.
Edit this file by adding the line of code `root 'welcome#index'`.
Expand Down
4 changes: 2 additions & 2 deletions guides/source/i18n.md
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ In general, this approach is far less reliable than using the language header an

#### Storing the Locale from the Session or Cookies

WARNING: You may be tempted to store the chosen locale in a _session_ or a *cookie*. However, **do not do this**. The locale should be transparent and a part of the URL. This way you won't break people's basic assumptions about the web itself: if you send a URL to a friend, they should see the same page and content as you. A fancy word for this would be that you're being [*RESTful*](http://en.wikipedia.org/wiki/Representational_State_Transfer). Read more about the RESTful approach in [Stefan Tilkov's articles](http://www.infoq.com/articles/rest-introduction). Sometimes there are exceptions to this rule and those are discussed below.
WARNING: You may be tempted to store the chosen locale in a _session_ or a *cookie*. However, **do not do this**. The locale should be transparent and a part of the URL. This way you won't break people's basic assumptions about the web itself: if you send a URL to a friend, they should see the same page and content as you. A fancy word for this would be that you're being [*RESTful*](https://en.wikipedia.org/wiki/Representational_State_Transfer). Read more about the RESTful approach in [Stefan Tilkov's articles](https://www.infoq.com/articles/rest-introduction). Sometimes there are exceptions to this rule and those are discussed below.

Internationalization and Localization
-----------------------------------
Expand Down Expand Up @@ -1201,7 +1201,7 @@ Authors
Footnotes
---------

[^1]: Or, to quote [Wikipedia](http://en.wikipedia.org/wiki/Internationalization_and_localization): _"Internationalization is the process of designing a software application so that it can be adapted to various languages and regions without engineering changes. Localization is the process of adapting software for a specific region or language by adding locale-specific components and translating text."_
[^1]: Or, to quote [Wikipedia](https://en.wikipedia.org/wiki/Internationalization_and_localization): _"Internationalization is the process of designing a software application so that it can be adapted to various languages and regions without engineering changes. Localization is the process of adapting software for a specific region or language by adding locale-specific components and translating text."_

[^2]: Other backends might allow or require to use other formats, e.g. a GetText backend might allow to read GetText files.

Expand Down
2 changes: 1 addition & 1 deletion guides/source/layout.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<li class="more-info"><a href="http://weblog.rubyonrails.org/">Blog</a></li>
<li class="more-info"><a href="http://guides.rubyonrails.org/">Guides</a></li>
<li class="more-info"><a href="http://api.rubyonrails.org/">API</a></li>
<li class="more-info"><a href="http://stackoverflow.com/questions/tagged/ruby-on-rails">Ask for help</a></li>
<li class="more-info"><a href="https://stackoverflow.com/questions/tagged/ruby-on-rails">Ask for help</a></li>
<li class="more-info"><a href="https://github.com/rails/rails">Contribute on GitHub</a></li>
</ul>
</div>
Expand Down
4 changes: 2 additions & 2 deletions guides/source/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -1064,9 +1064,9 @@ end

### Setting Headers and CGI variables

[HTTP headers](http://tools.ietf.org/search/rfc2616#section-5.3)
[HTTP headers](https://tools.ietf.org/search/rfc2616#section-5.3)
and
[CGI variables](http://tools.ietf.org/search/rfc3875#section-4.1)
[CGI variables](https://tools.ietf.org/search/rfc3875#section-4.1)
can be passed as headers:

```ruby
Expand Down
4 changes: 2 additions & 2 deletions guides/source/upgrading_ruby_on_rails.md
Original file line number Diff line number Diff line change
Expand Up @@ -1106,7 +1106,7 @@ on the Rails blog.

The errata for the `PATCH` verb [specifies that a 'diff' media type should be
used with `PATCH`](http://www.rfc-editor.org/errata_search.php?rfc=5789). One
such format is [JSON Patch](http://tools.ietf.org/html/rfc6902). While Rails
such format is [JSON Patch](https://tools.ietf.org/html/rfc6902). While Rails
does not support JSON Patch natively, it's easy enough to add support:

```
Expand Down Expand Up @@ -1310,7 +1310,7 @@ get 'こんにちは', controller: 'welcome', action: 'index'
get '/' => 'root#index'
```

* Rails 4.0 has removed `ActionDispatch::BestStandardsSupport` middleware, `<!DOCTYPE html>` already triggers standards mode per http://msdn.microsoft.com/en-us/library/jj676915(v=vs.85).aspx and ChromeFrame header has been moved to `config.action_dispatch.default_headers`.
* Rails 4.0 has removed `ActionDispatch::BestStandardsSupport` middleware, `<!DOCTYPE html>` already triggers standards mode per https://msdn.microsoft.com/en-us/library/jj676915(v=vs.85).aspx and ChromeFrame header has been moved to `config.action_dispatch.default_headers`.

Remember you must also remove any references to the middleware from your application code, for example:

Expand Down
2 changes: 1 addition & 1 deletion guides/source/working_with_javascript_in_rails.md
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ attributes to accomplish this.
#### `data-method`

Activating hyperlinks always results in an HTTP GET request. However, if your
application is [RESTful](http://en.wikipedia.org/wiki/Representational_State_Transfer),
application is [RESTful](https://en.wikipedia.org/wiki/Representational_State_Transfer),
some links are in fact actions that change data on the server, and must be
performed with non-GET requests. This attribute allows marking up such links
with an explicit method such as "post", "put" or "delete".
Expand Down

0 comments on commit bf48e90

Please sign in to comment.