Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

will's Profile

GitHub User: asecondwill

Site: hashtwo.com

Comments by will

Avatar

Seems line image attachments is a bit undercooked in active admin. Any examples of a good way to to it, including deleting & preview.

Currently im using paperclip & editing the form like this:

f.input :image,
:as => :file,
:hint => f.template.image_tag(f.object.image.url(:medium))

I could keep going and add some JS and a delete button, but it seems like something the framework should administer

Avatar

This is great, i love that it isn't a gem so I'm more likely to read the code & learn.

I'd like to add to this to allow for events that occur over multiple days. Does anybody have any advice on how to go about this?

Avatar

One issue could be speed. The latency for sites to get to our users is quite significant when hosting in the US and users are in Australia.