Comments (11)
└──> $ rake db:schema:load
(in /Users/xiaodeshi/projects/refinerycms)
rake aborted!
undefined method `has_friendly_id' for NewsItem(Table doesn't exist):Class
(See full trace by running task with --trace)
from refinerycms.
friendly_id gem must be install in plugin
from refinerycms.
I'm finding a way to work around this.. will report back shortly.
from refinerycms.
Try pulling the latest sourcecode (refinerycms >= 0.9.2) and tell me if the issue is resolved for you? Now you should be able to use rake gems:install and it should work.
from refinerycms.
Will leave this open for another day and then close it as this is working for us through multiple test runs..
from refinerycms.
Still getting the following error with 0.9.6.13:
undefined method `has_friendly_id' for NewsItem(Table doesn't exist):Class
from refinerycms.
got it!Thanks
from refinerycms.
jj05: is that preventing you from running rake db:setup ? We used to have a stub there which only included has_friendly_id if the table existed but it didn't seem like we needed it anymore. Can add back if we were wrong?
from refinerycms.
It prevented me from doing "rake gems:install" and other rake commands. I did manage to work around it by installing the plugin.
from refinerycms.
Yeah, we've actually fixed that in the past. What a pain that it's cropping up again.. adding back the stub doesn't seem to fix it in the same way as last time either. For the gem version I'm adding the dependency to the gem which is where it should be but for 'getting refinery installed' hasn't been. This will be fixed in the next version.
from refinerycms.
New version 0.9.6.14 released which primarily addresses & fixes this bug.
from refinerycms.
Related Issues (20)
- Rails Server Error With New Install HOT 3
- Demo website is broken HOT 16
- URI.unescape is obsolete HOT 6
- Trying to get in touch regarding a security issue HOT 1
- Deploy to Heroku button failing to deploy HOT 1
- Rails 7.0.1 and Ruby 3.1.0 HOT 2
- undefined method `new' for BigDecimal:Class HOT 2
- Unable to access the CMS pages link in ruby project as well as contain of CMS in ruby project HOT 1
- Igeadunbimalato happy with me
- url method causing n+1 queries
- Can't Run Refinery - active support errors HOT 9
- SQLite3::SQLException: no such column: refinery_pages.custom_slug HOT 1
- Refinery::Resource not removed from cache on destroy HOT 2
- `superclass mismatch` on Rails/Zeitwerk reload HOT 1
- Bundle fails on ruby 3.2.1 HOT 1
- Cannot Serve Locally After App Creation HOT 4
- rails 6 support HOT 1
- Mime types bug in refinerycms-images and/or refinerycms-dragonfly? HOT 1
- Rails 7 support HOT 3
- `refinerycms-core` depends on a version of `jquery-ui-rails` with XSS vulnerabilities HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from refinerycms.