- 18 9月, 2017 21 次提交
-
-
由 Yauheni Dakuka 提交于
-
由 Ryuta Kamizono 提交于
Remove "the" [ci skip]
-
由 Yauheni Dakuka 提交于
-
由 Ryuta Kamizono 提交于
Add test validating that Model.attribute_names cache is busted
-
由 Ryuta Kamizono 提交于
-
由 Ryuta Kamizono 提交于
-
由 Ryuta Kamizono 提交于
-
由 Ryuta Kamizono 提交于
Since we have `Preloader#preload`, `Preloader::Association#preload` is a little confusing. And also, since the `preload` method is an abstract method, it is hard to read where `associated_records_by_owner` is called. This refactors `Preloader::Association` to ease to read where `associated_records_by_owner` is called.
-
由 George Claghorn 提交于
Remove unused require in ActiveStorage::Variation
-
由 Yoshiyuki Hirano 提交于
-
由 Ryuta Kamizono 提交于
If collided named sequence already exists, newly created serial column will generate alternative sequence name. Fix sequence name detection to allow the alternative names.
-
由 Ryuta Kamizono 提交于
`options` is never assigned to `scope` as long as using splat hash.
-
由 Ryuta Kamizono 提交于
-
由 Ryuta Kamizono 提交于
Class level `update` and `destroy` are using `find` in the internal, so it will raise `RecordNotFound` if given ids cannot find an object even though the method already affect (update or destroy) to any objects. These methods should return affected objects even in that case.
-
由 Ryuta Kamizono 提交于
The docs are obviously for class level `update`, `destroy`, and `delete`. It should be placed in `Persistence::ClassMethods` rather than `Relation`. And also, these methods are not dependent on relation. So it is not needed to delegate to `all` (plus, `klass.find` is faster than `relation.find`).
-
由 Ryuta Kamizono 提交于
-
由 Ryuta Kamizono 提交于
Related 2b5f5cdd. If `reflection.scope` isn't given, `reflection_scope` is always empty scope. It is unnecessary to merge it.
-
由 Ryuta Kamizono 提交于
Related 2b5f5cdd. If `through_scope` is empty scope, it is unnecessary to merge it. And also, comparing relations is a little expensive (will cause `build_arel`). It is enough to use `empty_scope?` to determine whether empty scope.
-
由 Ryuta Kamizono 提交于
`through_scope` is not empty scope if `options[:source_type]` is given.
-
由 Ryuta Kamizono 提交于
Add missing round bracket in "Ruby on Rails 5.1 Release Notes" guide [ci skip]
-
由 bogdanvlviv 提交于
[ci skip]
-
- 17 9月, 2017 14 次提交
-
-
由 Ryuta Kamizono 提交于
Add `mini_magick` to default `Gemfile` as comment
-
由 Ryuta Kamizono 提交于
Fix docs describing rollback [ci skip]
-
由 Yoshiyuki Hirano 提交于
* If we want to transform image on ActiveStorage, we should bundle `mini_magick`. * I've added comment block to default `Gemfile` to be easier to install this.
-
由 dixpac 提交于
* `rails db:migrate STEP = 2` will not rollback the migrations, instead `rails db:rollback STEP = 2` will do the rollback. * Also, rewritten `rails db:migrate VERSION` => `rails db:rollback VERSION` for consistency.
-
由 Ryuta Kamizono 提交于
Update plugins.md [ci skip]
-
由 Ryuta Kamizono 提交于
Add local option to Message form [ci skip]
-
由 Yauheni Dakuka 提交于
-
由 Kasper Timm Hansen 提交于
Fix file missing in activestorage's example code [ci skip]
-
由 Yoshiyuki Hirano 提交于
* File.open("~/face.jpg") raise error: `Errno::ENOENT: No such file or directory @ rb_sysopen - ~/face.jpg`
-
由 Kasper Timm Hansen 提交于
Add tests for credentials command
-
由 Yoshiyuki Hirano 提交于
* MessagesController redirects to `GET /message/:id`. * It looks it don't expect XHR request. * `form_with` behaves for XHR by default. * I've added `local: true` option to `form_with`.
-
由 Ryuta Kamizono 提交于
Remove frozen_string_literal magic comment from templates
-
由 yuuji.yaginuma 提交于
Follow up of #30348
-
由 George Claghorn 提交于
Don't expose Active Storage routes
-
- 16 9月, 2017 3 次提交
-
-
由 Ryuta Kamizono 提交于
Fix typo: `credentails` -> `credentials` [ci skip]
-
由 yuuji.yaginuma 提交于
Follow up of ca18922a
-
由 yuuji.yaginuma 提交于
These routes are only used internally in Active Storage, and it seems that there is no need for the user to directly use them. Therefore, I think that routes should not be exposed to users.
-
- 15 9月, 2017 2 次提交
-
-
由 Kasper Timm Hansen 提交于
Update Getting Started with Rails [ci skip]
-
由 yuuji.yaginuma 提交于
-