Comments (3)
As it turns out, this is due to not using ActiveSupport onload hooks to interact with active record. Please see rails/rails#23589 and rails/rails#25777 for more info.
Until this is resolved, moving the activerecord config into application.rb's config block will allow the setting to be set early enough in the boot cycle that the config is properly respected by descendants of AR::Base/ApplicationRecord.
from enum_help.
@apolzon see PR #34 which fixes the monkey patch.
from enum_help.
@zmbacker please merge it. Thanks!
from enum_help.
Related Issues (18)
- radio button layout broken when using simple_form with bootstrap. HOT 6
- Capitalize the outputted choices? HOT 3
- I18n translation not working when using simple_form as: :string option
- Remove "enum_radio_buttons" classes?
- Translation for enums in model concerns
- "No" shown as "false" HOT 1
- alias_method_chain is deprecated in Rails 5 HOT 1
- i18n array with int keys HOT 1
- simple from item_wrapper_tag and item_wrapper_class not working
- display enum field value in view
- Select field not generated HOT 1
- Rails 5.1 `Gem Load Error is: uninitialized constant SimpleForm::Inputs::CollectionSelectInput` HOT 1
- The method .references() must contain arguments HOT 1
- Enum delegated attribute
- Support Rails 7 HOT 6
- could not use this gem without rails exists, Even though have active_record installed HOT 2
- input as radio buttons doesn't work HOT 2
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 enum_help.