Haught Codeworks
Blog

Exploring topics dear our hearts including prototyping, project rescues, growing teams,
working remote, current trends in software, and more!

POST DIRECTORY
 

Last month I spoke at the Devoxx.us conference in San Jose. It was an enjoyable conference, even if it rained each day I was there. Devoxx is primarily a Java conference, which is a change of pace from the Ruby conferences I frequent. I enjoyed hearing about a different sector of the industry.

One notable aspect of the conference was the amazing...

 

I’ve been working on a Rails 5 project that employs an infinite loop in conjunction with a few nested breakable loops. Code/case coverage is particularly important, as the program interacts with Cryptocurrency exchanges. Errors or unexpected behaviors can potentially result in financial loss.

I was expecting the loop tests to be convoluted, heavy...

 

I recently added file upload support to an Ember application that talks to a Phoenix API server using the JSONAPI protocol. I wanted a solution that integrated well with Ember and ember-data, supported direct uploads to S3 from the client, included drag and drop support for choosing files, and had the ability to show upload progress. After experimenting...

 

Recently, a project we’ve been working on at Haught Codeworks got to the point where we needed to add additional columns to the database for one particular model. This meant that for any future instances of this model, those columns could be populated upon creating the instance, but any past instances would not have those fields associated with them...

 

In the last article we looked at using Ecto schemas to read records and associations from a database built according to Rails naming conventions. This time we will extend the examples used in that article to see how Ecto changesets can help us write records to the database in a safe and consistent way.

The example apps can be found at PlaygroundRails

Page 9 of 13

Newer posts

Older posts