我怎样才能做到这一点?
谢谢 !
ActiveAdmin.register Event do form :html => { :enctype => "multipart/form-data" } do |f| f.input :map,:as => :file,:hint => f.template.image_tag(f.object.map.url(:thumb)) end end
再见