metautonomo.us

Confounding URL typists since 2007.

Tag Archives: rails

Rails 3.1 and the future of MetaWhere and MetaSearch

0 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 , 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

Slow MySQL query? I’ll give you a hint.

1 Comment

I have a confession to make: I’ve placed too much trust in MySQL’s query planner. By the phrase, “too much trust,” I mean to say, “any trust, at all, ever.”
Read the rest of this post

Filed under Blog
Aug 30, 2011

The Cure for ActiveRecord Instantiation Anxiety: Valium

12 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

“WTH is happening to Rails?” I’ll tell you.

28 Comments

I just read the blog post that got some traction on HN last night, entitled “What the hell is happening to rails?” It goes on to list a litany of complaints against changes in Rails 3.x, ranging from the default commenting of the catch-all route to, yes, of course, CoffeeScript. They all end up sounding a lot like “I don’t like change,” an argument we’ve all heard before. The difference is that Steve Coast, the post’s author, casts himself in the role of a crusader for the newbies. He says that he, personally, “gets” why these changes were made, but that the most recent versions of Rails are actually harder to learn than the older ones were. The post highlighted two things, to me:

  1. Some people still miss the point of Ruby on Rails, even after all these years.
  2. There’s a difference between “easy to learn” and “easy to use,” and when these competing goals butt heads, the latter should always win out.

Read the rest of this post

Filed under Blog
Jun 14, 2011

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!

30 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 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