DISQUS

DISQUS Hello!  The comments on this profile are unclaimed and thus are unverified.

Do they belong to you? Claim these comments.

Cathal's picture

Unregistered

Feeds

aliases

  • Cathal

Cathal

3 週間 ago

in Ruby Best Practices - Reading Ruby's Standard Library for Fun and Profit on Ruby Best Practices Blog
I wondered why the same pattern wasn't applied to:


if defined? @observer_peers


since it's possible that @observer_peers could also be nil.

Looking at Observable#add_observer I see why:


@observer_peers = [] unless defined? @observer_peers


Yep, you can learn a lot from reading through the standard library code. Thanks for the tip.

1 年 ago

in Baby Watson on the way on Life is grand
Fantastic news Paul. I'm delighted for ye both. My money is on a boy!!

2 年 ago

in Rails and foreign databases on Life is grand
Hi Paul,

How do you get around not having to supply different connection settings for your multiple databases? Are they hosted on the same server machine?

2 年 ago

in Rails and foreign databases on Life is grand
Hi Paul,

How do you get around not having to supply different connection settings for your multiple databases? Are they located on the same server machine?

3 年 ago

in Ajax Presentation on Life is grand
Well if you were nervous Paul, it didn't show during the presentation. I thought it was very well put together and professionally delivered.Nice one! I wish I had the courage to stand up in front of my peers and do the same.
Returning? Login