- 31 12月, 2014 19 次提交
-
-
由 Zachary Scott 提交于
Fix comment typo in debugger.rb [ci skip]
-
由 mntj 提交于
-
由 Zachary Scott 提交于
-
由 Zachary Scott 提交于
-
由 Zachary Scott 提交于
RoutingAssertions. [ci skip]
-
由 Zachary Scott 提交于
after views. [ci skip]
-
由 Zachary Scott 提交于
-
由 Rafael Mendonça França 提交于
Update CHANGELOG entry for #18070 [ci skip]
-
由 Zachary Scott 提交于
functional testing section and implement :show, :destroy, and :update tests. [ci skip]
-
由 Prathamesh Sonpatki 提交于
- Improved wording of CHANGELOG entry for https://github.com/arthurnn/rails/commit/5acd24bbeae0e9e5e81e87b5929e17f35527b2ea.
-
由 Sean Griffin 提交于
Ensures that primary_key method will return nil when multi-pk
-
由 Zachary Scott 提交于
-
由 Zachary Scott 提交于
in the Action Dispatch Integration module. [ci skip]
-
由 Arthur Neves 提交于
When table has a composite primary key, the `primary_key` method for sqlite3 and postgresql was only returning the first field of the key. Ensures that it will return nil instead, as AR dont support composite pks.
-
由 Zachary Scott 提交于
-
由 Rafael Mendonça França 提交于
Use more semantic method to authenticate password in SecurePassword
-
由 Rafael Mendonça França 提交于
Fix description for application_name method - change simple to simply [ci skip]
-
由 Prathamesh Sonpatki 提交于
[ci skip]
-
由 Robin Dupret 提交于
-
- 30 12月, 2014 21 次提交
-
-
由 Rohit Arondekar 提交于
-
由 Robin Dupret 提交于
Better docs for AV::RecordIdentifier [ci skip]
-
由 Rafael Mendonça França 提交于
Remove single space response body for head request
-
由 Prathamesh Sonpatki 提交于
- The single space response was added due to a bug in safari in https://github.com/rails/rails/commit/cb0f8fda9652c4d24d04693bdb82cecd3b067e5c and https://github.com/rails/rails/commit/807df4fcf021fc4d15972aa1c17ba7398d43ab0d. - This was removed from the `render nothing: true` in https://github.com/rails/rails/pull/14883. - Removing it from response of :head also. As :head is more obvious alternative to call `render nothing: true`(http://guides.rubyonrails.org/layouts_and_rendering.html#using-head-to-build-header-only-responses), removing it from head method also. - Closes #18253.
-
由 Rafael Mendonça França 提交于
Fix form_for to work with objects that implement to_model
-
由 Yves Senn 提交于
Closes #7247. Conflicts: activerecord/CHANGELOG.md activerecord/test/models/owner.rb
-
由 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]
-
由 Travis Grathwell 提交于
Previously, if you tried to use form_for with a presenter object that implements to_model, it would crash in action_dispatch/routing/polymorphic_routes.rb when asking the presenter whether it is .persisted? Now, we always ask .persisted? of the to_model object instead. This seems to been an issue since 1606fc9dSigned-off-by: NEugenia Dellapenna <eugenia.dellapenna@gmail.com>
-
由 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 提交于
-