本体に動きがないためfork版のdevelopにどんどんマージしていくことにした # Tasks - [x] AdministrateRansack::FILTERSを追加・変更・削除可能にしたい - ※Enumerizeを追加したりするため - https://github.com/goosys/administrate_ransack/pull/9 - [x] 検索できない項目(がdashboardから与えられている)場合、フォーム化せずにスキップしてしまいたい - https://github.com/goosys/administrate_ransack/pull/10 - #56 - https://github.com/goosys/misty-bird-7370/pull/57/commits/044a58faa9563f1fe37ff88031321a9ad77efa18 - [x] 日付検索の終端をend_of_dayにしたい - ※1/1~1/31 で検索した場合、従来は1/31は含まれなかった(~1/31 00:00となるため) - https://github.com/goosys/administrate_ransack/pull/15 - [x] `_page` の件 - ※Administrate 0.15 での修正を反映 - https://github.com/goosys/administrate_ransack/pull/11 - [x] <s>ransackable_attributesなどをDashboardで制御したい</s> - ※越権的なため、やっぱりやめる - [ ] ransackable_attributes 他に自動的にauth_objectを渡す - ※auth_objectに何を渡すかだけ検討する - ※Administrate以外で使用するときにauth_objectがnilや他のオブジェクトになることも気にしておく - ransackable_scopes, ransackable_attributes, ransackable_associations - ※ransortable_attributesは ransackable_attributesと同じものになるよう - https://activerecord-hackery.github.io/ransack/going-further/other-notes/#authorization-allowlistingdenylisting:~:text=strings.%0A%20%20%23%0A%20%20def-,ransortable_attributes,-(auth_object%20%3D - [ ] `field.resource` がcontextualizeされるようにする - ※`helper_meshod :new_resource_for_searchable` のようなものを作る? # Todos - Administrate開発版(1.0.0.beta3)で検証 - https://github.com/goosys/administrate_ransack/pull/16 - 追加機能のドキュメント化 - https://github.com/goosys/administrate_ransack/pull/14
本体に動きがないためfork版のdevelopにどんどんマージしていくことにした
Tasks
_pageの件ransackable_attributesなどをDashboardで制御したいfield.resourceがcontextualizeされるようにするhelper_meshod :new_resource_for_searchableのようなものを作る?Todos