-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Rails 5 - Gives Warning for no ApplicationRecord dashboard #639
Comments
I saw that error and got another one myself:
But maybe that's due to me having a bunch of tables in my postgres without having AR models for them (otherwise is is a freshly scaffolded rails 5 app). I'll retry on an empty db. |
Once I started with a clean scaffolded rails 5 app, with only a scaffolded |
Now I run into this problem:
|
Cies, I get
When I do it, too. I actually moved off that branch and went on to another project because nothing I could do would fix it, even different version of bourbon. My gemfile was the one suggested:
I event tried normal bourbon, too. |
I got:
Fixed the bourbon issue, but I got the feeling not all is working well yet (missing the experience with a good working version of administrate to make solid claims). I think I go with rails 4 and administrate -- @bjkeeton what project did you go with? |
I also ran into issues using Rails 5 and Bourbon. Bourbon 5.0 beta changes many things, so when I integrated administrate, which required me to go back to the 4.2 Bourbon version but broke my previous application completely. But to get the bourbon working, you need to change the Bourbon dependency in the gemspec to allow version 5.0. It seemed to bundle correctly, but I haven't really tried to check if everything else works. |
There are two issues happening here.
I'm going to close the issue but feel free to continue discussing Bourbon issues on #615 |
I noticed when using the Rails5 beta that the following warning comes up:
Since ApplicationRecord will never be connected to a database, the warning is pointless.
Right now, I feel as though I know enough to be dangerous, but I can't figure out how to get this to go through and pass (or even if the test/fix is correct). Anyone know a quick fix for this one, or can point out what I'm doing wrong?
My fork is here, with my ideas, but I can't get the tests to pass because I'm not 100% on the syntax at this point: https://github.com/GeekFitness/administrate
The text was updated successfully, but these errors were encountered: