Panos Matsinopoulos

Senior Software Engineer: Love Writing and Reading Software, Taking Entrepreneurial Risks, Teaching Computer Programming & Blogging here or in many other places. I also Love Music and I can call myself a small pianist!

My Contact Details

My Online Courses

I am an Course Author

My Books

My Projects

Making Rails Logger Use One Log File Per Process With Phusion Passenger

| Comments


Today, I had to find a way to make my production Rails application log into different log files per process. I have the application deployed using Phusion Passenger as an Apache 2 module. The reason I decided to do that was the fact that I wanted to analyze the logs with Request Log Analyzer tool. This tool requires the log files to be separate so that they do not interleave the log entries of different requests.

My First iOS App

| Comments

This is my first encounter with iOS apps and Objective C. I followed the whole tutorial which is given here. I am a Ruby developer and I decided to take this trip to iOS development because it is necessary for my work. I am offering professional services to Book&Table, which is sponsoring me writing this blog post.

Following this tutorial, I had to keep some notes. Here are the most important ones. Maybe you will find them useful too. But most importantly, I am seeking feedback from experienced iOS developers.

Rails Params Does the Job

| Comments

When you have a Ruby on Rails end point, the client usually sends data in one of the following:

  1. For GET requests, URL encoded in the URI
  2. For POST requests, in the body of the request encoded with application/x-www-form-urlencoded or application/json or other popular format.

Sometimes, there is a combination of the above methods. In other words, in a POST request, some of the data may come both URL encoded in the URI and other data may come encoded with another method in the body of the request.