Comments (2)
Oh it also happens for token_id
:
rails generate super_scaffold Service Team service_name:super_select enabled:boolean token_id:text_field token_secret:password_field
WARNING: Use strings for Figaro configuration. true was converted to "true".
/Users/ndbroadbent/.local/share/mise/installs/ruby/3.3.1/lib/ruby/gems/3.3.0/gems/activesupport-7.1.3.3/lib/active_support/inflector/methods.rb:290:in `const_get': uninitialized constant Token (NameError)
Object.const_get(camel_cased_word)
^^^^^^^^^^
from /Users/ndbroadbent/.local/share/mise/installs/ruby/3.3.1/lib/ruby/gems/3.3.0/gems/activesupport-7.1.3.3/lib/active_support/inflector/methods.rb:290:in `constantize'
from /Users/ndbroadbent/.local/share/mise/installs/ruby/3.3.1/lib/ruby/gems/3.3.0/gems/activesupport-7.1.3.3/lib/active_support/core_ext/string/inflections.rb:74:in `constantize'
from /Users/ndbroadbent/.local/share/mise/installs/ruby/3.3.1/lib/ruby/gems/3.3.0/gems/bullet_train-super_scaffolding-1.7.8/lib/scaffolding/script.rb:146:in `block in check_required_options_for_attributes'
from /Users/ndbroadbent/.local/share/mise/installs/ruby/3.3.1/lib/ruby/gems/3.3.0/gems/bullet_train-super_scaffolding-1.7.8/lib/scaffolding/script.rb:91:in `each'
from /Users/ndbroadbent/.local/share/mise/installs/ruby/3.3.1/lib/ruby/gems/3.3.0/gems/bullet_train-super_scaffolding-1.7.8/lib/scaffolding/script.rb:91:in `check_required_options_for_attributes'
from /Users/ndbroadbent/.local/share/mise/installs/ruby/3.3.1/lib/ruby/gems/3.3.0/gems/bullet_train-super_scaffolding-1.7.8/lib/bullet_train/super_scaffolding/scaffolders/crud_scaffolder.rb:62:in `run'
from /Users/ndbroadbent/.local/share/mise/installs/ruby/3.3.1/lib/ruby/gems/3.3.0/gems/bullet_train-super_scaffolding-1.7.8/lib/scaffolding/script.rb:212:in `<main>'
from <internal:/Users/ndbroadbent/.local/share/mise/installs/ruby/3.3.1/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
from <internal:/Users/ndbroadbent/.local/share/mise/installs/ruby/3.3.1/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
from /Users/ndbroadbent/.local/share/mise/installs/ruby/3.3.1/lib/ruby/gems/3.3.0/gems/bootsnap-1.18.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
from /Users/ndbroadbent/.local/share/mise/installs/ruby/3.3.1/lib/ruby/gems/3.3.0/gems/zeitwerk-2.6.14/lib/zeitwerk/kernel.rb:34:in `require'
from /Users/ndbroadbent/.local/share/mise/installs/ruby/3.3.1/lib/ruby/gems/3.3.0/gems/bullet_train-super_scaffolding-1.7.8/lib/bullet_train/super_scaffolding.rb:29:in `run'
I think this is a duplicate of #1456
from bullet_train.
Yep, definitely a duplicate of #1456 (which will hopefully be fixed soon).
from bullet_train.
Related Issues (20)
- undefined method 'owning_association' HOT 1
- undefined method `underscore' for nil
- Super scaffolding makes some incorrect assumptions about naming HOT 2
- Join model scaffolder throws an error if you don't supply class names
- Indentation in scaffolded tests is wrong
- Super scaffolding any model causes the OpenAPI test to start failing HOT 5
- Including Sentry in `app.json` breaks review apps on heroku
- Some of the `bin/configure` stuff would be better in `bin/setup` HOT 1
- A fresh app instantly runs out of memory on heroku
- We shoud activate jemalloc by default on heroku
- Can you super scaffold something that doesn't belong to a team? HOT 1
- Running super_scaffold breaks with error message "Model file not found" even though it was generated
- Should we consider switching to Playwright instead of Selenium for driving system tests?
- Unmet dependencies HOT 4
- Problems with `overmind` + `asdf`? HOT 1
- Redirect loop if a team has no members
- Docs for MFA seem to be incomplete HOT 1
- `devise-two-factor` is broken without jQuery
- Support for passkeys?
- Webhook attempt numbers aren't displayed properly
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 bullet_train.