Open schultyy opened 8 years ago
@holgerd will find out if we'll need this feature in the wheelmap app at all.
The problem here is that it probably won't be possible to create a region via the ActiveAdmin form because a region requires a GEOMETRY
object in order to be valid. I'm not sure if it makes sense to have some text field in place where there user needs to type in some string like POLYGON ((10 10, 110 10, 110 110, 10 110))
.
Right now creating a new region is not possible via ActiveAdmin. The form under
http://localhost:3000/admin/regions
only offers a name field. My guess here is that not all mandatory fields are present. The transaction gets rolled back on insert: