Pete Schmitt
Pete Schmitt
I think I'm seeing similar behavior and I think it's related to using `guard` callbacks. Can you try three things: 1. Does the `after` callback fire if you remove the...
Here's another thought that might help you & others in the future. Set `whiny_persistence: true` like so: ```ruby aasm whiny_persistence: true do ... end ``` The `guard` and `after` callbacks...
@samphilipd you can make ActiveRecordCallbacks "fail noisily" with AASM bang transitions when you set the `whiny_persistence: true` option, like so: ```ruby aasm column: :workflow_state, whiny_persistence: true do ... end ```...
I experienced the same behavior. My actual data is in a Postgis database, but here's a example `/app/mapfiles/file.geojson` that reproduces the issue when `FORMATOPTION "LCO:RFC7946=YES"` (it works fine if I...
I think this is user error and maybe this issue should be closed and/or the error reporting should be a bit more descriptive about potential axis ordering issues. I think...
@Tioneb12 maybe this will help you find the issue: In an IRB console, try something like this: ```ruby irb(main):007:0> parser = RGeo::WKRep::WKBParser.new irb(main):008:0> parser.parse("0101000000959636C1DCE30740BFF1B567964F4640") => # ``` You might also...
@Tioneb12 So does this work for you? ```ruby parser = RGeo::WKRep::WKBParser.new parser.parse("0101000000959636C1DCE30740BFF1B567964F4640") ``` What is the output of `RGeo::Geos.supported?`? In `config/database.yml`, do you have `adapter: postgis`? What happens if you...
Have you tried this initializer from the [rgeo-activerecord README](https://github.com/rgeo/rgeo-activerecord)? ```ruby # config/initializers/rgeo.rb RGeo::ActiveRecord::SpatialFactoryStore.instance.tap do |config| # By default, use the GEOS implementation for spatial columns. config.default = RGeo::Geos.factory_generator # But...
Looks like PR #119 may help. It is only in rgeo >= 0.5.0. Let me test with that version and get back.
rgeo-0.5.3 is _much_ faster than 0.4.0 (Thanks, @tneems for #119!), but `RGeo::WKRep::WKBParser#parse` is still slower than I expected, taking 5 minutes to parse my multi polygon: ``` puts Benchmark.measure {...