Archive for the Ruby Category

Deploying Rails applications on Windows - Posted October 27, 2011

Due to some legacy issues, and HP workstations being shit that you can’t turn the hardware virtualization on, i had an issue with one client regarding speed and loading time of an application. My common deployment server is running Ubuntu on VMWare or Oracle VBox, passenger + nginx, or apache even. But, this “server” is [...]


Speaking at a conference with no time to prepare - Posted October 18, 2011

I was surprised to know that i am presenting a product this week at the oracle user conference HROUG.hr A colleague and me were supposed to hold a talk about creating our latest web app, a nursery management app created using Ruby on Rails and Oracle XE. As we thought, the talk was canceled and [...]


Rails 3.1 JQuery-UI - Posted October 16, 2011

If you are considering the upgrade to Rails 3.1.x and you wish to include the JQuery-UI in your web application follow these simple steps: Load jquery-ui in your app/assets/javascripts/application.js //= require jquery //= require jquery_ujs //= require jquery-ui //= require_tree . Pick and download a nice theme from: JQuery-UI themes site Copy jquery-ui-1.8.16.custom.css(version number could differ) [...]


Readonly checkboxes with JQuery - Posted October 8, 2011

I have encountered a problem where i needed to disable some checkboxes on my forms. As you know, a disabled html item by design isn’t going to be posted back. So i needed to figure out another solution. So with the disabled tag, we have a readonly tag, which just blurs the checkbox, but lets [...]


Autocomplete fields in Rails 3.1 with JQuery-UI pt. 2 - Posted May 16, 2011

As i have written in my previous post, i’m playing with autocompletion in my web app. I have found some new tricks, that will speed up the process. Never liked the find_by_name implementation, but as this example is derived from jquery.autocomplete plugin behavior, i had no other way. Did some more exploring today and here [...]