RSS feed

Nutsmuggling

Faking an IP with Webrat

Lately I have been diving into TDD, and more specifically BDD, thanks to the wonderful Cucumber testing framework. Today I have had to test a specifical IP based feature. Simply put, I get the user IP and store it into the database. The simple rails way to get a visitor IP address is request.remote_ip

If you do this [...]

Rails 2.3.3 + Ruby 1.8.7 + Gmail SMTP settings

How to setup Rails to use you gmail smtp without installing any plugin

Patches for the easy-fckeditor rails plugin

A couple of days ago I discovered the wonderful easy-fckeditor Rails plugin. It’s a fork of the main fckeditor plugin, integrating the EasyUpload plugin. With this marvellous piece of software you can integrate a visual text editor in no time; what is more, file attachments are included out of the box, with no need to [...]