I WON Opera Travel Widget Contest
I am feeling really delighted to share that I have won the Opera Travel Widget Contest with my entry Travel Mate. As a grand prize I will also be getting a Windows Mobile Phone from Opera soon. Major...
View ArticleAgile Project Management with Scrum
Few months ago Manik suggested me to read about Scrum to see how we can implement it in our organization and prepare a presentation for everyone. I started reading book by Ken Schwaber called ‘Agile...
View ArticleMysql::Error: Incorrect key file for table
Few days ago my current Ruby on Rails project was been moved to a staging server with similar configuration of the live web site. Suddenly yesterday in one of the administration modules I started...
View ArticleOpen on Christmas
We have come up with this great service with which you can: Find restaurants open on Christmas Filter down the results based on Cuisine and location Find ideas for Christmas Read articles on what is...
View ArticleRails with omniauth and inviting facebook friends
[EDIT] There is an issue with this approach, that facebook does not allows sending invite to friends as an app. Instead one needs to do this as a facebook message. So save yourself some time and ignore...
View ArticleHTML ERB to HAML conversion
If you have been using Rails and have tasted HAML then you know the mess HTML creates. While using several generators that come with gems, we might forget to use haml generators or one might not even...
View ArticleSilver Bullet solution to issues with Rails, Ruby Gems
I have been using Ruby version 1.9.2 with Rails 3.2.1 and this is setup with RVM. From time to time I have been facing issues for example I was getting following errors but at different point in time:...
View ArticleHow to find if already logged in via HTTP Basic Authentication in Rails 3
It might sound too obvious but I failed to find any examples on usual guides or any help via stackoverflow I looked up the code on api.rubyonrails.org and found that it calls two different methods....
View ArticleAlternate to railroad and all the trouble it causes with rails 3, ruby 1.9.2...
I have used railroad in past with good success but unfortunately with my current project it has been nothing else than a huge pain. First with installing its dependencies then getting errors relating...
View ArticleInstall Cassandra on Ubuntu
After trying for some time to install Cassandra on windows I finally decided that I should try to develop my app on ubuntu instead. But getting to install Cassandra on Ubuntu wasn’t quite as easy as I...
View ArticleDrupal 7 – unable to include css file as standalone file using drupal_add_css
I struggled quite a bit on this, unlike js files where you can add an alert or log a message to the log, which would indicate that the script is loaded on the page. I wanted the css file to be included...
View ArticleHow to fix on OSX: US-ASCII (Encoding::InvalidByteSequenceError)
While trying to parse json file in my ruby script, I was getting following error: /json/common.rb:155:in `encode’: “\xE2″ on US-ASCII (Encoding::InvalidByteSequenceError) from...
View ArticleFind and replace inside huge files on Ubuntu / Linux
I was trying to make changes to a text file with over 9000 lines. It was a basic operation of find and replace, however, my reliable friend Sublime text editor failed to do that!! I checked my hardware...
View Articletwitter bootstrap gem not generating haml views
If you are using https://github.com/seyhunak/twitter-bootstrap-rails gem and also want your views to be in haml then just adding haml gem wont do. If you also add the haml-rails gem then running the...
View Article