I want to ask some question about using Rails (2.1.0) and Ruby (1.8.7).
I have development mode and production. Production mode has a domain (for example blabla.online.com), development mode has an ip adress (for example 199.199.199.199).
QUESTION: Do I need to create two different accounts in analytics (one for development and one for production)?
You don’t want multiple “Accounts”, but you do want multiple “Website Profiles”.
Note that your new website profile will have a different tracking ID (e.g. the thing that looks like
UA-255235386-2) so you’ll need to have an environment specific configuration in your Rails app to use the appropriate tracking ID for the appropriate environment.