Writing Integration Tests in Ruby on Rails

In our exploration of Ruby on Rails we’ve covered testing quite a few times. It’s important to write tests at various layers of abstraction. A good test suite tests the appropriate details at each abstraction layer to provide good coverage of business rules and functionality whilst not being brittle or superfluous. The final type of […]

Continue reading...

Understanding Comprehensions in Elixir

The first time I saw a comprehension in Elixir I was a bit confused as to what the point of it was. Initially I didn’t understand why you would write a comprehension when you could achieve the same result using the existing tools that Elixir provides. It was only after digging into some Elixir code […]

Continue reading...

Design Inspiration #248

Design Inspiration from Whitehall, Seedlip, Bukwild, Boosted, and Little! Design Inspiration is a weekly post that showcases examples of some of the best new web design from around the internet. Whitehall http://www.whitehallinteriorsnyc.com Seedlip https://www.seedlipdrinks.com Bukwild http://www.bukwild.com Boosted https://boostedboards.com Little http://www.littleco.com

Continue reading...

Using Trailblazer Cells in Action Mailer

Over the past couple of weeks we’ve been looking at building out a registration process using Trailblazer and Ruby on Rails. First we looked at Building out a User Confirmation flow in Trailblazer, and last week we looked at Confirming Users with Trailblazer. One thing we didn’t look at was adding the confirmation email that […]

Continue reading...

What are Elixir Protocols?

An important concept in programming is “polymorphism”. You may have already come across the term if you have previous experience with another programming language as just about every programming language has this concept in one form or another. Polymorphism is defined in Elixir using Protocols. We’ve already touched upon this concept a couple of times […]

Continue reading...

Design Inspiration #247

Design Inspiration from Bear, Contentful, Atlanta’s Tech Village, Salad Creative, and Mindsparkle Shop! Design Inspiration is a weekly post that showcases examples of some of the best new web design from around the internet. Bear http://www.bear-app.net Contentful https://www.contentful.com Atlanta Tech Village http://atlantatechvillage.com Salad Creative https://saladcreative.com Mindsparkle Shop http://mindsparkleshop.com

Continue reading...

Confirming Users with Trailblazer

Over the last couple of weeks we’ve started building a registration process using Ruby on Rails and Trailblazer. In Using Inheritance for Trailblazer Operations we created the functionality to create new users and import users from an existing application. When a new user signs up to the application they will need to click on a […]

Continue reading...

What are Elixir Structs?

A couple of weeks ago we looked at working with maps in Elixir. Something that we didn’t cover, but you will come across are Structs. Structs are an extension of Maps that provide a number of interesting benefits. In today’s tutorial we will be looking at Structs, how to use them, and what benefits they […]

Continue reading...

Design Inspiration #246

Design Inspiration from Grammerly, Molekule, Ugmonk, Frontify, and Instrumental! Design Inspiration is a weekly post that showcases examples of some of the best new web design from around the internet. Grammarly https://www.grammarly.com Molekule https://molekule.com Ugmonk http://ugmonk.com Frontify https://frontify.com Instrumental https://instrumentalapp.com

Continue reading...

Building out a User Confirmation flow in Trailblazer

A couple of weeks ago I built out the action for creating new users in Culttt using a Trailblazer Operation (Using Inheritance for Trailblazer Operations). In this application I need 3 different ways of creating new users. Firstly, I need to import users from the old WordPress application. Secondly, I need to create confirmed users […]

Continue reading...