Tag Archives: Rails

the pain of Facebook application development

For the past few days, I’ve been trying to create a Facebook application for interacting with Github. I hoped to spend my time mainly on the Github portion, figuring out how to post wall posts on Facebook about recent Github activity, etc. However, I’ve instead argued with the various Facebook APIs. I [...]
Posted in Programming | Also tagged , | 2 Comments | Current music Prime by Hearts By Darts

apartment, HP, grad. classes

Pfhew, so let’s see what’s going on in my life, since it’s been some time since I last updated with a real entry. I’m moving this weekend to my new apartment, and it’s going to suck like all moves suck, but this one I’m hoping will be better, at least in some ways, than [...]
Posted in Daily life | Also tagged , , , , , | Leave a comment

code reports Rake task

This will run various Ruby Gems for creating code quality reports, store them in public/ in your Rails app, and create public/reports.html with links to each report. You need Saikuro, Flog, Flay, Reek, and Roodi, since this Rake task uses them all. Save this Rake task in your lib/tasks/ directory in your Rails app, and [...]
Posted in Programming | Also tagged , | 2 Comments

graduate school, Rails, and the squealing loo

Pfhew, excitement! First things first, I applied to UK’s graduate school yesterday. Yes, I know, I’m crazy! I’m going to get my Master’s in computer science because I enjoy having $22,000 in debt already from student loans and I think my life would be more complete if I added another $10,000 or [...]
Posted in Daily life, Funny | Also tagged , , , , | 4 Comments

why shoes?

I went to a Ruby Users Group meeting the other day and there was a presentation on Shoes, described as “a very informal graphics and windowing toolkit.” It’s written by Why the Lucky Stiff, who does a lot of Ruby and Ruby on Rails work. I’m interested in the toolkit so I was [...]
Posted in Daily life | Also tagged | 1 Comment

Paper Mario and Ruby programming

So I’m obviously not doing NaBloPoMo since I haven’t posted anything in about a week, but I do have kind of an excuse: I’ve been doing homework and saving Princess Peach, or trying to. I’ve got a calculus test tomorrow and I’ve been working like mad on my databases project, which is coming [...]
Posted in Class, Daily life | Also tagged , , | Leave a comment

finding invalid foreign keys in Rails

Sometimes it would be useful to tell users of your Ruby on Rails application if there is a problem in the database, such as some foreign keys are invalid. As an example, let's assume you have two models, Book and Author, such that each Book has an author_id which connects with Author via its [...]
Posted in Programming | Also tagged , , | Leave a comment

Django and pirates

Wow, no updates for a week, but that’s only because there’s been nothing to update about. I’m back at Lexmark for the summer, and so far I’ve been working with a Rails project I’ve worked on in the other times at Lexmark, and initially wrote during my first co-op there. I’ve also been [...]
Posted in Daily life | Also tagged | 1 Comment

RMagick issues on OS X

I’ve made some progress with Moola Tracker such that expenses and incomes can be added and a history of them is shown. I now want to display some graphs, which should be an easy task thanks to Gruff Graphs, but unfortunately installing RMagick on my Powerbook has been hell so far. I tried [...]
Posted in Daily life | Also tagged , | Leave a comment

fungal database project

Work has been going all right. I’m converting over an old Perl web interface to Rails. It seems so crazy to write a Perl web interface for a MySQL backend from scratch; the guy didn’t use any kind of framework. The project deals with bioinformatics, specifically a fungal database. The database itself is huge: 1.4G. [...]
Posted in Daily life | Also tagged , | Leave a comment