Formtastic で ActiveAdmin を使用してIce_Cube gemのselect_recurring
フォーム ヘルパーを使用すると、エラーが発生します。unable to find input class for select_recurring
form do |f|
#Debugging
f.semantic_errors *f.object.errors.keys
f.inputs do
f.input :title
f.input :description, :hint => "Full description for the event"
f.input :short_description, :hint => "Shot description for the event that will be displayed as a thumbnail"
f.input :published
f.input :event_date
f.input :recurring_rule, :as => :select_recurring
end
f.actions
end
直接 (以下) にアクセスすると、定期的なスケジュール要素に対して機能しますが、残りのすべてのフォーム要素が壊れf.input
ます。
f.select_recurring :recurring_schedule
select_recurring
ActiveAdminに組み込むにはどうすればよいですか?