The simple but powerful Ruby Struct
What is a Struct? A Struct in Ruby is one of the built-in classes which basically acts a little like a normal custom user-created class, but…
READ MOREWhat is a Struct? A Struct in Ruby is one of the built-in classes which basically acts a little like a normal custom user-created class, but…
READ MOREIntro to MongoDB MongoDB is an object or document based database... in other words, a NoSQL database. This puts it in contrast to databases…
READ MORESituation Maybe you originally wrote some code for a Rails project that you're trying to use in another framework, in an automation script…
READ MOREThe basics of Rack Taken from the Rack website : Rack provides a minimal interface between webservers supporting Ruby and Ruby frameworks…
READ MOREMy switch from PHP to Ruby as primary language About 3 years ago I started coding the first version of FlipGive, an online fundraising…
READ MOREDeciding on technologies When deciding on which technologies to focus your time and energy on to learn, or whether it makes sense to use one…
READ MOREWhat are tree structures used for? Tree structures are needed any time you want to insert a hierarchy into your data. It's when you want to…
READ MOREHi, Leigh, are you busy? The website is no longer responding... can you investigate? A phone call nobody really likes to receive on a…
READ MORERuby's Collect method Ruby's collect method is part of the Enumerable mixin; a mixin which provides very useful and powerful methods for…
READ MOREWhat is the Tap method? Ruby's tap method allows you to "tap into" a method chain, modify an object and receive that same object as the…
READ MOREWhy do this? Recently at work we had 1 data model that was getting a bit out of control. When we first modelled the data it made sense, but…
READ MOREWhat is an Enumerable? Enumerable is a Ruby mixin/module which provides a large set of functionality to collection classes. You already know…
READ MOREWhy does this site have I18n? It's a good question because my content is only available in English (perhaps I should write some articles in…
READ MOREThe life of a developer Working as a software developer is the decision to become a lifelong learner. What you learn today has a good chance…
READ MOREUsing Angular in Rails App Single Page Applications (SPA) aren’t incredibly new any more, but there are a lot of people with Rails…
READ MOREOur Goal In this article I'd like to discuss how to implement user authentication into this blog. In this article about modelling the data…
READ MOREBackground At FlipGive we use RSpec to handle all of our testing. Over the years we've built up quite a few tests... last count there…
READ MOREToday's Goal: Creating an Admin Section This website, along with most of the other ones I create end up having an admin section; a place…
READ MOREWhat is PgHero? PgHero is a gem written by Andrew Kane for getting quick insights into how your Postgres database is performing and where…
READ MOREDeciding What Models are Needed In my last article in this series, getting started with ruby on rails , we worked through getting Rails…
READ MOREGit Init The first thing I do when starting a new project is to create a new git repository. GitHub is great if you don't mind the code…
READ MOREOverview PSQL is the command line tool for accessing the PostgreSQL database. I recommend anyone using Postgres to at least learn the basics…
READ MOREThe Problem Say you have a table of people and you want to sort them alphabetically by their nickname in descending order (Z - A). That…
READ MOREWhat is a Mail Interceptor? When using ActionMailer in Rails, there is a way to hook into the outbound message after you call the "deliver…
READ MOREIntro To Pull Requests A pull request is when you are wanting to merge code from one git branch to another, and instead of just merging it…
READ MOREWhen building a RESTful API in Rails, there are many different options and gems you can use to format your JSON responses. This isn't a post…
READ MOREBlock based configuration is a pattern you see quite a bit when using ruby. When I look at this website itself, there are 3 different gems…
READ MORE10. Don't Feel Discouraged It's easy to feel discouraged when you first start at something... anything, not just programming. Lance…
READ MOREHaving The Right Mindset When bringing on junior developers to the team, you obviously have some goals for them, but you shouldn't forget…
READ MOREBarby is a great gem for when you have to generate a barcode or QR code. You can choose to output it as any number of barcode types or as a…
READ MORE