24 July 2009 ~ 0 Comments

Passing env variable to Ruby with Apache

I had a problem last week, while developing tweetcetera. I need to use open-uri to open the twitter search url.
BUT, when I develop/test from from my office, I needed to pass through my corporate proxy. Obviously not when I’m at home, and not on my staging/development server.
For the first days I just manage to remove [...]

Continue Reading

Tags: , ,

14 July 2009 ~ 8 Comments

10 things I’ve learned developing in rails

I’ve started learning Rails and Ruby 3 years ago now, and now all my side projects are made in RoR.
I’ll be ready soon to release my third rails application, but having launched earlier this year serialcooking.com I’ve learn a lot on good RoR good practice in terms of development, deployment and maintenance.
I just wanted to [...]

Continue Reading

29 May 2009 ~ 2 Comments

Beginning Ruby on Rails, where to start and find help?

So that’s it, you want to start development with Ruby on Rails, but you don’t know where to start.
The good thing is Ruby on Rails has a very clever and smart community, and you can find lots of documentation on the web.
Here is quick summary on where to start.
Books
If you really want to learn Ruby [...]

Continue Reading

05 May 2009 ~ 0 Comments

tmsnippets2gedit transform textmate snippets bundle to Gedit xml snippet file

This morning I needed to transform  some Textmate snippets to Gedit format.
I’ve wrote a quick and dirty code for that (tmsnippets2gedit on github)
You just need to copy the script to the textmate bumdle root directory, and run it.
You’ll have a new file call result.xml that you need to edit to specify the language format (JS,Ruby,XSL, [...]

Continue Reading

Tags: , ,

11 October 2008 ~ 0 Comments

10 Places left for the rails rumble

The rails rumble team inform us (on their blog) that they manage to open more Rails Rumble seat.
There are now 10 seat left. Hurry up.

Continue Reading

01 October 2008 ~ 6 Comments

NBGit, a Git plugin for Netbeans

Use Git and GitHub on Netbeans (image source : http://www.flickr.com/photos/boboroshi/2591305062/ )
For three months now I’ve managed to migrate my project on the Git version control system.
Just found, yesterday night, a Git plug in for Netbeans. It’s the first version, not all the commands are implemented, but, you will have the commit one, the diff one [...]

Continue Reading

13 August 2008 ~ 0 Comments

NetBeans 6.5 beta is out

To develop on Ruby on Rails on my Linux platform, I use to code with NetBeans 6.1.
This editor is absolutely fantastic and powerful. Today the 6.5 is out, it’s just installed on my computer.
All my projects were imported, my config files also (if you have the textmate color plugin, you’ll have color problems ..).
There are [...]

Continue Reading

08 August 2008 ~ 0 Comments

Rails 2.1 where to begin …

This is a fact, Ruby on Rails 2.1 rocks …
But there has been a lot of evolutions since the 1.x versions, and the problem is that a lot of Rails tutorials available on the Internet are for the 1.x.
So here is a quick collection on how-to begin with Rails 2.x, and what documents you should [...]

Continue Reading

Tags: , , ,

05 August 2008 ~ 1 Comment

How to search on a MediaWiki (Wikipedia) with Ruby On Rails

I have been looking for 3 days how to search on Wikipedia with Ruby.
After having found the solution, this is really simple :
1. I found MediaCloth
MediaCloth is a MediaWiky syntax parser. You feed it with a media wiki syntax and it’s supposed to return a correct html.
It works, it’s not perfect but it works.
There is [...]

Continue Reading

Tags: , , ,