Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No concern named active_scaffold was found! #620

Open
silambarasanmuthuvel opened this issue Jun 18, 2019 · 1 comment
Open

No concern named active_scaffold was found! #620

silambarasanmuthuvel opened this issue Jun 18, 2019 · 1 comment

Comments

@silambarasanmuthuvel
Copy link

i've changed the my app to rails 4.2 to 5.2 so
as_routes is not worked instead of that i put
resources :model, concerns: :active_scaffold
now it is showing the error as
No concern named active_scaffold was found!

@scambra
Copy link
Member

scambra commented Jun 19, 2019

Run rails g active_scaffold:install, it should add concerns definition to your routes. It may change your application.js and application.css manifests, check them.

Or just add concerns to your routes, at top of draw block:

concern :active_scaffold, ActiveScaffold::Routing::Basic.new(association: true)
concern :active_scaffold_association, ActiveScaffold::Routing::Association.new

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants