- 07 10月, 2015 1 次提交
-
-
由 tanmay3011 提交于
-
- 23 9月, 2015 1 次提交
-
-
由 Thiago Augusto 提交于
-
- 16 9月, 2015 1 次提交
-
-
由 Avner Cohen 提交于
-
- 23 6月, 2015 1 次提交
-
-
由 yui-knk 提交于
In this sentence, there are three candidates of `this method` * default_url_options * url_for * helper method(s) so make it clear.
-
- 16 6月, 2015 1 次提交
-
-
由 Xavier Noria 提交于
-
- 07 6月, 2015 1 次提交
-
-
由 Robin Dupret 提交于
[Robin Dupret & Shunsuke Aida]
-
- 04 5月, 2015 2 次提交
-
-
由 Evan Prothro 提交于
Add more information about passing variables to translation definitions and also merge this part with the "Interpolation" one as the latter didn't bring any new information. Moreover, each one was referring to the other for further information. [ci skip]
-
由 Evan Prothro 提交于
[ci skip]
-
- 15 4月, 2015 1 次提交
-
-
由 Jon Atack 提交于
This is a squash of the following commits, from first to last: - Fix minor, random things I’ve come across lately that individually did not seem worth making a PR for, so I saved them for one commit. One common error is using “it’s” (which is an abbreviation of “it is”) when the possessive “its” should be used for indicating possession. - Changes include the name of a test, so remove the `[skip ci]` (thanks @senny). - Line wrap the changes at 80 chars and add one more doc fix. - Add a missing line wrap in the Contributing to Ruby on Rails Guide. - Line wrap the `TIP` section in the Contributing to Ruby on Rails Guide as well. Rendering the guide locally with `bundle exec rake guides:generate` did not show any change in on-screen formatting after adding the line wrap. The HTML generated is (extra line added to illustrate where the line wrap takes place): <div class="info"><p>Please squash your commits into a single commit when appropriate. This simplifies future cherry picks and also keeps the git log clean.</p></div> - Squash commits.
-
- 05 4月, 2015 1 次提交
-
-
由 Mehmet Emin İNAÇ 提交于
request.env['REQUEST_URI'] returns full URI of the resource request.env['PATH_INFO'] returns only path of the resource
-
- 13 3月, 2015 1 次提交
-
-
由 Christian Ress 提交于
Closes #19321. [ci skip]
-
- 28 2月, 2015 1 次提交
-
-
由 Richard Venneman 提交于
-
- 19 2月, 2015 1 次提交
-
-
由 Bart 提交于
-
- 16 2月, 2015 1 次提交
-
-
由 Robin Dupret 提交于
-
- 04 2月, 2015 1 次提交
-
-
由 Carlos Ramirez III 提交于
Pull request #7082 added lazy lookup to controllers using the translate method, but the documentation still stated that it was available for views only. [ci skip]
-
- 21 1月, 2015 1 次提交
-
-
由 Wojciech Wnętrzak 提交于
-
- 17 1月, 2015 1 次提交
-
-
由 Jared Fine 提交于
-
- 14 1月, 2015 1 次提交
-
-
由 Vipul A M 提交于
- Changed `IN` to `ON` in all note sentences in guides.
-
- 24 12月, 2014 1 次提交
-
-
由 Xavier Noria 提交于
References #18148.
-
- 29 11月, 2014 1 次提交
-
-
由 yui-knk 提交于
-
- 09 10月, 2014 1 次提交
-
-
由 Gaurav Sharma 提交于
[ci skip] removing ruby-i18n.org/wiki link that is not available and using “gems” instead of plugins
-
- 11 9月, 2014 1 次提交
-
-
由 Xavier Noria 提交于
-
- 09 7月, 2014 1 次提交
-
-
由 Nishant Modak 提交于
-
- 07 7月, 2014 1 次提交
-
-
由 Robin Dupret 提交于
As discussed in #15304, we need to automate this process but for now, having out-of-date versions is not ideal. Since master targets 4.2.0, let's also update references to the last 4.1 version to 4.2.0. Finally, let's remove mentions to versions when this is not needed. The guides cover the features of the current version anyway. [Juanito Fatas + Robin Dupret]
-
- 04 6月, 2014 2 次提交
-
-
由 Mauro George 提交于
-
由 Mauro George 提交于
[ci skip]
-
- 07 5月, 2014 1 次提交
-
-
由 Joshua Cody 提交于
Previously, only the object and method name from the label tag were used when looking up the translation for a label. If a value is given for the label, this ought to be additionally used. The following: # form.html.erb <%= form_for @post do |f| %> <%= f.label :type, value: "long" %> <% end %> # en.yml en: activerecord: attributes: post/long: "Long-form Post" Used to simply return "long", but now it will return "Long-form Post".
-
- 17 4月, 2014 1 次提交
-
-
由 Kyle Heironimus 提交于
Currently, the section called "How to store your custom translations" has several subheadings that make no sense, such as "Translations for ActiveRecord models." These make more sense under the "Overview of the I18n API Features" section. I moved the "How to store..." section down to the more appropriate sub-headings "Using Different Backends" and "Using Different Exception Handlers" and removed the "Customize your i18n setup" header.
-
- 16 4月, 2014 1 次提交
-
-
由 Mike MacDonald 提交于
Calling `to_sym` on user input opens apps up to Denial of Service attacks, via the symbol table being expanded to consume vast swathes of memory. It is a fairly common configuration to have DNS configured such that all subdomains route to your Rails app, in which case an attacker visits `www1.foo.com`, `www2.foo.com`, and so on until something gives. It is far less likely to have this problem with TLDs, so that change was only for consistency.
-
- 13 4月, 2014 1 次提交
-
-
由 Marcel Morgan 提交于
References to ``AppName::Application` removed in favour of ``Rails.application`` as generated with a new rails 4.1 app. [ci skip]
-
- 03 4月, 2014 1 次提交
-
-
由 Nikolay Shebanov 提交于
-
- 13 3月, 2014 1 次提交
-
-
由 sukolsak 提交于
-
- 12 2月, 2014 1 次提交
-
-
由 Xavier Noria 提交于
Reason: i18n whitelists now locales without passing through symbols, see https://github.com/svenfuchs/i18n/blob/master/lib/i18n.rb#L278. Therefore, this snippet is no longer a good practice. This reverts commit ec0664a6.
-
- 11 2月, 2014 1 次提交
-
-
由 devlin zed 提交于
`I18n.locale=` symbolizes its argument, so passing it `params[:locale]` allows one to DOS your application by visiting `...?locale=` URLS repeatedly, with unique values, until the never-GCed symbols monopolize the available memory.
-
- 04 2月, 2014 1 次提交
-
-
由 edogawaconan 提交于
-
- 04 1月, 2014 1 次提交
-
-
由 T.J. Schuck 提交于
-
- 20 12月, 2013 2 次提交
-
-
由 Vijay Dev 提交于
This reverts commit b58f3a64. Reason: Discussion in https://github.com/rails/docrails/commit/b58f3a641795e1777aa3e12a853c34ff512acfb9 [ci skip]
- 16 12月, 2013 1 次提交
-
-
由 Ivan 提交于
Added `absence` parameter to table in section `5.1.2 Error Message Interpolation`.
-
- 28 11月, 2013 1 次提交
-
-
由 Harshad Sabne 提交于
-