Exploring Common AI Patterns with Ruby
Three examples of integrating LLMs in Ruby using OmniAI.
Three examples of integrating LLMs in Ruby using OmniAI.
Announcing OmniAI 2.0 - An LLM-Agnostic Ruby Library for Seamless AI Integration
Open up your app to LLMs with GraphQL.
A guide to converting a PDF into Markdown using OmniAI with OpenAI and MuPDF.
OmniAI now supports tools in LLM integrations using Anthropic, Google, Mistral, and OpenAI.
OmniAI now supports the generation of embeddings for both Mistral and OpenAI. In conjunction with pgvector, this is an excellent option for indexing and searching data to pass through an LLM prompt within a Ruby on Rails application.
OmniAI introduces the ability to generate complex prompts in Ruby with a prompt builder.
OmniAI now ships with a built-in CLI, making it easier than ever to use OpenAI’s ChatGPT, Google’s Gemini, Anthropic’s Claude, or Mistral’s LeChat.
An LLM Agnostic Ruby Library for OpenAI’s ChatGPT, Google’s Gemini, Anthropic’s Claude Mistral’s LeChat, and More!
Using a ChatGPT Assistant to Search Files (PDFs, DOCX, HTML and more) with Python
A guide to using OpenAI’s ChatGPT with Ruby
Using ChatGPT to Convert HTML to JSON
A guide to building and understanding a testing frameworks like RSpec
A few examples of when using a transaction in Ruby on Rails doesn't work as expected.
A tutorial on eager loading polymorphic associations with Ruby on Rails avoiding "n-plus-one" queries.
A deep dive into the performance of Fabrication and FactoryGirl.
How to use rake, rails, convert and sketch to generate a favicon.
Managing sockets, handling HTTP parsing and generation, and integrating with Rack to build a simple web server from scratch.
A lightweight approach to integrating Vue.js into a Ruby on Rails application.
The Enigma machine explained in Ruby
How to load 'N' records per parent record efficiently in Ruby on Rails
A quick introduction to using mixins with Backbone to extract out common code
A basic introduction on how to setup a new Rails project with Backbone JS
Concerns offer a reusable way of sharing common code. This can be used to extract URL helpers.
A simple example of using timestamps to ensure users always see the latest data in an iOS or Mac app.
Configure SSL/TLS On Heroku Using a CDN
A guide on how to use Heroku to host Wordpress
A short guide on how to configure Mac OS X Mavericks with Rails, Node and More.
Bower is a great package manager for JavaScript or CSS Files. It can be easily used to package a jQuery plugin.
Learn how to create a jQuery plugin using Haml, Sass, and CoffeeScript. Then deploy the plugin to the jQuery plugin repository.
Blocks, Literals, ARC and more have been added to Cocoa helping to ease many of the pains developers experienced in the past. It is an awesome time to be an iOS or Mac developer.
Two awesome tools for speeding up testing are Zeus and Guard. Setting them up allows for automatic execution of tests while coding.
Deploying JRuby on Heroku used to require custom build packs. Not any more. This guide will get any JRuby app up and running in no time.
Configuring a new Mac for development can be tricky. These steps will get any machine setup with Ruby, Node, Postgres and lots more.
Cocoa appears to be missing a key component to programming: exceptions. In place of the standard try / catch / raise style of programming error objects are used.
Rails is amazing and can be even better when paired with great web services. Heroku, Amazon, Zencoder, Twilio, Tropo and New Relic all fit the bill.
Avoiding delays on the UI thread in iOS is key to ensure a snappy interface. Long running should be queued in operation queues to make sure they don't impact perceived performance.
Copy and Paste Menus in iOS can be tricky to setup. This code example should help with the basic syntax for getting one up.
Adding in functionality to an existing class in Cocoa is easy using categories. This can be useful for methods that should be transient or when access to the original code is restricted.
Over the past year Apple has released an amazing set of phones and tablets. While the devices are incredible the framework and language have a few shortcomings that Apple will have to address.