Explore LuckyCasts
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!
4m 17s
Beginner
- 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!
13m 29s
Intermediate
- 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!
8m 35s
Beginner
- 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!
4m 3s
Beginner
- 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.
2m 14s
Beginner
- May 17, 2021
Deploying on Render.com
ProRender is changing the way modern applications deploy. Hop on board and check out how to get your Lucky apps running on Render!
8m 49s
Beginner
- 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!
7m 28s
Beginner
- 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.
6m 40s
Beginner
- February 13, 2021
Design Patterns - Decorators from Scratch
ProWe'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!
3m 54s
Intermediate
- 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!
7m 41s
Intermediate
- January 10, 2021
Adding StimulusJS
StimulusJS is the perfect JavaScript framework for adding minimal sprinkles of functionality onto your server-rendered HTML. Take a look at how to get started with StimulusJS in Lucky today!
7m 30s
Beginner
- November 2, 2020
Adding TailwindCSS
TailwindCSS is taking the web development community by storm! In this episode, we demonstrate how to get Tailwind up and running in your application.
5m 55s
Beginner
- 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!
9m 13s
Intermediate
- 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!
5m 10s
Intermediate
- September 3, 2020
Adding TypeScript
One of the strongest benefits of Crystal is the typed nature, so why not have the same thing in your JavaScript? In this episode, we take a look at setting up TypeScript with Lucky for ultimate developer confidence and productivity!
5m 52s
Beginner
- 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!
6m 8s
Beginner
- 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.
3m 39s
Advanced
- 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.
5m 41s
Beginner
- 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!
6m 0s
Beginner