Archive for October 2011

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 [...]


Preventing users from exiting a form on your website with JQuery - Posted October 26, 2011

I have encountered a problem with users on a webapp that i co-created. The users would click back after entering data in a form, or close the current tab or something. They were so used to client-server workflow, with open connections to the database that prevented that kind of actions. So i got handed the [...]


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 [...]