- 13 1月, 2016 1 次提交
-
-
由 claudiob 提交于
Fixes #23026 See discussion at #23026
-
- 12 1月, 2016 11 次提交
-
-
由 Yves Senn 提交于
Closes #23021.
-
由 Matthew Draper 提交于
Make default scopes + STI happy again
-
由 Matthew Draper 提交于
Commit before freezing the headers
-
由 Matthew Draper 提交于
This shouldn't generally come up: under a standard flow, we don't start sending until after the commit. But application code always finds a way.
-
由 Jon Moss 提交于
Add a note on ActionController guide about 404
-
由 Mauro George 提交于
[ci skip]
-
由 Akira Matsuda 提交于
-
由 Richard Schneeman 提交于
Allow manually setting environment value
-
由 Matthew Draper 提交于
Given a default_scope on a parent of the current class, where that parent is not the base class, the parent's STI condition would become attached to the evaluated default scope, and then override the child's own STI condition. Instead, we can treat the STI condition as though it is a default scope, and skip it in this situation: the scope will be merged into the base relation, which already contains the correct STI condition. Fixes #22426.
-
由 Matthew Draper 提交于
While the commit message (and changelog example) in 5e0b555b talked about sibling classes, the added test had a child ignore its parent's scoping, which seems less reasonable.
-
由 schneems 提交于
If for some reason some one is not able to set the environment from a migration this gives us an escape valve to manually set the environment for the database see https://github.com/rails/rails/pull/22967#issuecomment-170251635. We will also fix the migration case, but this will ensure there is always a way to set the environment. cc/ @sgrif
-
- 11 1月, 2016 13 次提交
-
-
由 Kasper Timm Hansen 提交于
remove warnings from rake test
-
由 Kasper Timm Hansen 提交于
delete only unnecessary reporter
-
由 yuuji.yaginuma 提交于
Reporter that defines its own users at the time of this process are also loaded, to avoid them from being deleted, to delete only the specified to unnecessary reporter.
-
由 yuuji.yaginuma 提交于
This removes the following warnings. ``` test/application/rake_test.rb:33: warning: ambiguous first argument; put parentheses or a space even after `/' operator test/application/rake_test.rb:43: warning: ambiguous first argument; put parentheses or a space even after `/' operator ```
-
由 Sean Griffin 提交于
Extract `MySQL::{Column|TypeMetadata}` classes to the appropriate files
-
由 Kasper Timm Hansen 提交于
Pass the current locale to Inflector from the pluralize text helper.
-
由 Ryuta Kamizono 提交于
-
由 Ryuta Kamizono 提交于
-
由 Jaime Iniesta 提交于
The pluralize text helper uses the Inflector to determine the plural form. The inflector accepts an optional parameter for the locale, so we can pass it from the text helper to have locale-aware pluralizations on the text helpers level. The pluralize text helper now only accepts 2 positional arguments: `count` and `singular`. Passing `plural` as a positional argument is now deprecated.
-
由 Kasper Timm Hansen 提交于
Running tests with multiple line numbers
-
由 Siva Gollapalli 提交于
-
由 Kasper Timm Hansen 提交于
Test basic auth with symbols in password
-
由 Santiago Pastorino 提交于
remove mentions of legacy mysql adapter from guides
-
- 10 1月, 2016 15 次提交
-
-
由 Jon Moss 提交于
Add Example for using config_for
-
由 Matthew Draper 提交于
Update postgresql version to 9.4 for travis.
-
由 Sean Griffin 提交于
[ci skip] fix typo
-
由 Akshay Vishnoi 提交于
Now available - https://docs.travis-ci.com/user/using-postgresql/
-
由 Kasper Timm Hansen 提交于
When running passing condition assertions in the same test the user had already been saved at that point. Split out so we have a not yet persisted user. Rename condition tests to improve clarity a bit.
-
由 Kasper Timm Hansen 提交于
Mistakenly interpreted the test case as a sign that we should switch to before_save, when the original pitch use case was intended as before_create. Revert a3ab6ad0.
-
由 Kasper Timm Hansen 提交于
Adding `if` and `unless` support doesn't bode well if the callback to assign a token only runs on create. Switch to `before_save`, but keep the conditional so that no token already assigned is overriden.
-
由 Kasper Timm Hansen 提交于
Fix the NoMethodErrors introduced in 224eddfc, when adding conditional token creation. The model declarations but the column wasn't added to the schema.
-
由 Kasper Timm Hansen 提交于
Support :if and :unless in has_secure_token
-
由 Akshay Vishnoi 提交于
-
由 Griffin Smith 提交于
Pass through :if and :unless options from has_secure_token to the generated before_create callback
-
由 Scott Bronson 提交于
-
由 Kasper Timm Hansen 提交于
rake log:clear task updated
-
由 Kasper Timm Hansen 提交于
It might be tough for readers to know why we implement `===`, and where the Regexp in `derive_regexp` came from.
-
由 Kasper Timm Hansen 提交于
The line filter parsing added to ActiveSupport::TestCase is only half the story to enable line filtering. The other half, of adding the patterns to the options, is done in the Minitest plugin that Railties has. Thus it makes more sense to have the filter in Railties with the other half and all the line filtering tests. Move the filter and extend Active Support in an initializer, so that when users or `rails/all.rb` require `rails/test_unit/railtie` we can still filter by line.
-