Tag Archives: ruby

Upload files using Paperclip on Ruby on Rails

Paperclip is an awesome plugin to handle file uploads in Ruby on Rails. I’ve been using in a couple of projects lately and I thought I’d talk a bit about it. First of all, you need to install the plugin on your project by doing: script/plugin install git://github.com/thoughtbot/paperclip.git from your project main directory. After this, [...]

Continue Reading

BaseApp Orange updated with basic pages and i18n support

Just a quick post to illustrate the changes I did to BaseApp Orange and how you can help shape it’s way. BaseApp Orange is my attempt to create a base for future Rails projects which end up having similar constraints and features. This week I posted the code on github and I did some changes [...]

Continue Reading

Ruby on Rails Workshop

Last week I co-organized with Emanuel Mota a Workshop on Ruby on Rails for PrimeIT.  Each day had a 2 hour session. The first day was dedicated to the Ruby programming language, it’s history, advantages and why it was chosen as the backbone for the Ruby on Rails framework. The end of the session was [...]

Continue Reading

compiling readline into an existing Ruby installation

Yesterday I ran into a problem on a existing Ruby installation on a Centos server. When I tried to access script/console, I got the following error: require’: no such file to load — readline (LoadError) Doh! Turns out, the solution is to simply compile readline again. So you need to download Ruby again: wget ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.7-p72.tar.gz [...]

Continue Reading

New Think Orange website and projects

The new year started with new projects and I’ve been real busy at Think Orange trying to adapt my life from all the pros and cons of being part of a startup, but that’s a post for another time.  The new website is online and I’m really proud and happy about the end result. I [...]

Continue Reading