ShakaCode blog - All Topics

Search
Choosing Between Kamal and Control Plane with ShakaCode

When selecting a platform for deploying your application, ShakaCode helps you weigh the strengths of Kamal versus Control Plane based on your specific needs.

12 Oct 2024Dotby Justin Gordon
Why Stay Versus Move Away from Heroku?

Heroku's user-friendly environment makes it a popular choice for startups and early-stage applications.

10 Oct 2024Dotby Justin Gordon
Maximizing Code Quality with Rails Pre-Commit and Pre-Push Hooks

By utilizing pre-commit and pre-push hooks, developers can automate various checks and tasks that contribute to maintaining high code quality standards.

9 Apr 2024Dotby Alkesh Ghorpade
Streamlined Syntax - Unveiling the Power of Slim Template Language

Slim is a templating language designed to streamline the view syntax to its fundamental elements while avoiding cryptic complexity.

3 Apr 2024Dotby Alkesh Ghorpade
Level Up Your Ruby Code with Draper Decorators

Draper provides a simple, elegant way to separate presentation and model logic in Rails applications.

2 Apr 2024Dotby Alkesh Ghorpade
Rails introduce powerful ErrorReporter#unexpected for controlled error reporting

Rails offers a game-changer ErrorReporter#unexpected for developers facing tricky precondition violations.

13 Dec 2023Dotby Alkesh Ghorpade
Rails 7.1 introduces a new option to exclude all custom methods generated by the ActiveRecord::Enum

Rails 7.1 lets you turn off the creation of custom methods for enum attributes, giving you more control over your models.

12 Dec 2023Dotby Alkesh Ghorpade
Rails adds the ability to pass the expires_at option to ActiveStorage::Blog#signed_id

The expires_at option for ActiveStorage Blob signed IDs allows you to specify when the signed ID will expire. This can be useful for sharing sensitive files or files you don't want publicly accessible forever.

20 Oct 2023Dotby Alkesh Ghorpade
Rails 7.1 adds support for Array#intersect? to ActiveRecord::Relation

In Rails 7.1, the Array#intersect? method can be used to find if two ActiveRecord::Relation objects intersect or not.

22 Aug 2023Dotby Alkesh Ghorpade
Rails 7.1 adds ActiveJob#perform_all_later to enqueue multiple jobs at once

Rails 7.1 adds perform_all_later to ActiveJob that enqueues many jobs at once, eliminating repeated Redis roundtrips.

18 Jul 2023Dotby Alkesh Ghorpade
Rails 7.1 introduces deliver callbacks for ActionMailer

Rails 7.1 adds before_deliver and after_deliver callbacks to ActionMailer to hook into the lifecycle events of the mail delivery.

11 Jul 2023Dotby Alkesh Ghorpade
Rails 7.1 makes ActiveRecord query cache an LRU

With Rails 7.1, the ActiveRecord query cache uses the LRU strategy and removes the least recently used queries.

5 Jul 2023Dotby Alkesh Ghorpade
Pull Requests (PRs) - Creating and Review

Tips and ideas on how to make the code review process as simple and painless as it can be — both for those reviewing and those preparing the code for review

17 Feb 2023Dotby Justin Gordon
ShakaCode Consulting Versus Full-Time Hires and Staff Augmentation

Consulting Versus Full-Time Hires

11 Feb 2023Dotby Justin Gordon
thiserror, anyhow, or How I Handle Errors in Rust Apps

A quick note on error handling in Rust.

rustDot
16 Nov 2022Dotby Alex Fedoseev
Sending Bytes

A note on a data partition during network communications.

rustDot
5 Jun 2021Dotby Alex Fedoseev
Manage Rails app business logic using ActiveInteraction gem

Let's dive into managing Rails application-specific business logic using ActiveInteraction.

29 Aug 2020Dotby Alkesh Ghorpade
Buy Apple Products to get a 4 year Warranty

Tips to buy Apple gear with the maximum extended warranty.

20 May 2020Dotby Justin Gordon
RailsConf 2020 -- Webpacker, It-Just-Works, But How?

How does the Webpacker gem provide "it-just-works" webpack integration with Rails? That simplicity did not come easily. The rich functionality, complexity, and rapid evolution of the webpack ecosystem necessitated extension points beyond a simple Ruby config file.

5 May 2020Dotby Justin Gordon
ShakaCode Client Engagement Model

Delivering an exceptional user and developer experience, ShakaCode offers "React on Rails Pro," a subscription-based service including a React-on-Rails Pro license for accelerating client- and server-side performance along with ongoing optimization and support.

1 Apr 2020Dotby Justin Gordon
Introducing React on Rails v9 with Webpacker Support

React on Rails v9 completes the update to using Webpacker for publishing assets to Rails views, rather than the legacy “asset pipeline.”

11 Sep 2017Dotby Justin Gordon
React SVGs

What follows is a quick rundown of how we’re currently handling SVGs at ShakaCode.

19 May 2017Dotby Rob
React PureComponent Pitfalls

