- 07 12月, 2015 1 次提交
-
-
由 Elektron1c97 提交于
According to pr #22443 in the guides there's always a dollar sign before every command, so why is in the main README a `$` and in every submodule a `%`? Just eye candy..
-
- 04 12月, 2015 7 次提交
-
-
由 Rafael França 提交于
Replace ActionMailer::Base.respond_to? with respond_to_missing?
-
由 Rafael França 提交于
Fix the Railties tests
-
由 Rafael Mendonça França 提交于
Railsties tests are broken with this new update checker so we will use the old one until we have the tests fixed.
-
由 Rafael Mendonça França 提交于
Related with e62ddac0
-
由 Rafael Mendonça França 提交于
Related with 668c006c.
-
由 Rafael Mendonça França 提交于
-
由 Ryan Buckley 提交于
-
- 03 12月, 2015 8 次提交
-
-
由 Ryan Buckley 提交于
-
由 Claudio B 提交于
Remove old comment about AC::Parameters>subclasses
-
由 claudiob 提交于
[ci skip] Q: What happens if you initialize an AR model by passing Parameters that have not been whitelisted with `permit`? A: An `ActiveModel::ForbiddenAttributesError` is raised. I think this behavior is correct, and it's better than what used to happen, with unpermitted parameter being simply ignored.
-
由 Rafael França 提交于
Fix failing test using custom file watcher
-
由 Rafael França 提交于
Revert "don't start a new process for every test file"
-
由 Matthew Erhard 提交于
This reverts commit 5a0e0e72. This commit causes railties tests on TravisCI to always return a 0 status (all tests passing), even when tests are failing. Reverting for now until a new solution can be found.
-
由 Matthew Erhard 提交于
LoadingTest#test_does_not_reload_constants_on_development_if_custom_file_watcher_always_returns_false in railties/test/application/loading_test.rb is failing with: `NoMethodError: undefined method 'execute' for #<#<Class:0x00000002465a30>:0x00000001f79698>` The test creates an anonymous class to be used as a custom file watcher using `config.file_watcher=`. Per the Rails guides for Configuring, the class set to `config.file_watcher` “Must conform to ActiveSupport::FileUpdateChecker API”. Per the docs for ActiveSupport::FileUpdateChecker, the API depends on four methods: #initialize, #updated?, #execute, and #execute_if_updated. The custom file watcher in the failing test only implements the first two methods. This pull request adds #execute and #execute_if_updated to the custom file_watcher, conforming it to the ActiveSupport::FileUpdateChecker API, and passing the test.
-
由 Yves Senn 提交于
This will also get the defaults from attribute definitions like: attribute :type, :string, default: "SomethingElse"
-
- 02 12月, 2015 8 次提交
-
-
由 Yves Senn 提交于
`has_attribute?` method to check wether a given attribute has been defined.
-
由 Yves Senn 提交于
This solves the following error: ActiveRecord::StatementInvalid: Could not find table 'guitars' It seems that the table structure of the `Guitar` model has not been necessary until now. Due to the wrong table name the model was not correctly linked to the table.
-
由 Yves Senn 提交于
STI cast new instances to `default type` on initialize.
-
由 Kuldeep Aggarwal 提交于
fixes #17121
-
由 Claudio B 提交于
Update autoloading_and_reloading_constants.md
-
由 Sean Griffin 提交于
It appears that I missed this one when I delegated all the non-mutation array methods that were not on Enumerable
-
由 pavlos 提交于
Fixed a typo
-
由 Claudio B 提交于
Modify unscoped usage guide to include chaining [ci skip]
-
- 01 12月, 2015 5 次提交
-
-
由 Yves Senn 提交于
Explain the connection pool error message better [ci skip]
-
由 Arthur Nogueira Neves 提交于
rescue memcached errors in a consistent way
-
由 Dmytrii Nagirniak 提交于
The previous message was misleading (especially for Ops guys) when diagnosing problems related to the database connection. The message was suggesting that the connection cannot be obtained which normally assumes the need to look at the database. But this isn't the case as the connection could not be retrieved from the application's internal connection pool. The new message should make it more explicit and remove the confusion.
-
由 Sean Griffin 提交于
Allow use of minitest-rails gem with test runner
-
由 Chris Kottom 提交于
-
- 30 11月, 2015 11 次提交
-
-
由 Yves Senn 提交于
Fix rake db:structure:dump on Postgres when multiple schemas are used Conflicts: activerecord/CHANGELOG.md Closes #22346.
-
由 Jeff Minnear 提交于
-
由 Kasper Timm Hansen 提交于
Refactor `AbstractAdapter#initialize`
-
由 Arun Agrawal 提交于
Fix indentation in CHANGELOG.md [ci skip]
-
由 Ryuta Kamizono 提交于
-
由 Ryuta Kamizono 提交于
`pool` in args is unused anymore. And `config` is used in all adapters.
-
由 Yves Senn 提交于
Move some bind related test cases from finder_test.rb to sanitize_t…
-
由 Yves Senn 提交于
Document message validation option accepts Proc [ci skip]
-
由 Yves Senn 提交于
Add `Routing` namespace to point appropriate constant
-
由 Michael Grosser 提交于
-
由 Sean Griffin 提交于
Bugfix collection association #create method
-