- 13 8月, 2017 6 次提交
-
-
由 Matthew Draper 提交于
Use `references` to respect primary key type in active storage tables
-
由 Matthew Draper 提交于
Delegate to `Enumerable#find` for `CollectionProxy`
-
由 Ryuta Kamizono 提交于
Since `Relation` includes `Enumerable`, it is enough to use `super` simply.
-
由 Ryuta Kamizono 提交于
If created active storage tables by mysql2 or postgresql adapters, a primary key is defined as a bigint. It should be used `references` to the reference columns to respect primary key type.
-
由 Rafael França 提交于
Remove duplicated `table_name`
-
由 Anton Khamets 提交于
* Add test for the new exception of delegate_missing_to * Add a changelog entry * Only check for nil if NoMethodError was raised * Make method private * Have to pass both target name and value * Inline the re-raise [Rafael Mendonça França + Anton Khamets]
-
- 12 8月, 2017 30 次提交
-
-
由 Ryuta Kamizono 提交于
It can use `AbstractReflection#table_name` simply.
-
由 Ryuta Kamizono 提交于
This comment was added at 97849deb, but `AssociationProxy` and `test_triple_equality` was removed at 1644663b. Currently the `===` is used for `test_decorated_polymorphic_where` that added at #11945. So I updated "association proxies" to "decorated models". And also, currently `Core::ClassMethods` appears in the doc. http://api.rubyonrails.org/classes/ActiveRecord/Core/ClassMethods.html But it looks like that the methods in the module is not public API. So I also added `# :nodoc:` to the module.
-
由 Rafael Mendonça França 提交于
Optimize indentation for generator actions
-
由 Rafael França 提交于
Add code formatting and minor grammar clarifications
-
由 Rafael França 提交于
Fixed query building when relation is passed for has one or has many association in where
-
由 Rafael França 提交于
Eager load controller actions to reduce response time of the first request
-
由 Rafael França 提交于
Removed empty line from dummy_manifest
-
由 Rafael França 提交于
Add `:authors` to address random failures at HasOneAssociationsTest
-
由 Rafael Mendonça França 提交于
Merge pull request #30116 from yhirano55/skip_unused_components_when_running_rails_command_in_plugin Skip unused components when running `bin/rails` in Rails plugin
-
由 Rafael França 提交于
Remove :sorted test order for isolated tests
-
由 Rafael França 提交于
Activestorage rack test uploaded file
-
由 Rafael Mendonça França 提交于
Add git_source to Gemfile for plugin generator
-
由 Rafael França 提交于
Improve callback examples in Active Job guide
-
由 Rafael França 提交于
Use copy to preserve file permissions
-
由 Rafael França 提交于
Prevent generation extra empty lines in a plugin's Rakefile
-
由 Rafael França 提交于
[Active Storage] `rubocop -a --only Layout/TrailingBlankLines`
-
由 Rafael França 提交于
ActiveStorage: Remove unnecessary require in test_helper
-
由 Rafael Mendonça França 提交于
Active Storage was now merged to master and it is automatically installed in a new application.
-
由 Rafael França 提交于
Return Not found Ids in ActiveRecord::NotFound
-
由 Rafael França 提交于
More robust PostgreSQL database duplication check
-
由 Rafael França 提交于
Evaluate `@active_storage_attached_#{name}` only once
-
由 Rafael França 提交于
Add `null: false` to Active Storage tables
-
由 Isaac Betesh 提交于
-
由 Ryuta Kamizono 提交于
Fixes #29045.
-
由 Ryuta Kamizono 提交于
-
由 Ryuta Kamizono 提交于
These columns aren't intended nullable.
-
由 Anton Khamets 提交于
-
由 Ryuta Kamizono 提交于
Currently `"@active_storage_attached_#{name}"` in `define_method` is evaluated every call. It is better to evaluate it only once.
-
由 Ryuta Kamizono 提交于
-
由 yhirano55 提交于
-
- 11 8月, 2017 4 次提交
-
-
由 Robin Dupret 提交于
Fix generator example code [ci skip]
-
由 Ryuta Kamizono 提交于
Fix RDoc formatting: `+` doesn't work with `@` [ci skip]
-
由 ohbarye 提交于
refs: https://github.com/rails/rails/pull/30161 ``` $ echo "+@size+" | rdoc --pipe <p>+@size+</p> $ echo "<tt>@size</tt>" | rdoc --pipe <p><code>@size</code></p> ``` [ci skip]
-
由 zverok 提交于
-