Ernie Miller

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

RSS Feed

Tag Archives: rails

RailsConf.reflect_on_all_lessons_learned

0 Comments

Today, I’m feeling mostly recovered from my first ever RailsConf, so I thought I would take some time to reflect on what I learned there, and share it with you, my dear reader. So, here we go, in no particular order…
Read the rest of this post

Filed under Blog
May 24, 2011

Book Club, May 2011

1 Comment

So, I conducted an introduction to Ruby on Rails workshop last night and just finished up a list of book recommendations for the attendees. I thought I’d share them here, in case anyone is looking for a few good starter books to learn Ruby on Rails. I went with 2 recommendations for Ruby, and 2 for Rails, because It’s really important to understand Ruby if you’re going to start hacking away at Rails. A deeper knowledge of Ruby helps make all the Rails “magic” more understandable.
Read the rest of this post

Filed under Blog
May 13, 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

The MetaWhere 2.0 Rewrite

4 Comments

If you follow me on Twitter or have been following the rails core mailing list lately, you might have seen mention of the MetaWhere rewrite I’ve been working on. If you haven’t, let me start by linking you to the rewrite branch on GitHub. This is just a quick post explaining why I’m rewriting it, and why you should care.

Read the rest of this post

Filed under Blog
Feb 18, 2011

attr_bucket, A Gem for Your Lolrus Model

5 Comments

Good evening, Internet! I hope you had a wonderful and productive workday. Now, with those pleasantries out of the way, I’d like to point you in the direction of a little gem called attr_bucket that I am regretful for having written even as I type this blog post suggesting you go try it. That is because this gem, while tiny and unassuming, has tremendous potential for evil.

Read the rest of this post

Filed under Blog
Jan 27, 2011

MetaWhere and MetaSearch 1.0.0 released!

4 Comments

This has been a long time coming. Both MetaSearch and MetaWhere entered development as Rails 3-only gems early last year. Developing them was a great learning process, as I got to dive deeper into the innards of Rails and ARel than I ever expected, and track ARel through a complete rewrite and maintainer change, as well. The only updates you’ll notice from the last released gems are the docs (MetaSearch/MetaWhere), which should now be up to date (site docs to follow soon). It feels good to finally hit 1.0!

Filed under Blog
Jan 17, 2011

Current MetaWhere/MetaSearch Gems are RCs

1 Comment

Things have largely quieted down on the MetaSearch/MetaWhere front. The currently released gems are working well for me on a few large-ish projects, and I haven’t seen any serious bug reports in quite some time. I’m happy with the existing APIs, and while I’d certainly like to do a bit of refactoring, that’s nothing that should result in a breaking change. All this being said, I’m considering the latest releases of MW/MS as release candidates, and will be pushing out 1.0.0 of both relatively soon, barring any serious issues. Please get your bug reports in now!

Filed under Blog
Jan 13, 2011

Mobile Devices and Rails: Maintaining your Sanity

16 Comments

The “mobile web” may look more like the web we know and love as devices get more powerful, but there will always be a place for a bit of customization in the name of improved UX on mobile browsers. CSS media queries go a long way toward accomplishing this, but you may find yourself wanting to do more. Ask around or do some searches, and you’ll find the usual answer to supporting mobile devices in Rails involves adding a MIME alias for text/html named “iphone” or “mobile” with register_alias, then forcing a mobile request’s format to this MIME for use with respond_to. This can work, but it’s a huge pain in the neck, and I believe there’s a better way. Read on.
Read the rest of this post

Filed under Blog
Jan 5, 2011

An Alternative to the Facebook Registration Tool

2 Comments

With the recent announcement of the Facebook registration tool, there’s no doubt that you, the intrepid Rails developer, will be looking into it as a possible means of new user signup, either by choice or by client request. My preference has always been to limit an app’s dependence on Facebook as much as possible. I guess it’s a holdover from my hardcore OSS zealot days, or something — though I never had a hacker beard, I can’t help feeling there’s something inherently evil about Facebook (apart from their love affair with PHP ;)). Anyway, I recently implemented something very much like this feature using Devise and OmniAuth, so I thought I’d share.
Read the rest of this post

Filed under Blog
Dec 21, 2010

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.