Archive for the 'Code' Category

Rails Naming Convention

Monday, March 16th, 2009

Sometime I feel confusing when getting a switch back to code from one language to one language. From PHP to Javascript to ActionScript3 and RubyOnRails, I was confusing the style to code in each language sometime, especially with naming conventions. So, here’s a quick note of naming convention in Rails

Model Naming Convention
Table: ordersClass: OrderFile: /app/models/order.rbPrimary [...]

Google Analytics and Google Ana1yticz

Friday, March 6th, 2009

There was a scary strange thing happening recently on one of my website which was unexpectically happening that way.
The site was down! OMG, it’s nightmare time again! I thought it maybe was my colleague updating some wrong scripts onto the site and upexpectically making the site stop working, but after a while checking all the [...]

Mailer Engine in Rails app

Thursday, March 5th, 2009

By having you application be able to send mail to its users is one of the most important feature that every apps should do and it’s also kinda basic stuff to setup too! Here’s a little note when you are doing it:
Normally from your rails app root:

1
$sudo script/generate mailer AppNotifier signup

This will add a signup [...]