Ernie Miller

No, I don't work in NYC, DC, or the valley, and I'm cool with that.

RSS Feed

Tag Archives: gem

Squeel 1.0 Released!

8 Comments

I can’t begin to say how long I’ve been looking forward to writing this post. Actually, I guess I can. About a year and 2 months, based on the date of my post about “The MetaWhere 2.0 Rewrite”. Squeel has just reached an important milestone in its life: version 1.0. Since I initially started working on it, it’s evolved in ways I didn’t even imagine.
Read the rest of this post

Filed under Blog
Apr 23, 2012

Ransack has a new maintainer!

1 Comment

I’m really psyched (and more than a little bit relieved) to announce that Ransack has a new maintainer. Ryan Bigg, of Ruby Hero fame and SpreeCommerce employ, has agreed to take on maintaining it. I’ve long known (and been flattered by knowing) that Spree used MetaSearch to do a bunch of searching legwork in the application, and wondered what would happen when it came time to update to Ransack. I had a vested interest in Ransack as a user, back when writing it, but between my change in job focus and lack of any new apps with the particular use case that Ransack was written to address, I’ve had difficulty finding time to give it the attention it deserves.

I’m truly thankful for Ryan’s willingness to help out, and the timing couldn’t have worked out better. Read on to see just how good his timing was, courtesy of Storify.
Read the rest of this post

Filed under Blog
Mar 28, 2012

Valium 0.5.0, and the future of Valium/attr_bucket

0 Comments

I just released Valium 0.5.0. If you were getting single-element array values back when using value(s)_of against a loaded collection, this is now fixed. Thanks to gamov for the report! In other news, if you’ve been following Rails 3.2 news, you may have noticed that Rails core is getting functionality very similar to Valium and attr_bucket, two of my smaller gems. What’s that mean for these gems?

Read the rest of this post

Filed under Blog
Jan 11, 2012

A Belated Post on Squeel Sifters

1 Comment

A few weeks ago, I added an interesting feature to Squeel, and never really said much about it other than a single tweet and a brief reference in the README. I’m calling the feature “sifters”, and I wanted to write a little bit about the purpose they serve.
Read the rest of this post

Filed under Blog
Sep 29, 2011

Valium 0.4.0 released, now with 100% more English

0 Comments

Just a quick update about Valium 0.4.0. In 0.3.0, I enabled support for extracting attribute values from associations (a la User.posts[:id]). That was awesome, but as it turns out, not too compatible with 3.0.x associations.
Read the rest of this post

Filed under Blog
Sep 9, 2011

Rails 3.1 and the future of MetaWhere and MetaSearch

3 Comments

Rails 3.1.0 has dropped, and hours later I received my first “report” that MetaWhere doesn’t work with Rails 3.1. For those of you who read this blog or follow me on Twitter, this should come as no surprise. Still, I wanted to make a quick announcement here, if only to have a place to link people to when they inquire.
Read the rest of this post

Filed under Blog
Aug 31, 2011

The Cure for ActiveRecord Instantiation Anxiety: Valium

14 Comments

No, not the drug — the Ruby gem! Have you ever written code like this?

Model.where(:attribute => 'value').map(&:id).each do |model_id|
  # ...
end

I’m guessing you have, even if only as you were just getting started learning Rails/Ruby. It’s a bad idea.

Read the rest of this post

Filed under Blog
Aug 24, 2011

What’s new with Squeel?

0 Comments

Why, I’m glad you asked! It’s been a while since I’ve made any updates about Squeel — since before RailsConf, actually! A lot’s been added since then.
Read the rest of this post

Filed under Blog
Jul 3, 2011

Squeel 0.6.0 released

0 Comments

I’ve been hard at work trying to finish up Squeel before RailsConf (if you’re going, and you’d like to meet up, feel free to stalk me). Here’s what’s new since my last post:
Read the rest of this post

Filed under Blog
May 4, 2011

Introducing Squeel!

31 Comments

Not too long ago, I mentioned that a rename for MetaWhere 2.0 was coming. It’s here, and the new name is Squeel. A lot has happened since my post about the rewrite a couple months ago, but before we get into that, a bit about the name…
Read the rest of this post

Filed under Blog
Apr 13, 2011

About

I'm Ernie Miller. But then, you probably knew that by looking at the page title, or the URL. I'm a Ruby programmer in Louisville, Kentucky. This blog used to be called "metautonomo.us", which I thought was kind of clever, but nobody, including me, could type it. Lesson learned.