Massuploading pictures using ActiveStorage
ActiveStorage is a gem, I really think so. Before AS, whenevener I needed to attach a “blob” (image or other document) to a model it […]
Continue reading »Golden nuggets where no entry is longer than my expected attention span
ActiveStorage is a gem, I really think so. Before AS, whenevener I needed to attach a “blob” (image or other document) to a model it […]
Continue reading »This is how you can test the excellent Highcharts library. Make sure you have JQuery added first. <link rel=”stylesheet” href=”https://cdnjs.cloudflare.com/ajax/libs/highstock/6.0.2/css/highcharts.css” integrity=”sha256-ji+33kRPEXS0+FM/AbApEs8n5kT2UBiGyk36zs1F9gE=” crossorigin=”anonymous” /> Also include […]
Continue reading »This is a no-nonsense instruction of how to create a child theme in WordPress. We create it from the existing theme “twentynineteen” 1. Create a […]
Continue reading »I like the fixed menu, that stays in place when your scroll the content, but I have seen a few websites do a cool transition […]
Continue reading »You should specify a lot of things in your HTML header nowadays. Previously it was enough with some CSS and JS script includes. Now we […]
Continue reading »Rails helpers like image_url, link_to, form_with, fields_for etc are nifty little “macros” that makes your Rails code smaller and clearer. I mean, who doesn’t prefer […]
Continue reading »Too many frameworks? Check. Too many tools? Check. Too many crossroads? Then use this roadmap. It will help you decide which path to take in […]
Continue reading »A Complete Guide to Grid A great example of how to use Grid CSS to show thumbnails https://codepen.io/SitePoint/pen/JBqgGm
Continue reading »Rails is great, but nowadays a full page refresh is as unpopular as male ponytails or shoulder pads. Some write full-stack SPA sites, which is […]
Continue reading »OK, let’s have it, are you a Gulper or a Grunter? To some, build systems are a major issue. To me, not so much. In […]
Continue reading »A good article about organising CSS/SASS in Rails http://www.mattboldt.com/organizing-css-and-sass-rails/ Basically you have this in yourapp/assets/stylesheets/application.css /* NOTE: Not Application.scss */ /* *= require_self *= require […]
Continue reading »To center an image, use margin: auto; and make it into a block element: img { display: block; margin: auto; width: 40%; } Highlight alla länkar som inte länkar nånstans! a[href=”#”], a[href=””], a:not([href]) […]
Continue reading »