How to show performance statistics in a chart

Working on performance tests and tuning is an interesting and challenging job. One has to prepare tests, execute and also evaluate them. The preparation and execution is not always easy, but it is manageable. The evaluation of the tests comes with an interesting problem. The problem is called data visualization. I was testing a system… Continue reading How to show performance statistics in a chart

IT Architecture As a Social Pursuit

Looking back at the experience with enterprise IT architecture, I come to realize that in this area, IT mastery is just a prerequisite for delivering projects successful in the long run. This relates to the two interest groups shaping the IT landscape of large enterprises: implementors and visionaries. Implementors are responsible for the success of… Continue reading IT Architecture As a Social Pursuit

Published
Categorized as Business

Visualize your Rails schema

While doing some Ruby on Rails code refactoring, I realized I’d like to visualize the database schema of the application. An easy possibility is to print out db/schema.rb. This seems a bit too linear and little visual to me. OK, I’d better keep thinking. An enterprise approach would be to take a CASE machinery and… Continue reading Visualize your Rails schema

tamtami.com story

My uncle started to work as a truck driver. I must say, it is a tough job. You are driving from Barcelona to Warsaw, then to Zagreb and … He enjoys it. He travels a lot and see the whole Europe. He has got one major problem. The problem is navigation. Since the truck drivers… Continue reading tamtami.com story

Full text search in Ruby on Rails 3 – ferret

There are several possibilities how to use ferret in RoR. This post will show the easy way – using the acts_as_ferret plugin. To show the syntax and code, I will use the same data objects as in the Full text search in ruby on rails 2 – MySQL Installation Ferret installation is easy gem install… Continue reading Full text search in Ruby on Rails 3 – ferret

No rhtml, rxml, rjs or delegate template found

After upgrading to Ruby on Rails 1.1.6 (with a one-day 1.1.5 intermezzo), we’ve found a strange error in our Recykl.com application. Most of the application behaved normally, but email sending got broken with the following error: ActionView::ActionViewError (No rhtml, rxml, rjs or delegate template found for notification_email): /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_view/base.rb:389:in `find_template_extension_for’ /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_view/base.rb:323:in `pick_template_extension’ /vendor/plugins/globalize/lib/globalize/rails/action_view.rb:29:in `locate_globalize_path’ /vendor/plugins/globalize/lib/globalize/rails/action_view.rb:10:in `render_file’… Continue reading No rhtml, rxml, rjs or delegate template found

Full text search in Ruby on Rails 2 – MySQL

My previous post compared MySQL and ferret full text search engines. For our project, the ferret was the winner. Nevertheless, I will try to show the beauty and simplicity of using MySQL indexes. Create table and indices First of all it is necessary to create table and the corresponding index. Create table articles( id integer… Continue reading Full text search in Ruby on Rails 2 – MySQL

Rails application does not run on standard ports

During development of our rails application, I went through the initial try/error phase. But it seems that there is always space for new problems. I have been testing the HTTPS, so I run the WEBrick servers on standard ports 80 and 443 and the WEBrick server went down immediatelly with a strange error: [2006-07-12 00:01:14]… Continue reading Rails application does not run on standard ports