- 29 10月, 2015 9 次提交
-
-
由 akihiro17 提交于
We should call `scope.order!` and set `scope.reordering_value` to `true` if :reordering values are specified Fixes #21886
-
由 Yves Senn 提交于
This solves the following issue: ``` $ bin/test Using sqlite3 /Users/senny/Projects/rails/activerecord/test/cases/adapters/mysql2/sp_test.rb:16:in `<class:Mysql2StoredProcedureTest>': undefined method `version' for #<ActiveRecord::ConnectionAdapters::SQLite3Adapter:0x007f8bab4b5b70> (NoMethodError) from /Users/senny/Projects/rails/activerecord/test/cases/adapters/mysql2/sp_test.rb:5:in `<top (required)>' from /Users/senny/Projects/rails/activesupport/lib/active_support/dependencies.rb:302:in `require' from /Users/senny/Projects/rails/activesupport/lib/active_support/dependencies.rb:302:in `block in require' from /Users/senny/Projects/rails/activesupport/lib/active_support/dependencies.rb:268:in `load_dependency' from /Users/senny/Projects/rails/activesupport/lib/active_support/dependencies.rb:302:in `require' from /Users/senny/Projects/rails/railties/lib/rails/test_unit/test_requirer.rb:11:in `block in require_files' from /Users/senny/Projects/rails/railties/lib/rails/test_unit/test_requirer.rb:10:in `each' from /Users/senny/Projects/rails/railties/lib/rails/test_unit/test_requirer.rb:10:in `require_files' from /Users/senny/Projects/rails/railties/lib/rails/test_unit/minitest_plugin.rb:69:in `plugin_rails_init' from /Users/senny/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/minitest-5.3.3/lib/minitest.rb:73:in `block in init_plugins' from /Users/senny/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/minitest-5.3.3/lib/minitest.rb:71:in `each' from /Users/senny/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/minitest-5.3.3/lib/minitest.rb:71:in `init_plugins' from /Users/senny/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/minitest-5.3.3/lib/minitest.rb:122:in `run' from bin/test:19:in `<main>' ```
-
由 Zachary Scott 提交于
Use #distinct instead of #uniq in the guides
-
由 oesgalha 提交于
* #uniq is an alias of #distinct * #uniq will be deprecated, see: rails/rails@adfab2dcf4003ca564d78d4425566dd2d9cd8b4f
-
由 Kasper Timm Hansen 提交于
It's already represented in the key name. Demonstrate with a test. Also test that the default isn't output.
-
由 Arthur Nogueira Neves 提交于
Allow rake:stats to account for rake tasks
-
由 Sean Griffin 提交于
Add support for bidirectional destroy dependencies
-
由 Arthur Nogueira Neves 提交于
Remove required `sdoc` from Rakefile
-
由 Arthur Nogueira Neves 提交于
[ci skip] Add `:binds` to a list of paramaters of `sql.active_record`
-
- 28 10月, 2015 10 次提交
-
-
由 yui-knk 提交于
-
由 Richard Schneeman 提交于
specify deprecated waring, follow the standard conventions
-
由 Gaurav Sharma 提交于
`skip_filter`, `skip_action_callback` may both are deprecated in Rails 5.1 so waring msg should be specific.
-
由 Rafael Mendonça França 提交于
For ActionController::Base we write the cookies in a middleware if it was not yet committed no matter if the response was committed or not. [1] For ActionController::Live we write the cookies before the response is committed. [2] We already mimic ActionController::Live in ActionController::TestCase but we don't mimic the ActionController::Base behavior because we were checking if the response was committed before writing the cookies. Now we are matching the behavior of the middleware and writing the cookies if it was not written before. [1]: https://github.com/rails/rails/blob/80c6b901d4d87cee610ab0a438ff6e3c6bf118d1/actionpack/lib/action_dispatch/middleware/cookies.rb#L599-L604 [2]: https://github.com/rails/rails/blob/80c6b901d4d87cee610ab0a438ff6e3c6bf118d1/actionpack/lib/action_controller/metal/live.rb#L218-L223
-
由 Rafael Mendonça França 提交于
This is leftover from when `render nothing: true` rendered blank string.
-
由 Rafael França 提交于
Fix Typo in EagerLoadPolymorphicError [ci skip]
-
由 Alex Myers 提交于
-
由 Rafael Mendonça França 提交于
Includes HABTM returns correct size now
-
由 Rafael França 提交于
fix typo in `db:purge` description [ci skip]
-
由 yuuji.yaginuma 提交于
-
- 27 10月, 2015 16 次提交
-
-
由 Kasper Timm Hansen 提交于
[ci skip] Aline code examples in AR changelog
-
由 Santiago Pastorino 提交于
raise `ArgumentError` when `SECRET_KEY_BASE` is an integer
-
由 yui-knk 提交于
-
由 Arun Agrawal 提交于
If `SECRET_KEY_BASE` or other `secret` gets passed as other then string we need to raise `ArgumentError` to know that it's a wrong argument. Closes #22072
-
由 Guo Xiang Tan 提交于
-
由 Rafael Mendonça França 提交于
This reverts commit 60c97012, reversing changes made to 6a25202d. Reason: Broken build
-
由 Arthur Neves 提交于
Fix InheritanceTest#test_scope_inherited_properly implementation bugs
-
由 Matt Todd 提交于
This triggers the JoinDependency work to reflect on the associations and trigger an error as follows: ActiveRecord::ConfigurationError: Association named 'account' was not found on Company; perhaps you misspelled it? Fix Company.of_first_firm joins association name Should be `Company.joins(:accounts)` not `Company.joins(:account)`. Do the same for Client.of_first_firm
-
由 schneems 提交于
-
由 schneems 提交于
-
由 schneems 提交于
-
由 Sean Griffin 提交于
Errors can be indexed with nested attributes Close #8638
-
由 Rafael França 提交于
Edits default `config/boot.rb` to match what's generated by Rails 4.2.
-
由 AnnaErshova 提交于
-
由 Sean Griffin 提交于
Explicitly exit with status "1" for create and drop failures
-
由 schneems 提交于
-
- 26 10月, 2015 4 次提交
-
-
由 Sean Griffin 提交于
Make `Module#redefine_method` to keep method visibility
-
由 Arun Agrawal 提交于
This is required inside `api/task`
-
由 yui-knk 提交于
Before this commit `Module#redefine_method` always changes visibility of redefined method to `public`. This commit changes behavior of Module#redefine_method` to keep method visibility.
-
由 Sean Griffin 提交于
Do not omit parentheses [ci skip]
-
- 25 10月, 2015 1 次提交
-
-
由 Claudio B 提交于
Tweaked wording used in some tests.
-