Comments (4)
@AndrewSpeed thanks for the bug report, I hadn't even considered making enums with spaces, but you're absolutely right that they are allowed.
from activerecord-pg_enum.
If you'd like to take a crack at this, it shouldn't be very difficult; the code is here:
https://github.com/alassek/activerecord-pg_enum/blob/master/lib/active_record/pg_enum/4.1/schema_dumper.rb#L22
Otherwise I can handle it
from activerecord-pg_enum.
👍 thanks for the response @alassek, I'll have a go at this and let you know if I run into any problems
from activerecord-pg_enum.
Fixed in v1.0.3
from activerecord-pg_enum.
Related Issues (14)
- Application does not boot when also using active_record_extended HOT 4
- Support Rails enum options HOT 3
- enum helper not working with change_table HOT 3
- `create_enum` not getting dumped to schema.rb HOT 5
- Support for renaming, removing enum values HOT 1
- Consider removing enum types as part of `db:drop` / `db:reset` HOT 6
- Support Rails 6.1 HOT 1
- Thoughts on new feature: force cascade for create_enum HOT 2
- Segmentation fault for Ruby 3.0 HOT 5
- Cannot add new enum value HOT 2
- couple notes on readme HOT 4
- Rails 7 support HOT 10
- Rails 7 support HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from activerecord-pg_enum.