Get started with a search, or browse the videos below. We're adding new content all the time, so be sure to check back often!
- February 26, 2022
Handling Nil in Crystal
Have you run into an error that goes something like "undefined method 'id' for Nil (compile-time type is (User | Nil))". Understand the error and how to resolve it in this LuckyCast!
- September 25, 2021
File Uploads with Shrine
A basic requirement of most web applications will be to store files of some nature. This video walks through the easiest way to accomplish that with Lucky and the Shrine shard!
- June 15, 2021
Requiring Files in a Crystal Application
As applications grow in complexity, you'll need to store logic in separate files. Let's take a look at the different ways to require files in Crystal in this latest Crystal Mastery mirror!
- June 8, 2021
Creating a Crystal Shard or App from the Command Line
Let's check out how easy it is to create a shard or application in Crystal from the command line, in the latest video pulled from the CrystalMastery.io archives!
- June 4, 2021
Creating and Running a Simple Crystal Program
Get started with Crystal with a short and sweet overview of how to create, run, and build your first program.
- May 17, 2021
Deploying on Render.comPro
Render is changing the way modern applications deploy. Hop on board and check out how to get your Lucky apps running on Render!
- April 11, 2021
Write Better Crystal Code with the Ameba Shard
The Ameba shard will help to bring your Crystal code to the next level through static code analysis. Check out this LuckyCast to get it up and running in your project today!
- March 6, 2021
Custom Application Settings with Habitat
Extracting hard-coded strings containing business-specific information from your code and into an application-level configuration will help you write maintainable, extensible code. Habitat makes that a breeze, and this LuckyCast will walk you through the process.
- February 13, 2021
Design Patterns - Decorators from ScratchPro
We've already seen how to implement the decorator design pattern quickly and easily with the Decorator shard. In this episode, let's explore what it looks like to implement this from scratch in our codebase, avoiding a dependency altogether!
- January 17, 2021
Design Patterns - Decorators with a Shard
The Decorator pattern can make a huge difference in your code's maintainability and clarity. In this episode, we check out using the Decorator shard (https://github.com/stephendolan/decorator) to make implementing it a breeze!
- January 10, 2021
- November 2, 2020
TailwindCSS is taking the web development community by storm! In this episode, we demonstrate how to get Tailwind up and running in your application.
- October 26, 2020
Adding Translations (i18n)
Translations are critical for scaling your Lucky application to multiple regions. In this episode, we show how to get up and running with internationalization quickly in your application!
- September 20, 2020
Leveraging Method Overloads
Due to the typed nature of Crystal, we can oftentimes avoid branching logic using method overloads. This strategy needs to be used with some amount of restraint to maintian code clarity, but can lead to huge productivity gains!
- September 3, 2020
- August 26, 2020
Rendering HTML with Crystal
Templating languages for rendering HTML often take you out of your flow in your language of choice with arcane syntax and issues. In this episode, we examine the benefits of Lucky's approach to rendering HTML with pure Crystal!
- August 17, 2020
Advanced Components - Named Slots
Adding named slots to your Lucky components can provide seemingly infinite flexibility and composability with very few trade-offs. In this episode, we walk through an advanced Lucky component concept and highlight some ideal usecases and code cleanup made possible by named slots.
- August 11, 2020
Components - The Basics
Components are commonplace in web development on the client side in frameworks like Vue and React, but seem to be making their way into server-rendered applications a bit more slowly. In this episode, we walk through Lucky's take on components and how to use them.
- July 17, 2020
Contributing to Lucky's Documentation
You may think that the only way to contribute to open source is with code or features, but documentation is an often-overlooked and extremely helpful way to participate. In this episode, we go through the process of selecting a documentation issue to work on, making the change, and submitting a pull request to the Lucky Guides!