sanfrecce-osaka
sanfrecce-osaka
## Description A migration isn't executed when pushing `save changes` button after creating a model. The regular expression in `GenaratorRunner.execute_generate_model` starts with slash, but the paths of `result` don't have...
## Description Renaming model fails when pushing `save changes` button. The order of the assignments are inappropriate. ## Before [](https://gyazo.com/73189d6c5d742921fb5b3cf6b2a2690d)
Some methods need to be implemented in the following cases when using PORO decorator, but documentation did not mention it. - use any actions with param(e.g. `show`, `edit`, `destroy` )...
Using timecop with psych 4.0.5, behavior differs between the test environment and other environments
## Steps to reproduce Under the following conditions, - **psych version**: 4.0.5 - **timecop version**: 0.9.5 - **ruby version**: 3.1.2 - **rails version**: 6.1.6.1 run the following. ```zsh $ bin/rails...
## 翻訳元の原文 - pattern_matching.rd - cf. https://github.com/ruby/ruby/blob/v3_2_0/doc/syntax/pattern_matching.rdoc - control.rd - cf. https://github.com/ruby/ruby/commit/281b3500580f9ec93ee17679c648eaeb4a47f8b6 ## pattern_matching.rd の配置に関して rurema/doctree の `refm/doc/spec` 配下と ruby/ruby の `doc/syntax` 配下が似たようなファイル構成になっているため、 pattern_matching.rd も `refm/doc/spec` に配置しました また今後可能なら doc 配下のファイルやクラス・モジュール・ライブラリのヘッドラインに...
Since provided a way to declare visibility of attributes defined by attr* methods in a single expression after 3.0, I fixed the type signatures of below methods. - `Module#private` -...
### Motivation / Background ActiveRecord allows comments on tables as well as columns. cf. https://api.rubyonrails.org/classes/ActiveRecord/ConnectionAdapters/SchemaStatements.html#method-i-table_comment However, `rails-mermaid_erd` currently does not support table comments. I want comments on tables along with...
3.1 で追加された {Method,UnboundMethod}#{public?,private?,protected?} の説明を追加しました cf. https://github.com/ruby/ruby/commit/27278150685e738f84105d09843d3ba371146c7a {Method,UnboundMethod}#{public?,private?,protected?} は 3.1 で追加後に 3.2 で削除されているためサンプルコードは追加せず最低限の説明にとどめています cf. https://techlife.cookpad.com/entry/2022/12/26/121950#%E5%89%8A%E9%99%A4%E3%81%95%E3%82%8C%E3%81%9F%E3%83%A1%E3%82%BD%E3%83%83%E3%83%89
Ruby 3.3.0 で追加された MatchData#named_captures の symbolize_names オプションの説明を追加しました cf. https://docs.ruby-lang.org/en/3.3/MatchData.html#method-i-named_captures cf. https://github.com/ruby/ruby/blob/v3_4_0_preview1/doc/NEWS/NEWS-3.3.0.md?plain=1#L59-L62 symbolize_names の説明は https://product.st.inc/entry/2023/12/25/160504 の > `symbolize_names` というキーワード名は、`JSON.parse` の既存のキーワードにならっています。 という記載から JSON.#parse と同じにしています cf. https://github.com/rurema/doctree/blob/5aa0a74b04505041e9cbd713bd8bfb3cee1c3a9c/refm/api/src/json/JSON#L317-L318 追加したサンプルコードは https://docs.ruby-lang.org/en/3.3/MatchData.html#method-i-named_captures の symbolize_names のものをそのまま引用しています
各クラスの deconstruct と deconstruct_keys の説明を追加しました - Struct#deconstruct - https://docs.ruby-lang.org/en/3.3/Struct.html#method-i-deconstruct - https://github.com/ruby/ruby/commit/9c9db64d7e9058dc6fc7ead3791b259685798806 - Struct#deconstruct_keys - https://docs.ruby-lang.org/en/3.3/Struct.html#method-i-deconstruct_keys - https://github.com/ruby/ruby/commit/d4da74ea786da7906fdb85e593593a9c6c11fe96 - MatchData#deconstruct - https://docs.ruby-lang.org/en/3.3/MatchData.html#method-i-deconstruct - https://github.com/ruby/ruby/commit/4954c9fc0f9d06aa4e3e8deb33b41f3fae294adc - MatchData#deconstruct_keys - https://docs.ruby-lang.org/en/3.3/MatchData.html#method-i-deconstruct - https://github.com/ruby/ruby/commit/4954c9fc0f9d06aa4e3e8deb33b41f3fae294adc -...