Posts by Christopher Moeller


Unix Scripting with Elixir

Unix Scripting with Elixir

Ruby makes a great scripting language for making scripts to handle repetitive tasks. We'll go through one use case for this kind of development with an solution using Ruby and one using Elixir.

Read more

Categories: Software Development | Tags: Unix, Ruby, Elixir

Functional enumerators in Ruby

Functional enumerators in Ruby

Ruby lets developers program using multiple paradigms. We'll explore how Ruby uses functional programming for some of the iterators in Enumerable.

Read more

Categories: Software Development | Tags: Ruby, Functional programming

Value objects in Ruby: Serializing your custom objects with ActiveRecord

Value objects in Ruby: Serializing your custom objects with ActiveRecord

Most web applications we work on require storing data in a database. Like many Rails shops our default database of choice at Grok is Postgres. We can store the vast majority of data using its text types, numeric types, dates and times, and booleans. Postgres also provides support for collections with arrays and hstore as well as more specific types like UUIDs and IP addresses, allowing us to store that data in a more structured way instead of as text.

Read more

Categories: Software Development | Tags: Object Oriented Programming, Value Objects, Types

Value objects in Ruby: Creating custom data types

Value objects in Ruby: Creating custom data types

Ruby provides a rich set of value objects for things like IP addresses, Dates, Strings, Hashes, Arrays, etc. When working with data in our applications we can usually start with one of the types that Ruby gives us. This helps us get started very quickly but it can get out of hand as requirements change. Just about every application needs data in a particular format, like an email address or a list of investments.

Read more

Categories: Software Development | Tags: Object Oriented Programming, Value Objects, Types

LET US HELP YOU!

We provide a free consultation to discover competitive advantages for your business. Contact us today to schedule an appointment.