- 30 12月, 2014 38 次提交
-
-
由 Rafael Mendonça França 提交于
Given the following templates: mailer/demo.html.erb mailer/demo.en.html.erb mailer/demo.pt.html.erb Before this change for a locale that doesn't have its related file the `mailer/demo.html.erb` will be rendered even if `en` is the default locale. Now `mailer/demo.en.html.erb` has precedence over the file without locale. Also, it is possible to give a fallback. mailer/demo.pt.html.erb mailer/demo.pt-BR.html.erb So if the locale is `pt-PT`, `mailer/demo.pt.html.erb` will be rendered given the right I18n fallback configuration. Fixes #11884.
-
由 Zachary Scott 提交于
It makes more sense here, rather than after explaining all of the testing facilities of Rails. [ci skip]
-
由 Zachary Scott 提交于
82b75eda Also explain how Rails inherits capabilities from Minitest. Test classes should be roughly the same based on this information, we can address them at a high level when introducing the first test case. [ci skip]
-
由 Zachary Scott 提交于
assertions are introduced. [ci skip]
-
由 Zachary Scott 提交于
existing example. [ci skip] My reasoning is that this is probably too much information for the complete Rails testing guide, as we're trying to cover testing all aspects of the framework.
-
由 Zachary Scott 提交于
-
由 Angelo capilleri 提交于
before this PR IDENTIFIER_ERROR_MESSAGE could lead to misunderstand the convention of partial name. Added OPTION_AS_ERROR_MESSAGE for unvalid charter in as option.
-
由 Zachary Scott 提交于
-
由 Zachary Scott 提交于
-
由 Zachary Scott 提交于
-
由 Zachary Scott 提交于
-
由 Rafael Mendonça França 提交于
Add doc for `:touch` option of AR::Base#save
-
由 claudiob 提交于
ActiveRecord::Base `save` and `save!` take an option boolean `:touch` parameter since #18225 (stems from #18202). This commit document that parameter. [ci skip]
-
由 Zachary Scott 提交于
-
由 Zachary Scott 提交于
-
由 Zachary Scott 提交于
-
由 Zachary Scott 提交于
-
由 Zachary Scott 提交于
Briefly explain difference between Functional and Request type tests. [ci skip]
-
由 Rafael Mendonça França 提交于
Document the include_all_helpers config setting
-
由 Adam Prescott 提交于
This config setting has been available for quite a while but was not documented.
-
由 Rafael Mendonça França 提交于
Removed Object#itself as it's implemented in ruby 2.2
-
由 Zachary Scott 提交于
[ci skip]
-
由 Cristian Bica 提交于
-
由 Carlos Antonio da Silva 提交于
Guide for Action Mailer Basics: Un-inline if statement
-
由 Josh Cheek 提交于
The single line was long enough that it rendered on two lines, causing the example to look like syntactically invalid code.
-
由 Rafael Mendonça França 提交于
plugin's gemfile also needs tzinfo-data in Windows
-
由 Rafael Mendonça França 提交于
-
由 Sean Griffin 提交于
Fixes #18237
-
由 Sean Griffin 提交于
-
由 Sean Griffin 提交于
This is no longer required now that we are injecting a type caster object into the Arel table, with the exception of uniqueness validations. Since it calls `ConnectionAdapter#type_cast`, the value has already been cast for the database. We don't want Arel to attempt to cast it further, so we need to continue wrapping it in a quoted node. This can potentially go away when this validator is refactored to make better use of `where` or the predicate builder.
-
由 Sean Griffin 提交于
-
由 Sean Griffin 提交于
-
由 Sean Griffin 提交于
-
由 Sean Griffin 提交于
This API will require much less consuming code to change to accomodate the removal of automatic type casting from Arel. As long as the predicates are constructed using the `arel_table` off of an AR subclass, there will be no changes that need to happen.
-
由 Rafael Mendonça França 提交于
`eager_load` preserves readonly flag for associations
-
由 Rafael Mendonça França 提交于
It is already docummented at persistence.rb. [ci skip]
-
由 ShunsukeAida 提交于
-
由 Takashi Kokubun 提交于
-
- 29 12月, 2014 2 次提交
-
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
Fix html_safe string access modifying frozen values
-