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

undefined method `grid' for #6

Open
jsyoo opened this issue May 30, 2018 · 2 comments
Open

undefined method `grid' for #6

jsyoo opened this issue May 30, 2018 · 2 comments

Comments

@jsyoo
Copy link

jsyoo commented May 30, 2018

After installing gem and setting it up in rails_admin configuration and in model as described at README.md, it came up "exception":"#\u003cActionView::Template::Error: undefined method `grid' for #\u003cRailsAdmin::Config::Sections::Base:0x00007fe4a01426c0\u003e\u003e".

Any idea to solve this problem?

@charlescui
Copy link

@jsyoo you should use this gem in gemfile, make sure this require sequence:

gem 'rails_admin_grid', path: "vendor/rails_admin_grid"
gem 'rails_admin', '~> 2.0'

@mrstevekim
Copy link

I already did Gemfile like that. but I have also same issue.

my rails and ruby version.

gem 'rails', '4.2.6'

ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-darwin19]

스크린샷 2020-12-04 오전 11 57 38

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

3 participants