You are viewing an archived version of danielfischer.com

 

Haml(ize) those RSpec Scaffolds!

Published: March 11th, 2008

If you’ve ever wanted to haml(ize) those RSpec Scaffolds without having to rename each of the generates files one by one, you now have a drop-in replacement: RSpec Haml Scaffolds.

You can grab the details over at the CitrusByte Blog Post Here1

If you already know how to install a git repo into a rails directory, then you can grab it over here2:

 git://github.com/dfischer/rspec-haml-scaffold-generator.git

You should be pleased to know that I set it up using Git. You guys convinced me to give it a try by sending me a random invite to Github last week. So thanks to who ever sent that invitation over.

As stated in the official post, it’s very possible that there are quirks in the release. I’d love to experience someone forking the repo and submitting a patch though. I just want to feel that overwhelming geeky feeling of contribution. You know what I’m talking about, don’t worry, you shouldn’t feel guilty. You can embrace it by actually committing.

p.s I have three github invites now, if anyone needs membership, let me know and I’ll send it over.

  1. Official Plugin Page: http://blog.citrusbyte.com/2008/3/11/what-s-that-rspec-haml-scaffolds-yes-it-is []
  2. Repo Located at the Haml RSpec Scaffold GitHub: http://github.com/dfischer/rspec-haml-scaffold-generator []

So… How do I install a git repo into a rails directory? giston?

gravatar
  • sb
  • Mar 12th

Yes, you can use Giston, or you can simply “clone” the directory in to the plugins folder.

The post on CitrusByte has info on how to do it. It’s pretty much the same idea if you did it with SVN.

git clone repo_path

That’s it :)

gravatar
Enter your comment

Ready. Set. Go.

In terms of the formatting, you're allowed to use markdown, textile, or basic html; it's truly up to you -- what strikes your fancy?

You don't have to worry about your e-mail address being sold to a russian-spam-mafia. I'm only going to use it for my own weird needs; like asking you out for a date on a lonely night of coding.