Read my latest article: 8 things I look for in a Ruby on Rails app (posted Thu, 06 Jul 2017 16:59:00 GMT)

All the cool kids are doing it... why aren't you?

Posted by Thu, 17 May 2007 17:15:00 GMT

Josh Knowles just mentioned an article written by David Chelminsky, titled, an introduction to RSpec – Part I. In this article, David introduces you to some of the new language that appeared in some of the recent versions of RSpec as well as give you a complete tutorial on building some specs.

Last night, I had the opportunity to sit down with Aslak Hellesøy and David Chelimsky for a few hours and talk about my experiences of using RSpec at PLANET ARGON and how it’s helped us redefine and evolve our process. In particular, how RSpec has helped us reshape our process of gathering user interaction specifications from our Interaction Design team and business rules from our clients.

If you’re in town and are using RSpec… or are thinking about using RSpec… and see these guys… thank them for all the hard work that they’re doing… and of course, if you run into anybody else on the team... do the same. :-)

Aslak Hellesøy and David Chelimsky
Aslak Hellesøy and David Chelimsky

Also, by the end of the conference... Graeme and I are hoping to have a small project done to help encourage more adoption of Behavior-Driven Development

Seattle in late March

Posted by Tue, 20 Feb 2007 23:35:00 GMT

I’m going to be hanging out in Redmond, WA. late next month… why? That… I’ll explain at a later date. ;-)

What I can say is that I’ll be available on a few evenings if anybody is interested in meeting up to talk shop, which can include anything from d3, ruby on rails, bdd, agile interaction design... to BBC comedy shows. :-)

I’ll be flying up from Portland to Seattle on Saturday, March 24th. I’m going to try and stay downtown for that night… and then will be staying at Sheraton Bellevue until Tuesday night. So… Saturday-Monday nights are currently open.

I’m also planning to head to the monthly Seattle.rb meeting on Tuesday, March 27th.

If you’re interested in meeting up, drop me a line.

UPDATE If you’re taking the kinky aspect of BDD too serious... please don’t email me. ;-)

Meet the Cheat

Posted by Wed, 10 Jan 2007 17:37:00 GMT

Hey! You’re a cheater!

Well, if you’re not… I’m hoping to make one out of you.

“A thing worth having is a thing worth cheating for.”—W. C. Fields

I’m a fan of the PDF cheat sheets as I like the consolidated content contained in them. However, I don’t like having to read PDFs any more than I have to. Printing them isn’t always ideal either as I really don’t like to carry around extra paper in my laptop bag. So, what are we to do?

Well, you can cheat the system! ...and I’m going to show you how!

Cheat is this really nice command-line tool that outputs a plain text cheat sheet whenever and wherever you want.

Install the Cheat

Like all the happy and good Rubygems, this is quite simple…


$ sudo gem install cheat

Done! Okay… let’s try to do some cheating. Don’t worry, your friends and family will forgive you.

Becoming a Cheat(er)

To view a cheat sheet, just run the cheat command from your favorite terminal window.

$ cheat _cheat name_

So, for example… to see the cheat sheet for RSpec, run cheat rspec.


    $ cheat rspec
    rspec:
      INSTALL
      =======
      $ sudo gem install rspec

      $ ./script/plugin install
      svn://rubyforge.org/var/svn/rspec/tags/REL_X_Y_Z/vendor/rspec_on_rails/vendor/p
      ugins/rspec
      Where X_Y_Z is the version number.

      $ ./script/generate rspec
            create  spec
            create  spec/spec_helper.rb
            create  spec/test2spec.erb
            create  test/test2spec_help.rb
            create  script/rails_spec
            create  script/rails_spec_runner

      HOW TO USE
      ==========
      ./script/generate rspec_model User

####################################################
# truncated to save precious bandwidth
####################################################

Because this is all printing out in your shell, you can take advantage of your favorite command line tools.

Piping to grep


$ cheat rspec | grep 'equal' 
      @user.errors.on(:username).should_equal "is required" 
  target.should_equal <value>
  target.should_not_equal <value>

Piping to TextMate

$ cheat rspec | mate

Find more Cheats

Head over to this list of cheats to see what is currently available.

Thanks to the Err team for putting this together!

The Rails birthday party isn't over!

Posted by Tue, 08 Aug 2006 21:47:00 GMT

Ruby on Rails is two years old now and we’ve been hosting Rails applications for over a year and a half now!

To mark this occasion, if you sign up with one of our Shared Rails Hosting plans by Friday, August 11th, we’ll give you an extra month of hosting for free!

Our hosting plans start as low as $11.25/month!

If you’re looking for a great place to deploy your Rails application with some of the cutting edge deployment options (mongrel, pound, lighttpd, capistrano, etc…) take a look at the PLANET ARGON Documentation Project to learn more.

When signing up for your new account, use the following coupon code: RAILS.IS.2.YEARS.OLD!

To learn more about our hosting options, visit http://www.planetargon.com/hosting.html or visit us in our chat room.

Rubyisms in Rails

Posted by Sat, 05 Aug 2006 21:31:00 GMT

4 comments Latest by Alex Sat, 26 Aug 2006 00:21:46 GMT

I’m not exactly sure how I failed to post this the other day… but better late than never.

Jacob Harris aka harrisj (my favorite Rubyist on the east coast) has finished his ebook, Rubyisms in Rails, which you can now purchase for only $9.99!

Go buy it! :-)

Go Ruby Go!

Posted by Wed, 02 Aug 2006 23:14:00 GMT

2 comments Latest by Thomas Lockney Thu, 03 Aug 2006 01:48:10 GMT

Allison Beckwith forwarded me an email that she got from Powells.com (our favorite independent bookstore)... check out their top technical books right now!

TECH BESTSELLERS

  1. “The Ruby Cookbook” by Lucas Carlson (Computer Languages)
  2. “Agile Web Development with Rails” by Dave Thomas (Computer Languages)
  3. “Ubuntu Hacks” by Jonathan Oxer (Unix)
  4. “Programming Ruby” by Dave Thomas (Computer Languages)
  5. “Rails Recipes” by Chad Fowler (Computer Languages)
  6. “Perl Hacks” by chromatic (Computer Languages)
  7. “Higher-Order Perl” by Mark Jason Dominus (Computer Languages)
  8. “Mind Performance Hacks” by Ron Hale-Evans (Popular Science)
  9. “Mind Hacks” by Tom Stafford (Popular Science)
  10. “Ajax Design Patterns” by Michael Mahemoff (Internet)

This includes both online and in-store purchases. We’re lucky at PLANET ARGON as we’re only about 4 blocks from their technical book store. ;-)

You’ll also notice that the Ruby books are selling more than the Perl books… Tim O’Reilly “blogged about this the other day.

Congrats on hitting #1 Lucas!

  • mental note: ...better hurry and finish my book!

Older posts: 1 ... 3 4 5 6 7 ... 11