Topic:   Ruby on Rails

Automated system testing with Rspec in a Ruby on Rails app :: Full-stack web development "Hello World" tutorials for entrepreneurs: Part 10 of 10

This post is the final part of a 10-part series within a series that is designed to teach full-stack web development for entrepreneurs. Here we’ll introduce the topic of automated testing with Rspec within a Ruby on Rails app. We’ll work through writing “system tests” as an example, which allows us to mimic the behavior of manually clicking through a browser and filling things out. Our system tests will be used to ensure our previously developed forms in Rails, React, and Turbo won’t break with future code commits.

Code Formatting and Linting in Ruby and JavaScript :: Full-stack web development "Hello World" tutorials for entrepreneurs: Part 9 of 10

This post is part 9 of a 10-part series within a series that is designed to teach full-stack web development for entrepreneurs. Here we’ll dive into the topics of automated code formatting and linting to maintain consistent code styles and help us catch bugs before they get committed to our code repository.

How to upgrade Ruby versions for your Ruby on Rails app

Continuing our technical founder training series, in this short post we’ll walk through upgrading Ruby versions for our Rails app.

Hotwire with Turbo Frames, Turbo Streams, StimulusReflex, and CableReady :: Full-stack web development "Hello World" tutorials for entrepreneurs: Part 8 of 10

This post is part 8 of a 10-part series within a series that is designed to teach full-stack web development for entrepreneurs. Here we’ll dive into the recently released Hotwire stack with Ruby on Rails and leverage Hotwire’s Turbo Frames and Turbo Streams. We’ll compare side-by-side how Turbo Frames can be used alongside StimulusReflex, and how CableReady can be used to expand upon the current feature set of Turbo Streams. In addition, since we already set up a comparable “Hello World” example in Redux/React in parts 5, 6, and 7 of this mini-series, we’ll demonstrate how “HTML over the wire” solutions like Hotwire and StimulusReflex/CableReady can potentially save startup founders a significant amount of time - compared to Redux/React - to achieve modern, reactive web experiences for users.

How to upgrade Ruby on Rails using Visual Studio Code's source control interface

This post is designed for those following along our Technical Founder Training series. Rails has a fantastic guide for upgrading versions, so in this post we are going to walk through it using Visual Studio Code, our code editor of choice in this series. Specifically, we’re going to use an example of upgrading from Rails 6.0 to Rails 6.1, which had a large number of feature updates. When upgrading Rails, it’s generally a good idea to update gems and Javascript libraries at the same time, so we’ll discuss examples of doing that as well.

Course Update :: Technical Founder Training :: Dec 29, 2020

Since writing up the first seven parts of this “Hello World” tutorial series within a series a few weeks ago, a few notable things have been released: Ruby 3.0, Rails 6.1, and Hotwire.

Virtual identities, a primer on antigens and vaccines, and the New Magic is Turbo

In this newsletter I write about this week's podcast, a primer I wrote on viruses, antigens, antibodies, contagiousness, vaccines, and COVID-19 testing, and the release of Hotwire and Turbo in the Rails community.

Course update Dec 13, 2020: Learning to code (plus, office hours / class session **this Thursday** Dec 17)

A quick update about some questions and answers that I have been discussing recently with students.

Web development for startups vs. enterprises, StimulusReflex vs. React, and New Magic with Ruby on Rails :: with Joe Clarke and David Parrott

In this episode of Ventures, my guests Joe Clarke (TaskBill.io) and David Parrott (ProtaVentures.com) and I dive deep into the world of web development. We discuss its history over the past few decades, languages and frameworks, tools for entrepreneurs, tips for those learning to code, and thoughts about the upcoming “New Magic” from the Rails and Basecamp communities.

Redux, Rails, and ActionCable :: Full-stack web development "Hello World" tutorials for entrepreneurs: Part 7 of 10

This post is part 7 of a 10-part series within a series that is designed to teach full-stack web development for entrepreneurs. Here we’ll dive even further into Redux by wiring it up with ActionCable from Rails.

Stimulus.js, StimulusReflex, and CableReady :: Full-stack web development "Hello World" tutorials for entrepreneurs: Part 4 of 10

This post is part 4 of a 10-part series within a series that is designed to teach full-stack web development for entrepreneurs. Here, we’ll dive into Stimulus.js and StimulusReflex with CableReady.

JavaScript and Ruby on Rails :: Full-stack web development "Hello World" tutorials for entrepreneurs: Part 3 of 10

This post is part 3 of a 10-part series within a series that is designed to teach full-stack web development for entrepreneurs. Here we’ll dive into JavaScript and introduce Ruby on Rails models, migrations, and PostgreSQL.

Shell Scripting and Cascading Style Sheets (CSS) :: Full-stack web development "Hello World" tutorials for entrepreneurs: Part 2 of 10

This post is part 2 of a 10-part series within a series that is designed to teach full-stack web development for entrepreneurs. Here we’ll dive into Shell Scripting and Cascading Style Sheets (CSS).

Full-stack web development "Hello World" tutorials for entrepreneurs with Rails, React, and Turbo :: Part 1 of 10

This article kicks off a 10-part series of “Hello World” tutorials to teach full-stack web development for entrepreneurs. We’ll move quickly through the basics of code for web browsers (HTML, CSS, and JavaScript), Git, Shell scripting, Ruby on Rails (routes, controllers, models, views, and partials), Stimulus/StimulusReflex, Redux/React, Hotwire, and testing/linting in Ruby and JavaScript.

Lipidology with Dave :: Code with Isaac. Plus, are "mainstream" and "keto" actually getting along?

In this week’s episode of Ventures, Dave Feldman (@DaveKeto) was kind enough to sit down with me and answer a ton of questions. Also, Isaac from South Carolina (14yrs old) sat down with me to walk through setting up his local Windows machine for Ruby on Rails web development.