Development
Storing hierarchical (tree) data in SQL using Ruby on Rails
by specialj on Jul.06, 2011, under Development
I have a Ruby On Rails project with a fair amount of hierarchical data. I have already tried a few different techniques of managing this data. Nested sets and materialized paths sound good in theory but in practice they didn’t work out so well. Here are some thoughts thus far.
(continue reading…)
Fixing netbeans in ubuntu
by specialj on May.20, 2011, under Development, Ruby On Rails
Netbeans has some issues in Ubuntu 10.10 and 11.04. One of the most serious is that javascript syntax highlighting does not work. Another is that Rails 3 applications do not run or debug correctly. I found the solution to be going to “Tools – Plugins -Settings” and enabling the “Netbeans” update center. Then by going to “Updates” and clicking “Reload Catalog” I got an update for the update system. After that was installed an netbeans was restarted I got a lot more updates for plugins (15 or so). Once updated everything seemed to work as it should.
More information:
playing with ruby gui frameworks
by specialj on Apr.19, 2011, under Development
Trying to figure out how easy it is to use ruby to write a desktop application. It would be nice to have something cross-platform. At the moment I’m playing with qt4, gtk2, and wxwidgets.
fixing a bug in simple-rss
by specialj on Apr.05, 2011, under Development
Just walking through some bug fixing.
Working with google maps, rails, jquery, microformats
by specialj on Apr.05, 2011, under Development
Lots’ of work moving to unobtrusive mapping using googe maps and jquery, storing location data as hcard microformat.
Git: Untracked working tree file would be overwritten by merge
by specialj on Mar.23, 2011, under Development
I ran into a merge conflict when a branch had changed a file and I was merging in another branch where the file had been deleted and placed in gitignore. Some suggestions on handling this here:
I used:
- git checkout <your-branch> -f
I then need to “git rm” the file in the branch where it had been modified. I’m not sure what exactly happened to the file since I didn’t care much about it.