Beautiful-Scaffold
Beautiful-Scaffold copied to clipboard
deleting scaffold cause errors
I have the done the following scaffold and wanted to delete it but it caused errors:
rails g beautiful+_scaffold site_type type:string notes:text
got the following error which caused rails s not to work
versions/2.6.3/lib/ruby/gems/2.6.0/gems/actionpack-6.1.3/lib/action_dispatch/routing/mapper.rb:2094:in `block in concerns': No concern named bs_routes was found! (ArgumentError)
You must remove "concerns: :bs_routes" in your resource (in routes.rb file).