1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

remove trailing whitespace. [ci skip]

This commit is contained in:
Yves Senn 2014-05-17 00:24:50 +02:00
parent 9c4d31f601
commit e83a6ff5b7
2 changed files with 4 additions and 4 deletions

View file

@ -105,7 +105,7 @@ This method generates a cache key that depends on all products and can be used i
<% end %>
```
If you want to cache a fragment under certain condition you can use `cache_if` or `cache_unless`
If you want to cache a fragment under certain condition you can use `cache_if` or `cache_unless`
```erb
<% cache_if (condition, cache_key_for_products) do %>

View file

@ -82,10 +82,10 @@ secrets, you need to:
2. Use your existing `secret_key_base` from the `secret_token.rb` initializer to
set the SECRET_KEY_BASE environment variable for whichever users run the Rails
app in production mode. Alternately, you can simply copy the existing
`secret_key_base` from the `secret_token.rb` initializer to `secrets.yml`
app in production mode. Alternately, you can simply copy the existing
`secret_key_base` from the `secret_token.rb` initializer to `secrets.yml`
under the `production` section, replacing '<%= ENV["SECRET_KEY_BASE"] %>'.
3. Remove the `secret_token.rb` initializer.
4. Use `rake secret` to generate new keys for the `development` and `test` sections.