Archive for the ‘Ruby on Rails’ Category

Securing a Ruby on Rails app

Wednesday, June 8th, 2011

This tutorial is about how to add basic authentication to a RoR app through a simple user table, no ACL or fancier stuff is implemented.... Read More

Executing methods of Rails controllers in Rake tasks

Thursday, February 10th, 2011

I just found myself in need of a cron job that needed to call the same code that a Rails action view is calling in an ApplicationController.... Read More

Posting with the Ruby HTTPClient

Friday, March 19th, 2010

We’ve arrived at the final piece of the puzzle when it comes to the latest WP MU mass posting addition to SEO tools.... Read More

File uploading in RoR

Monday, March 15th, 2010

Update: here is the file upload equivalent using form_for:... Read More

Foreign relations in RoR models and forms

Monday, March 15th, 2010

Update: Check out the HTTP Client article for more on how the below setup is later used to make life easier.... Read More

SEO Tools, my first Ruby on Rails application

Wednesday, April 29th, 2009

So for the last two days I’ve completed my first RoR application that is actually used by somebody, my SEO colleagues to be more precise, their first wish was a script that would make it much easier to submit links to link directories, that and an article spinner.... Read More

A noob and Ruby on Rails 2

Friday, November 14th, 2008

Update: I just had to install the whole stack again, now apart from the gems the following is needed:
1.) Mysql drivers/libs/dev files, beats me which ones, I just installed them all in synaptic.
2.) OpenSSL libs/dev files, installed them too via synaptic.... Read More