In gmail click the settings link in the upper right hand corner

Then scroll to the bottom and select 'Always use https' in the Browser connection section

Using Postgresql I ran into the following error when trying to create a new record through my rails application
Found this link which had the needed fix;
Dealing with 'duplicate key violates unique constraint' on the primary key
apparently with Postgresql after bulk loading records where the auto incrementing id is specified you then need to update the sequence value
#!/bin/bash | |
directory="/home/YOUR_USER_NAME/projects/YOUR_PROJECT_DIR/trunk" | |
command="script/server" | |
title_dev="Dev_Trunk" | |
title_running="Running_Trunk" | |
profile2="P2" | |
firefox_profile="p2" | |
clear | |
echo "" | |
echo "launch script/server" | |
gnome-terminal --working-directory=$directory --title=$title_running --command=$command --profile=$profile2 | |
echo "launch terminal at trunk" | |
gnome-terminal --working-directory=$directory --name=$title_dev --title=$title_dev | |
echo "launch firefox at localhost" | |
firefox http://localhost:3000 -P $firefox_profile -no-remote & | |
echo "launch komodo edit" | |
/home/YOUR_USER_NAME/applications/Komodo-Edit-5/bin/komodo & | |
echo -e "\033[1mRails development in effect...\033[0m" | |
echo "" |
ln -s /home/YOUR_USER_NAME/scripts/launch_YOUR_PROJECT.sh launch_YOUR_PROJECT |