LoginSignup
8

More than 5 years have passed since last update.

ActiveAdminを入れたら一緒にinherited resourcesも入ってscaffoldテンプレートが上書きされてしまう

Posted at

参考
https://github.com/josevalim/inherited_resources/issues/195

こんなんなった

class UsersController < InheritedResources::Base
end

def indexどこー?
InheritedResourcesってなにー?

てなったけど

application.rb

config.app_generators.scaffold_controller = :scaffold_controller

を記述すると普通になった

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
8