Rails is just…

Apr 27
2007 19:26 (Development, Ruby on Rails) · Русский (4,921 views)

Rails is just an interface to the memcached?

Cache the Hell out Everything
90% API Requests — cache them

Read the Scaling Twitter.

Testing mailers with RSpec

Apr 19
2007 07:42 (Development, RSpec, Ruby on Rails) · Русский (9,383 views)

Unfortunately, RSpec does not provide helpers for testing mailers like TestUnit. But it is easy to add them to your application, and here you could find code snippet for testing mailers.

Read the rest of entry »

Using sub-queries to avoid multiple DB requests in Rails

Apr 12
2007 08:12 (Development, MySQL, Ruby on Rails) · Русский (7,767 views)

When I worked on Best Tech Videos with Alexey Kovyrin, we faced a problem of filtering videos by category with selecting posts categories in the same query. It was easy to solve the problem, but there is one query optimization trick exists.

Read the rest of entry »

Sphinx Search Engine 0.9.7, Ruby Client API 0.3.0

Apr 05
2007 16:44 (Development, MySQL, RoR Plugins, Ruby on Rails) · Русский (8,390 views)

Sphinx Search EngineIt’s happened! We all waited for Sphinx update and finally Andrew Aksyonoff has released version 0.9.7 of his wonderful search engine (who does not know about it, look my previous posts here and here).

Read the rest of entry »

CodeColorer updated to version 0.5.1

Apr 01
2007 17:29 (WordPress) · Русский (5,591 views)

Right after publishing my previous post about Wordpress plugins updates, I found that GeSHi library has been updated, therefor I have updated CodeColorer too.

Read the rest of entry »

 
Copyright © 2005 - 2008, Dmytro Shteflyuk