A lot of people have been having a hard time integrating bootstrap 5 in Rails 6 and since we have figured out a way to easily integrate the two we decided to put out this tutorial. If you prefer the video tutorial: We are going to show step by step using a newly created app, if you have an existing application you are trying to integrate into, the information below should still work just fine. We are also going to use MySQL as the default database so if you are using something else, then specify that connector instead. Step 1...
Continue reading...Solutions
Migrating from Paperclip to Active Storage
We have a client’s site that we are currently updating from Ruby 2.5.0 / Rails 5.0.1 using the Paperclip gem version 5.0. We looked at a number of ways to make the migration to a current state: Ruby 3.0.1p64 / Rails 6.1.4.1 and using active storage and spend over a full day fumbling through tutorials and various directions offered on different sites… nothing worked right. It seems the problem is that 1) most of the examples and tutorials are for very specific configurations that don’t easily extrapolate to what we needed, and 2) the rest were outdated or dependent upon...
Continue reading...Roland PNC-1410 Running from MacBook Pro
While at a Ham Radio / Hobby Electronics show in Buffalo, MN, we saw a vendor there with a 24″ vinyl cutter doing custom signage for ham radio operators. We thought this could be a worthy investment to bring in some money while we display and discuss our multi rotors and other small electronics / arduino products. We were lucky enough to find an old Roland PNC-1410 (serial/parallel) vinyl cutter with a 36″ cutting area on craigslist for better than a decent price so we scooped it up! Now keep in mind we knew NOTHING about vinyl cutting so we...
Continue reading...Updated PHP Library for Blip.tv – Blip-PHP
I currently have a client that needed to interface with Blip.tv through their API. On Blip’s site the only reference to a php library is one written by Almog Baku. After downloading the library and trying to get it working, I realized that commits on the library were from 2010. Blip updated their API in 2011 so this was a no go. Never to be thwarted, I rewrote the necessary parts dealing with the API an updated them to use the new API. I contacted Almog Baku (the author) and Kelly Sutton (the current maintainer) and we created a new...
Continue reading...Facebook App and User Management Class – fbAppClass – for Facebook PHP SDK 3.1.1
The RWS Dev Team has put together an app and user management class to make creating an app on facebook using their PHP SDK 3.1.1 a world easier! When the RWSDev Team started working with the facebook PHP SDK 3.1.1 we ran into a few problems and once we got those ironed out we decided we should create an app class that would assist others to hopefully avoid a majority of those problems. What this class does: app.inc – stores your basic configuration info for your facebook app like the App Id, App Secret, Base URL and your App Base...
Continue reading...