Open ryanwilliams opened 13 years ago
Still broken in rc5. I can't work out why it's broken either, or I'd attempt to fix it myself.
Take a look at my fork - I have a working fix, but still an outstanding issue or two. Most notably, the schema dumper doesn't seem to be picking up its extensions, when run from within my rails project. The schema dumper specs pass.
Also note I've only been testing on postgres.
And do let me know how it works for you, I'll be curious to hear.
@Empact Thank You for fixing this issue. I've been pulling my hair out all day!
@Empact Life saver! Thank you so much. This fix should be merged.
Your fork totally fixed it for me. Thanks!
Also fixed for me, thanks. Maybe turn it into a pull request?
Creating a new record using
Doesn't work, but this does:
With some debugging it appears that the PostgreSQLAdapter#quote method inside lib/spatial_adapter/postgresql.rb wasn't hit when using 'create', but was when updating. This was true even for non-geom fields.
Here is the output using the example provided in the README: