Myles a Perth-based web developer who has worked in all the major web languages, his weapon of choice being Ruby on Rails—although he’s found himself doing more and more front-end development in JavaScript, HTML, and CSS.

Myles's articles

  1. Howto: Write a plug-in

    In my previous post, I listed 6 things that you should try in Rails. I also promised some example code to get you started. Since I have already covered installing and upgrading rails, the next cab off the rank is writing a plug-in. Plug-ins are fantastic – they allow you to abstract away common code […]

  2. 6 things to try in Rails this year

    It seems that blog posts in the first couple of weeks of the new year (happy new year by the way) follow the “x things to do this year” meme as a virtual homage to new years resolutions. Never one to buck a trend, I have prepared this short list of things you should try […]

  3. Flexible Fixtures in Rails 2

    As Matt Magain pointed out yesterday, Rails 2.0 is now gold! Not a lot has changed feature wise from the PR (makes sense – features were frozen at that point), although it seems that the new improvements to fixtures managed to slip in to the final version. Rather than having to map foreign keys in […]

  4. Cookies and sessions in Rails 2.0

    As we know, HTTP – the protocol that the web is built on is stateless – meaning that every transaction with the server doesn’t know anything about the previous transactions. To get around this, we use cookies to track session and emulate statefulness. Basically a cookie is stored on the users computer, which provides a […]

  5. Processing HTML with Hpricot

    In this world of Web2.0 mashups and easy API access, it is quite refreshing how easy it is to pull data for third party sites and re-mash it into something new. Unfortunately, not everyone has been bitten by this bug, so we as developers sometimes have to do a little more leg work to get […]

  6. Living on the Edge

    As I hinted at in a comment to my last blog post, release candidate 1 for Rails 2.0 has just been released with a number of improvements and bug fixes and in preparation for the final release it is recommended that anyone that is using the pre-release upgrades there applications – but how can you […]

  7. Preparing for Rails 2.0: Controller-based exception handling

    Since Ruby is a pure Object-Oriented Language, exceptions play a big role in the flow of control. Previously, you had the choice of rescuing exceptions at a local level or you could override the rescue_action method in your controller. The former method gave you really fine-grained control of what to do in the case of […]

  8. Preparing for Rails 2.0

    Anyone that has used Rails 1.2.3, 1.2.4 or 1.2.5 may have noticed a number of deprecation notices in their development logs. Whilst these deprecated methods still work as expected in 1.2.x versions, you will come-a-cropper when you try to upgrade to Rails 2.0. So what do you need to do and what tools are out […]

  9. Rails 2.0 features: Multiple views

    The seed has been sewn for the next major release of the Ruby on Rails framework. Towards the end of last month, the Preview Release was announced and now that I have had a chance to play with it, I thought it timely to outline some of the new features. Multiple Views In version 1.2 […]

  10. Ruby on Rails: The art of simplicity

    Hi there, my name is Myles Eftos and I’m your new Ruby on Rails blogger! I’ve been hacking rails for almost two years now, building a number of online apps, such as my time tracking system: 88 Miles. I am constantly pushing for that Rails-zen state, that harmonious balance between simply beautiful code and powerful […]