Mar 7, 2008
Tip #1 Query Trace
So you’re profiling your application, cutting down your SQL queries, looking through the logs - “argh where did that query come from ?!” you say to yourself. Then you remember what Luke G said at the last Toronto Rails Project nite - check out Query Trace.
Oh how this has made my [...]
Read more
Feb 19, 2008
If you’re getting to this page from searching “Rails vs Merb” I suggest you read/view this presentation I did http://work.rowanhick.com/2008/06/11/toronto-rails-night-merb-presentation/
Following on from my presentation last week, I had someone mention I should look at Merb+Datamapper if I’m looking for something awesomely fast. So I decided to put it to the test. This is a *completely* [...]
Read more
Feb 12, 2008
Tutorial/presentation given to Toronto Rails Project nite on how to optimise Ruby on Rails/Activerecord for high performance sites. Details of :select and :include problem in ActiveRecord and how to work around it.
Read more
Dec 19, 2007
(At least on Leopard with Ruby 1.8.6)
Ruby will try to reload rmagick if you get the case of rmagick different from the original require. And when that happens it all goes up the whop.
We were using attachment_fu’s image magick processor, then doing a require ‘rmagick’ seperately which resulted in tonnes of errors like this [...]
Read more
Nov 28, 2007
Caution Thinking Out Aloud:
Okay the purists have just decided to kill me. Let the religious wars begin !
No seriously, everytime I do some coding in an old PHP app which is heavily dependent on HTML_QuickForm, I keep questioning how possible would it be to convert it across to Rails, and whether any other persons [...]
Read more
Nov 1, 2007
From a blanket spam email I (and probably a good portion of the rails community just received)
“I have a direct client who is seeking a strong Programmer who posses experience with Rudy on Rails. If you are qualified and interested, please send me your most current resume in a word.doc format to..”
Yes, Rudy was actually [...]
Read more
Aug 13, 2007
More work on XChain. In some spare hours on the weekend I implemented the basic structure of price catalogues for products. I can’t tell you how long this took when previously doing it in PHP a few years back! (or even worse ASP a few years further back still). I’m sold on BDD, it was [...]
Read more
Jul 31, 2007
UPDATE Jul 2008 - The API for BackgroundRB has changed and docs improved significantly since this blog post. Read the latest API calls over here http://backgroundrb.rubyforge.org/rails/. Don’t reference the Rails code below if using latest BackgroundRB
As soon as you start doing anything with photos sooner or later someone says “It would be really nice to [...]
Read more
May 28, 2007
One of the web apps I work on leverages a Filemaker database. My co worker Brent the expert Filemaker dude, and I had a serious problem to tackle - how to get Rails and Filemaker talking to each other.
Now Filemaker has iffy SQL standard support and we didn’t necessarily want our web app to run [...]
Read more