Posts Tagged ‘ postgresql ’

Installing Ruby on Rails, Passenger, PostgreSQL, MySQL, Oh My Zsh on Snow Leopard, Fourth Edition

2010/02/08
By Robby Russell
Installing Ruby on Rails, Passenger, PostgreSQL, MySQL, Oh My Zsh on Snow Leopard, Fourth Edition

Welcome to what seems like my tenth installment (actually, it’s the fourth) of showing you how I setup my development environment on a fresh OSX install. In this case, I’m actually getting a MacBook setup for a new employee with Snow Leopard.

Over the years, I’ve evolved these following steps and they’ve helped our team...
Read more »

Tags: , , , , , , , , , , , , , , ,
Posted in Publishers, Robby on Rails | View Comments

Using BETWEEN for SQL comparisons

2009/11/14
By Robby Russell
Using BETWEEN for SQL comparisons

Recently, Carlos, suggested that I should start sharing some basic SQL tips that help with performance and/or general usage. I recently came across some code that I didn’t like to read and/or write. For example, let’s take the following…


SELECT * FROM brochures WHERE published_at <= now() AND archived_at >= now()

Essentially, this is pulling...
Read more »

Tags: , , , , , ,
Posted in Publishers, Robby on Rails | View Comments

Tracking Google Analytics events in development environment with GoogleAnalyticsProxy

2009/11/01
By Robby Russell
Tracking Google Analytics events in development environment with GoogleAnalyticsProxy

As mentioned in a recent article1, I’ve been diving deep into Google Analytics lately while working on a few client projects. We’re aiming to use much more of the features of Google Analytics and have been hitting some roadblocks with the development versus production application environments. Once you begin to dive into...
Read more »

Tags: , , , , , , , , , ,
Posted in Publishers, Robby on Rails | View Comments

RailsOnPg released

2009/10/21
By Robby Russell
RailsOnPg released

Hello fellow PostgreSQL and Ruby on Rails geeks,

Alexander Tretyakov (twitter) recently released a plugin for Ruby on Rails, which extends migrations and provides you with the ability to create.

While you can already do something like this with execute in your migrations:

execute("CREATE...
Read more »

Tags: , , , , ,
Posted in Publishers, Robby on Rails | View Comments

Double Shot #550

2009/09/29
By Mike Gunderloy
Double Shot #550

At the end of the day, you have to ship code. Or sleep.MySQL vs. PostgreSQL comparison – Reasonably fair, though it misses the fact that GUI tools for MySQL are generally better. Software patents should be abolished – Amen. script/nginx – Instructions for getting nginx + passenger running in your dev environment. RubyMine 2.0 Beta Overview –...
Read more »

Tags: , , , , ,
Posted in A Fresh Cup, Publishers | View Comments

Double Shot #518

2009/08/14
By Mike Gunderloy
Double Shot #518

Birthday season is just about over around here. A good thing, as I need to get some work done.open_gem – Gem extension to make it simple to open installed gems in your text editor. I’ve mentioned this before, but it’s still gaining useful features and I find I’m using it daily. Ruby 1.8.6pl383 released –...
Read more »

Tags: , , , , , , ,
Posted in A Fresh Cup, Publishers | View Comments

Dealing with ‘duplicate key violates unique constraint’ on the primary key

2009/03/05
By Luke Francl
Dealing with ‘duplicate key violates unique constraint’ on the primary key

I recently had to work through a problem where inserts were failing due to duplicate primary keys.Here’s the error (edited for clarity):PGError: ERROR: duplicate key violates unique constraint "contracts_pkey": INSERT INTO "contr...
Read more »

Tags: ,
Posted in Publishers, Rail Spikes | View Comments

AlphaClone on PostgreSQL and Ruby on Rails

2008/12/12
By Robby Russell
AlphaClone on PostgreSQL and Ruby on Rails

tour-ss-full-berkshire.jpg (JPEG Image, 370x713 pixels)
Earlier this week, our team launched a client’s project into the public. We began working on it early this year and it was quite an endeavor for our team. The company that we helped launch is AlphaClone, a premier stock research and portfolio...
Read more »

Tags: , , , , , , , , , , , ,
Posted in Publishers, Robby on Rails | View Comments

Interviewed by Database Radio Podcast

2008/12/11
By Robby Russell
Interviewed by Database Radio Podcast

Bob Zurek, the Chief Technology Officer at EnterpriseDB interviewed me a few months ago for their new Database Radio podcast. It finally was published last week. Bob and I had a nice conversation about PostgreSQL and it’s community, our use of PostgreSQL with Ruby, Ruby on Rails, and development tools/methods.

Tags: , , , , , , ,
Posted in Publishers, Robby on Rails | View Comments

MySQL is just a toy

2008/09/11
By Robby Russell
MySQL is just a toy

Twitterrific

Are you using PostgreSQL? EnterpriseDB want’s to hear your story at Postgres Rocks


Read more »

Tags: , ,
Posted in Publishers, Robby on Rails | View Comments