How to insert the new Tweet button in your ruby on rails application
August 13th, 2010 // 7:44 am @ Aymeric // No Comments
Twitter has just released their new Tweet button and I wanted to use it in the freelance marketplace I am developing (TaskArmy.com). It took me literally 5 minutes thanks to the Twitter Button gem from Intridea. Although the gem worked perfectly locally, I had some issues when I deployed it on Heroku. 1. Install the [...]
Category : Programming tips and tricks
How to develop live search textbox in Ruby on Rails
August 6th, 2010 // 7:53 am @ Aymeric // One Comment
Ruby on Rails doesn’t stop to amaze me. This article will show you how I got live search working on my freelance marketplace TaskArmy (if you enter ‘wordpress’ in the big textbox, you should see the search results appear automatically) in 20 minutes. The View (tasks/index.html.erb) <form id="live-search-form" method="get" action="<%= search_path %>"> <input id="big-search-box" name="q" [...]
Category : Programming tips and tricks
How to redirect all your pages from www to root domain using ruby on rails
July 30th, 2010 // 2:59 am @ Aymeric // 2 Comments
I realized today that my current configuration of taskarmy.com and www.taskarmy.com implied that Google considered them as two different domain names. This is bad for SEO for example (plus I had some login issues). So I decided to redirect 301 all the pages coming from www to my root domain taskarmy.com. (By the way, why [...]
Category : Programming tips and tricks
How to send an email using Postmark in a C# application
July 2nd, 2010 // 7:14 am @ Aymeric // No Comments
Postmark is a service that ensures the email you send from your application reaches your recipient and not its Spam folder (which will likely happen if you use your own SMTP server or Google’s one). Postmark gives you 1000 emails for free, which allows you to give a try risk-free. So how do you send [...]
Category : Programming tips and tricks
How to build your own widget in Ruby on Rails in 10 minutes
July 1st, 2010 // 2:10 pm @ Aymeric // 2 Comments
To improve the ranking of my website TaskArmy.com in Google, I decided to provide my users with a widget they can add to their blogs or websites. I will show in this article how I did it in 30 minutes using Ruby on Rails (hopefully you will be able to do it in less than [...]
Category : Programming tips and tricks
Slides: Why Ruby on Rails rocks? from a .net developer point of view
June 21st, 2010 // 2:33 pm @ Aymeric // One Comment
I gave this presentation today at a internal event at Readify. We had to follow the Ignite format, 20 slides, 15 seconds per slide. (I had to remove some content to make it slideshare friendly, it doesn’t work with stacked up objects). Why Ruby on Rails rocks from a .net developer eye View more presentations [...]
Category : Blog &Programming tips and tricks
How an experienced Asp.net developer multiplied his productivity ten fold
May 17th, 2010 // 4:04 am @ Aymeric // 10 Comments
I have been on the .Net wagon since the beta 1 (2002?) and I have been a .Net consultant since then at Readify. Note: I don’t want to sound arrogant in the next paragraph (bloody Frenchman) but it is important to explain the breadth of my experience with .Net for you to understand why my [...]
Category : Online experiments &Programming tips and tricks
Script to deploy your Ruby on Rails application to Heroku in one command (Windows)
May 17th, 2010 // 2:45 am @ Aymeric // No Comments
Simply save this file at the root of your Ruby on Rails project and call in your prompt “deploy.bat ‘Your commit comment’” @ECHO OFF IF [%1]==[] GOTO Syntax CALL git add . CALL git commit -m %1 CALL git push heroku master CALL heroku rake db:migrate GOTO:EOF :Syntax ECHO deploy.bat [ comment ] ECHO __ [...]
Category : Programming tips and tricks &Startup tips and tricks
Useful, simple (and complete): CSS Organizer Styleneat
May 12th, 2010 // 3:45 am @ Aymeric // No Comments
http://styleneat.com/
Category : Programming tips and tricks
How to send an email from your application with high deliverability
April 22nd, 2010 // 2:31 pm @ Aymeric // No Comments
I am writing a series of articles on emails, this one is specifically targeted at developers. In the series I cover the following topics: How to set up your emails for your own domain How to send an email from your application with high deliverability How to put your email marketing strategy on auto-pilot Set [...]
Category : Programming tips and tricks &Startup tips and tricks
