11.13.07 - 06:23pm
In I still don’t get the fascination with Ruby on Rails, Andy Davidson writes:
Scaling does not mean “Allows you to throw money at the problem”, it means “Can deal with workload”. He goes on to recommend mod_perl instead of Rails.
I’m not interested whether he likes Rails or not. Lots of people hate Rails, and I […]
Category: ruby, perl, ruby on rails, databases, servers, articles, architecture | Tags: | 5 Comments »
10.04.07 - 08:07pm
I’ve been working with Ruby on Rails intensively for several months, and I’ve finally found a place where Rails can’t readily be extended to do what I want. It’s ActiveRecord, which is probably the most controversial part of Rails.
I’m reminded of a James Gosling quote disparaging Microsoft tools, particularly Visual Basic: “The easy stuff is […]
Category: ruby, java, perl, ruby on rails, postgresql, articles, databases, sql, architecture | Tags: | 28 Comments »
09.22.07 - 05:18pm
Let’s say you’re using Rails with PostgreSQL and the TSearch2 built-in full text search engine.
Did you notice that every time you run rake test, that depends on db:test:prepare, which depends on db:test:clone, which depends on db:test:purge, which drops the database and creates it again?
Along with your dropped database goes the TSearch2 functions that wrap the […]
Category: ruby on rails, postgresql, databases | Tags: | 2 Comments »
08.02.07 - 08:37pm
From what I’ve seen, Rails’ weakest features lie in the way it prepares the test database and test data, and Ruby’s Test::Unit isn’t much better than the awful but ubuiquitous JUnit that Java developers are accustomed to. I set out this week to impose my preferences on Rails in this area, and that took some […]
Category: ruby, java, testing, ruby on rails, postgresql, databases, sql, architecture | Tags: | 5 Comments »
08.02.07 - 08:16pm
For the last few days I’ve been struggling to bend Rails to my will regarding the proper way to assure data consistency. Today I made some progress. This builds upon some research I did a few months ago, and hopefully this is a more or less complete solution to the problem of making Rails work […]
Category: ruby on rails, ruby, postgresql, sql, databases, architecture | Tags: | 23 Comments »