Unnecessary re-renders can slow down your app, especially when rendering large collections where updates to the collection occur frequently. The React docs sometimes refer to these as “wasted” renders.

30 Jan 2017Dotby Rob
We’re super inclusive at ShakaCode

I send this out to everybody that’s interested in our team. And the ones that excel at this become full time team members.

18 Jul 2016Dotby Justin Gordon
Enums and Queries in Rails 4.1, and Understanding Ruby

Understanding Ruby and how enums work in Rails 4.1.

22 Oct 2014Dotby Justin Gordon
Storing or Excluding Node Modules in Rails Git Repositories

Should you store your node_modules in your git repository or configure git to ignore the node_modules directory.

28 Sep 2014Dotby Justin Gordon
Updating My Blog to Octopress with Jekyll 2 and Discourse for Comments

How to update Octopress to Jekyll 2 and add Discourse for comments on a static site.

27 Sep 2014Dotby Justin Gordon
Pry, Ruby, Array#zip, CSV, and the Hash[] constructor

Example showing how pry demonstrates the usefulness of Array#zip with CSV

15 Sep 2014Dotby Justin Gordon
Rails Gem Upgrading Tips and Strategies

Best-practices for upgrading Ruby on Rails gems to newer versions while saving time and avoiding headaches.

13 Sep 2014Dotby Justin Gordon
Specific Issues Upgrading Gems to Rails 4.1, RSpec 3, and Twitter Bootstrap 3.2

This article describes some tougher issues I faced when upgrading to Rails 4.1 and RSpec 3.

12 Sep 2014Dotby Justin Gordon
Fast Tests: Comparing Zeus with Spring on Rails 4.1 and RSpec 3

A comparison of using Zeus vs Spring with Rails 4.1 along with the parallel-tests gem.

9 Sep 2014Dotby Justin Gordon
Pry, Ruby, and Fun with the Hash Constructor

Example showing how pry can help one better understand the useful Ruby Hash[] constructor.

17 Aug 2014Dotby Justin Gordon
Rocking with tmux, tmuxinator, Guard, Zeus, and iTerm2 for Rails Development

tmux, tmuxinator, and iTerm2 tips for productivity with Rails Development

11 Mar 2014Dotby Justin Gordon
Capybara PhantomJs Poltergeist Rspec Tips

9 Mar 2014Dotby Justin Gordon
Org-Mode Octopress Setup V2

This is a refresh of my original post from April, 2013 to adjust for Emacs 24.3 and org-mode 8.2.x

5 Mar 2014Dotby Justin Gordon
Simple Form and Disabling Buttons on Submit by Default

Fixing RecordNotUnique errors by turning on disable_with by default for all submit buttons using simple_form.

23 Feb 2014Dotby Justin Gordon
Using RubyMine/IntelliJ Regexp Search/Replace

Tutorial and example of using Jetbrain's RubyMine and IntelliJ's interactive regexp search and replace.

25 Jan 2014Dotby Justin Gordon
Migrating from Bash to Zsh

How and why on migration from bash to zsh on Mac OS.

4 Jan 2014Dotby Justin Gordon
Upgrading Octopress

Instructions on Upgrading Octopress

15 Sep 2013Dotby Justin Gordon
Migrating from Capybara-Webkit to Poltergeist-PhantomJs

Tips for efficiently migrating a test rspec test suite from capybara-webkit to poltergeist-phantomjs

6 Aug 2013Dotby Justin Gordon
Update to EmberJs Hello World

Tips to learn emberjs and advice on getting started with Tom Dale's Tutorial

29 Jun 2013Dotby Justin Gordon
Ember.js Tutorial with Rails 4

This post demonstrates how to build a simple Ember.js app with Rails 4 for persistence, and includes a detailed screencast.

11 Jun 2013Dotby Justin Gordon
Alfred Tips

5 Jun 2013Dotby Justin Gordon
CoffeeScript Chrome Extensions

Useful tools for Chrome with CoffeeScript

27 May 2013Dotby Justin Gordon
Ember.js Hello World

26 May 2013Dotby Justin Gordon
Getting Started with Discourse

A quick guide to installing discourse to see a production quality rails project on github.

25 May 2013Dotby Justin Gordon
Testing Error Handling

How do ensure that your application properly handles errors, especially when relying on third parties, such as payment processors? Is it easy to verify that the right things happen when the wrong things happen?

11 May 2013Dotby Justin Gordon
Renaming, Redating Blog Posts

Here's a few tips regarding renaming and redating posts and pages in Octopress.

10 May 2013Dotby Justin Gordon
Strategies for Rails Logging and Error Handling

Clean logging and error handling is a critical aspect of a RoR app. What’s a good strategy? Why does this matter?

8 May 2013Dotby Justin Gordon
Octopress Setup with Github, Org Mode, and LiveReload

Installing Octopress with github hosting, Org Mode markup, and Live-Reload

27 Apr 2013Dotby Justin Gordon
Are you looking for a software development partner who can
develop modern, high-performance web apps and sites?
See what we've doneArrow right
woman programming
hand on board adjusting a fluxogram