- 30 3月, 2017 13 次提交
-
-
由 Sean Griffin 提交于
Add an alias for reverse_merge to with_defaults
-
由 Matt Casper 提交于
In the context of controller parameters, reverse_merge is commonly used to provide defaults for user input. Having an alias to reverse_merge called with_defaults feels more idiomatic for Rails.
-
由 Jon Moss 提交于
Add comma and change verb. [ci skip]
-
由 Rafael França 提交于
add hint on after_action filters
-
由 Rafael França 提交于
Load only needed records on ActiveRecord::Relation#inspect
-
由 Rafael França 提交于
Fix the example code for `Rails.groups` [ci skip]
-
由 Rafael França 提交于
CI against Ruby 2.2.7
-
由 Rafael Mendonça França 提交于
-
由 Rafael França 提交于
FinderMethods#fourty_two docs cite proper source
-
由 Rafael França 提交于
Fix link to rails-ujs
-
由 Rafael França 提交于
[ci skip]
-
由 Ryunosuke Sato 提交于
`Rails.groups` contains `Rails.env` that is inspected as String.
-
由 Ryunosuke Sato 提交于
https://github.com/rails/rails-ujs is merged into actionview in favor of https://github.com/rails/rails/pull/28098. [skip ci]
-
- 29 3月, 2017 17 次提交
-
-
由 Winfred Nadeau 提交于
silly method gets a silly doc fix, or I'm missing an even sillier joke and I'm about to get schooled. BUT I'm pretty sure this is some serious Beaudrillard simulacrum, though. I'm just doing my part to spread the gospel of Douglas Adams.
-
由 Frederik Wille 提交于
Adds a hint that ``after_action``-callbacks are not executed when an exception was raised in the rest of the request cycle. The ``before_action`` section mentions "If there are additional filters scheduled to run after that filter, they are also cancelled." but this is IMO not sufficient.
-
由 Andrew White 提交于
Fix `primary_keys` across multiple schemas
-
由 Jon Moss 提交于
This CHANGELOG.md is a continuation of the 5-1-stable one, there shouldn't be any duplicate entries. [ci skip]
-
由 Eileen M. Uchitelle 提交于
Make `driven_by` overridable
-
由 Andrew White 提交于
Remove unnecessary `javascript` option check
-
由 Hendy Tanata 提交于
Instead of loading all records and returning only a subset of those, just load the records as needed. Fixes #25537.
-
由 Fumiaki MATSUSHIMA 提交于
Sometimes we want to use rack_test partially instead of selenium for test speed: ```ruby class ApplicationSystemTestCase < ActionDispatch::SystemTestCase driven_by :selenium, using: :chrome, screen_size: [1400, 1400], options: {url: "http://chrome:4444/wd/hub"} end class WithJavaScriptTest < ApplicationSystemTestCase end class WithoutJavaScriptTest < ApplicationSystemTestCase driven_by :rack_test end ``` In the abobe case, `WithoutJavaScriptTest` uses selenium because `SystemTestCase` calls superclass' driver on `#initialize` (`self.class.superclass.driver.use`). Using `class_attribute` can handle inherited `driven_by`.
-
由 yuuji.yaginuma 提交于
Follow up to #28546
-
由 Rafael França 提交于
Make internal methods to private
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
Add keep id suffix option to humanize new
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
No longer listens to dirs outside of the app directory.
-
由 Rafael França 提交于
Fix ActiveModel::Errors #keys, #values
-
由 Andrew White 提交于
Fix store accessors in parameters test
- 28 3月, 2017 10 次提交
-
-
由 bogdanvlviv 提交于
Before: person.errors.keys # => [] person.errors.values # => [] person.errors[:name] # => [] person.errors.keys # => [:name] person.errors.values # => [[]] After: person.errors.keys # => [] person.errors.values # => [] person.errors[:name] # => [] person.errors.keys # => [] person.errors.values # => [] Related to #23468
-
由 Rafael França 提交于
make it clear how to enable caching
-
由 Andrew White 提交于
If a country doesn't exist in the MAPPINGS hash then create a new `ActiveSupport::Timezone` instance using the supplied timezone id. Fixes #28431.
-
由 Yves Senn 提交于
The `master` changelog refer back to the `5-1-stable` changelog as a base. No need to duplicate backported entries in the changelogs on `master`.
-
由 Rafael Mendonça França 提交于
With Rack::Test the headers needs to match the `HTTP_` format. The tests were passing before because they are not asserting the response was a cache hit.
-
由 Rafael Mendonça França 提交于
Closes #28554
-
由 Rafael França 提交于
Merge pull request #28557 from y-yagi/remove_unnecessary_files_to_api_applications_when_app_task_task_executed Remove unnecessary files to API-only Applications when `app:task` task executed
-
由 Rafael Mendonça França 提交于
Remove -j (--javascript) option from `rails new`
-
由 Rafael Mendonça França 提交于
Since 4.2 the default log level in production is now debug. We removed the deprecation in c2e86584 but we don't reflected the default value. We are not appling it. Closes #28558
-
由 Rafael Mendonça França 提交于
Avoid converting integer as a string into float
-