takahashim個人のメモです。
- 「日本国内のいろんな地域でRubyとRubyコミュニティが盛り上がってほしい!」というのが大前提としてあります
- ITエンジニア向けイベントはなんだかんだといって東京近辺に偏りがちだし
- RubyKaigiは首都圏から離れて久しいけど年に1回・1箇所でしかできないし
- とはいえ、Rubyistはすでに各地にいて、普段の活動は各地でいろいろされているはず
| require 'rubycocoa' | |
| ##### begin from drb/invokemethod.rb | |
| module DRb | |
| class DRbServer | |
| module InvokeMethod18Mixin | |
| def block_yield(x) | |
| if x.size == 1 && x[0].class == Array | |
| x[0] = DRbArray.new(x[0]) | |
| end |
| --- db/schema.rb 2025-08-07 16:54:14 | |
| +++ ../../decidim-cfj/scheme-v30.rb 2025-08-07 17:24:08 | |
| @@ -10,9 +10,10 @@ | |
| # | |
| # It's strongly recommended that you check this file into your version control system. | |
| -ActiveRecord::Schema[7.0].define(version: 2025_08_07_076037) do | |
| +ActiveRecord::Schema[7.0].define(version: 2025_08_05_081192) do | |
| # These are extensions that must be enabled in order to support this database | |
| enable_extension "ltree" |
| (original: http://furukawablog.spaces.live.com/Blog/cns!1pmWgsL289nm7Shn7cS0jHzA!2225.entry) | |
| (archived: https://web.archive.org/web/20061105073147/http://furukawablog.spaces.live.com/Blog/cns!1pmWgsL289nm7Shn7cS0jHzA!2225.entry) | |
| November 04 | |
| 私のマイコン遍歴、日本のパソコン30年史、その1 | |
| 私がその昔、秋葉原少年だった頃(今のアキバ系とちょっと違うとは思うのだけど、まぁ普通の人から見ると同類項だったのかな?)秋葉原にはアスターインターナショナル、コンピュータLab、若松通商、ビットイン、本田通商、そして新宿のムーンベース、タンディ・ラジオシャック、御苑前のアスターインターナショナル本店などに当時のマイコン少年は毎日たむろしていたのでした。 | |
| 当時はTK-80、KIM-1、SCAMP、HitachiやL-Kit16などの10万円ほどする、いわゆるワンボードマイコンが全盛期でありました。Altair、IMSAI、SOL-20、Horizon North Star、クロメムコといったS-100バスのコンピュータはテレタイプに紙テープで操作するもので50万から80万円、8インチのフロッピー・ディスクを搭載したものが100万から150万円もする時代でありました。(ご参考までに、大卒初任給は10万円ぐらいの時代のことです。) |
| > 質問です。ProposalStateを編集する画面はありますか?ない場合、どうやれば変更できるでしょうか | |
| ⏺ ProposalStateを編集する画面について調査します。 | |
| ⏺ Search(pattern: "proposal_states", path: "../decidim/decidim-proposals", include: "*controller*") | |
| ⎿ Found 1 file (ctrl+r to expand) | |
| ⏺ Read(../decidim/decidim-proposals/app/controllers/decidim/proposals/admin/proposal_states_controller.rb) | |
| ⎿ Read 87 lines (ctrl+r to expand) |
When the default locale is set to a non-ASCII language (such as Japanese :ja), the create_default_states! method in decidim-proposals fails to create ProposalState records. This prevents proposal components from having the necessary states (evaluating, accepted, rejected), making proposal answering functionality unavailable in the admin interface.
The issue occurs because the generate_token method in ProposalState cannot properly handle non-ASCII characters in titles when generating tokens, and it incorrectly processes symbol tokens passed from create_default_states!.
| ransack.search: 検索 | |
| ransack.predicate: は以下である | |
| ransack.and: と | |
| ransack.or: あるいは | |
| ransack.any: いずれか | |
| ransack.all: 全て | |
| ransack.combinator: 組み合わせ | |
| ransack.attribute: 属性 | |
| ransack.value: 値 | |
| ransack.condition: 状態 |