PHP vs Rails

April 4th, 2008

I was milling over some old PHP code today, funny, because my friend Norm linked me to David Hansson’s blog post…it looks like PHP is a Friday thing!

After looking at my old code, I thought to myself, hmm, what better time to showcase the beauty of Rails. I made a post on a message board [...]

My first Rails application was the ONLamp: Rolling with Ruby on Rails tutorial, since then Rails has come a long way but I find the beginner resources lacking still. The one thing I’ve learned along the way has been that sample code is invaluable, so today, in celebration of my company’s launch of our completely [...]

April 2nd was the cumulation of four months of work, yesterday we launched Meeta.com our free dating website. Using a rapid development framework, known to all of you guys as Ruby on Rails, we’ve been able to move from conceptual models to a production stable product in a very short amount of time!
Along the way, [...]

Google recently announced a major update to their display URL policy in AdSense ads in an effort to further incorporate landing page quality to their bid and CTR algorithm which determines what position your ad appears and how relevant the keyword that you are buying is to your landing page.
What do I need to know [...]

Away until April 2nd

March 17th, 2008

Sorry for the lack of updates, we are working to code complete our latest and largest Rails project: a free online dating site. Until we launch, I likely will not have time to write any blog posts. When I have more time, I have a wealth of things to share with you all!

 
I qualified last week and am now an AdWords Professional and our company, Add Three, is now an AdWords Qualified Company!
Those of you who are managing AdWords media campaigns should seriously look into the AdWords qualification. The training program offers a plethora of information, some of it will even be information that is new to you! [...]

Find your Rails subdomains

March 6th, 2008

Need to find the subdomain of an incoming request? Recently I needed to determine the subdomain of an incoming request to properly format some search queries. 

@subdomain =request.subdomains.first

SQLite allows us to quickly and effortlessly get our Rails applications off the ground. Having used MySQL, I was used to formatted data queries . The first time I used a SQLite database, I was in for a little shock.

add3-imac:trunk jon$ sqlite3 db/development.sqlite3
SQLite version 3.4.0
Enter ".help" for instructions
sqlite> SELECT * FROM users;
1|straight|man|Seattle|1@msn.com|1928-03-03|t|2008-02-21 11:40:05|2008-02-21 11:40:05
2|straight|man|Portland|2@msn.com|1928-03-03|t|2008-02-21 11:40:09|2008-02-21 [...]

Wanting to be more Google-centric, I’ve reworked the mapping API on Seattle Condos to use Google Maps instead of Yahoo’s mapping API.

Why would I do this? It’s up to debate, but I believe that the more data Google has available to it, the better chance you have to appear in their search listings. Using Google’s [...]

After you have used MySQL to dump your database, FTP that dump file to an accessible directory on your server.
Once you have uploaded the dump file to your account here, make your way back to command line and get ready to import the file!
Now to import the dump file into MySQL, use the [...]