Using Raw SQL snippets to create Thinking-Sphinx Indexes

We have used Thinking-Sphinx in several projects to implement search engines. Thinking-Sphinx is a wrapper in Ruby to use ActiveRecord with Sphinx. But in the project I’m working right now I had to solve a different problem: the user should be able to search for formatted values, however without using the formatting characters, i.e, suppose…

We're hiring! Ruby on Rails/Rhodes developer

Offshore software developer position using Ruby on Rails and web technologies to build web applications for desktop browsers and targeting mobile devices. Also using Rhomobile to make native mobile applications. Candidate should be a remote worker, must use an Intel Mac running OSX 10.5 or 10.6, should have strong communications skills, good written and spoken English. Availability…

Linux kiosk

I recently did some maintenance on a linux-based kiosk project. It runs linux and has a rails application serving content. Firefox is running in a kiosk mode and there is no keyboard or mouse present. In adding a touchscreen from a different vendor, I found some details that can help make a kiosk application more…

RadiantCMS customized

We are working on a very interesting project right now that allows us to adapt RadiantCMS to serve several different functions in a big picture system. Radiant is a powerful content management system that has very good design for factoring out redundancy in your web content. Think of the Don’t-Repeat-Yourself principle applied to the web…

Ruby performance work

Railsconf had several performance-related talks. This one went over a lot of interesting territory. Who knew the Date class performed so badly?? Use equivalent ops in Time or get date::performance Use String::<< instead of String::+= Tune your custom sql with virtual attributes It’s surprising that things we might not think are performance issues are problematic…

RubyMine

During his talk at railsconf, Gregg Pollack showed off Jetbrains Rubymine, an awesome IDE for ruby & rails. I wouldn’t be surprised to find out Jetbrains had a spike in their downloads coinciding with the talk. It is a nice IDE. I was happy to see it includes git support out of the box (I…