
attractive, usable web applications
Richard's Blog - Design, coding and life in Japan
Blog Archive: October 2009
Refactor not Rebuild your Web App!
Submitted by Richard on Thu, 10/29/2009 - 10:29Having been involved in large website/web app development, when there are frustrations in the present system it is always tempting to say lets rebuild it.
But let's rethink this. Of course sometimes there is code there that you are embarrassed to show others, of course it could look prettier on the outside and in. It is easier to write code than to read it - especially other developers.
But bear this in mind:
Tags:
Using :include in Rails ActiveRecord call doesnt create a joins query
Submitted by Richard on Tue, 10/27/2009 - 20:37I am currently writing an Rails app that uses quite a few database calls. I wanted to cut these calls down so I knew I would need to use the :include option in ActiveRecord. I was expecting from what Ryan Bates mentioned in one of his RailsCasts that a nice join would be created for me in one query.
Tags:
Meeting with the big guys! (Hitachi Systems)
Submitted by Richard on Fri, 10/23/2009 - 13:48With one of the contract clients I am working, I am dealing with a large lighting company called Daiko, we are going to put in place a stock availability function into our website to connect with Daiko's inventory data.
Tags:
Ruby Hash is not ordered
Submitted by Richard on Thu, 10/22/2009 - 09:48Just to let you know, I had a hash like below in a test
options_hash = {"把手タイプ"=>"バー把手(E)", "扉カラー"=>"ナディマスカット(NM)", "シンクの位置"=>"左シンクタイプ", "ガス種"=>"プロパンガス(LPG)"}
Tags:
Awesome ruby tricks..
Submitted by Richard on Wed, 10/21/2009 - 13:04Found this link yesterday... Awesome
21 Ruby Tricks You Should Be Using In Your Own Code
Tags:
Recent Blog Posts
- Doctrine 2 and why you should use it! 29th Jul 10, 15:23
- How to localize your main blog listing page using Drupal 26th Jun 10, 11:46
- Creating Rails like template helpers in Django 24th Jun 10, 22:01
- Error: No module named messagesdjango.contrib.contenttypes 22nd Jun 10, 22:00
- Creating multiple blocks easily in a Drupal module pt2 8th Jun 10, 14:12