has_slug arrives in a brave new world

Posted on 10/02/2009. Filed under: Technology | Tags: , |

A brave new world full of ->() block literals, ordered hashes and application templates. Of course I’m speaking of not only Ruby 1.9 but also Rails 2.3. Yes people, you’ve heard it here first: my glorious has_slug Rails plugin is now Ruby 1.9 as well as Rails 2.3 compatible.

One might argue that I’m a bit late with this but then again one might argue that green is the new pink. So yeah.. whatever!

Even though this might look like a pure maintenance/compatibility release, one other noteworthy change managed to sneak in: rescue_from_slug_mismatch is gone. Oh yes, stop the presses, I’m breaking backwards compatibility! I hope this doesn’t cause all the two users of has_slug too much trouble but sometimes you just gotta make those hard decisions. Be a good Rails citizen and use rescue_from SlugMismatchError instead. Kthx.




Make a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

Liked it here?
Why not try sites on the blogroll...

%d bloggers like this: