Fugee Ohu
Joined
160 Experience
0 Lessons Completed
0 Questions Solved
Activity
@items=Item.where(category_id IN ()
Anyone know the syntax? I'm trying to add to the category id's of the descendant categories (if any) in addition
Posted in 2 sites... 1 DB?
I don't see where there's any issue other than activestorage I have two sites running from the same database but I can't figure out how to display images
How do I add a favicon in rails 6 through packs
app/javascripts/packs/application.js:
import "favicons"
app/javascripts/packs/favicons.js:
const faviconsContext = require.context(
‘!!file-loader?name=../images/favicons/[name].[ext]!.’,
true,
/.(svg|png|ico|xml|json)$/
);faviconsContext.keys().forEach(faviconsContext);