I’m proud to announce that you can now follow my work on SitePoint. Founded in 1999, SitePoint has long been a staple of web development education. Being able to join such a great team is quite an honor.Read More
Find Me On SitePoint
A New Atom Feed
I recently changed my subscription feed to use the .atom extension. After reading Serving Atom feeds with GitHub Pages I’ve decided to make this change. The old feed will continue to work for a short while but please update your links. If you use Feedly please remove and re-add my feed. You can add it again easily by going to this subscription page and clicking the green “+feedly” button.Read More
One of my recent posts, Know Ruby: String Accessor, met with some success. I initially posted it to r/ruby where it received a good number of upvotes. People responded with comments like “Useful stuff here.” and “I found it to be very informative!”
The following Thursday I found out the post had made its way into Ruby Weekly. With that came a lot more views and even more positive feedback on Twitter.
It was quite an effort to research and write so I was thrilled to see people reading and enjoying it.
Then I got an email from Ruby Weekly’s curator, Peter Cooper, and my day took a turn. There was a problem. The latest issue was being marked as spam in Gmail. My site was to blame.Read More
Know Ruby: clone and dup
Are you familiar withRead More
dup? Quick, what’s the difference? For the uninitiated, they both create shallow copies of objects. Well, most objects. We’ll dig into that more later. Know this though, in a language with mutability, these methods can be a life saver.
Talking About Gems
My first presentation at Dallas Ruby Brigade was last September. Given that I figured it was time to try my hand again. This time I did a presentation called “Polish Your Gem” which focused on making an existing gem better. I talked about using free services like Travis CI, supporting your users, and being welcoming to contributors.Read More
Know Ruby: String Accessor
I’ve decided to travel deep into the land of Ruby1 so that I may better know its secrets. I’ll be scouring it for the interesting, the useful and the inane. Re-examining parts that I thought I knew. Exploring forgotten methods and learning whatever I can. Rather than go it alone I hope you’ll join me.
We’ll start our journey with the deceptively simple
Stringaccessor. Surely you’ve used the
method but are you aware of all that it can do? Its plethora of signatures make it the Swiss Army Knife of
Stringmethods. Let’s delve in.
Version 2.1.1 ↩
My First Lightning Talk
This year marked the second ever Big Ruby conference and my first ever lightning talk at a conference. I’ve previously written about giving talks at work and at the local Ruby group. Presenting to an entire conference (it’s single track) is certainly more daunting. It was a lot of fun though. You can watch my talk below (starting at 3:22) or thumb through the slides.Read More
A New Domain
Welcome to my new domain. I recently moved this blog from http://ficate.com to where you find it now. The old domain was shorter and easier to spell but it never felt right. The pronunciation wasn’t obvious and it didn’t really provide any benefit.Read More
Confidently Manage Business Logic with ActiveInteraction
Co-authored by Taylor Fausak.
We are proud to announce the release of ActiveInteraction version 1.0. ActiveInteraction is a gem for managing application specific business logic. Instead of living in controllers or models, business logic can find a home in interactions. They are designed to integrate seamlessly with Rails by behaving like ActiveModels. Use ActiveInteraction to shrink your controllers, slim your models, and DRY your code.Read More
Building Custom Rails Attribute Validators
The validation that ships with Rails is useful, albeit generic. It leaves us to construct our own validators as dictated by our domains. Most of our domains share some common data types like emails or phone numbers. Individually they might require SSNs, SINs, credit card numbers, URIs, or any other of a million types of data. The good news is that Rails gives us the tools necessary to build our own validators.Read More