Skip to content

John Plummer . com

Stuff I want to remember

  • About
  • Contact

Month: December 2011

Rails 3.1 on Heroku, TLDR Version

Create the app If not installed, install PostgreSQL rails new app_name -T -d=postgresql cd app_name/ rvm –create –rvmrc 1.9.2@app_name rvm rvmrc trust Edit .Gemfile bundle install createuser -P -S -R -d app_name (no to ‘Superuser’ and ‘Create roles’, yes to ‘Create databases’) rake db:create Create procfile in app root. foreman start and check http://0.0.0.0:5000/ Push […]

Read More…

December 13, 2011December 22, 2011 JohnNo Comments

Does Email Obfuscation Work?

  It seems to be common wisdom that if you put your email address on the web in plain text you will get spammed (more). There are various ways to try and hide an email address from various crawlers whist still displaying it to visitors, most involving javascript and relying  on the crawlers not having […]

Read More…

December 7, 2011December 8, 2011 John3 Comments

Installing Postgresql and pgAdmin

  The default database for Heroku is PostgreSQL and, while you could use SQLite for development and Postgres for production, there are some inconsistencies between the two. Ideally you would use the same version of the database server but currently Heroku uses version 9 for dedicated databases and 8.3 for shared databases and seem to […]

Read More…

December 6, 2011December 6, 2011 John1 Comment

Recent Posts

  • Moving Plists Between Macs
  • Javascript imports and exports
  • What is Lambda Calculus
  • VS Code as a markdown editor
  • Why Measure Dev Team Productivity?

Tags

.Net Ajax Bdd Blueprint Config Current Version Databases Default View Dependencies Feature View Footer Bar Gems Heroku Honest Description Implementation Instance Methods Interface irb Lt Mac Mvc3 Namespaces Nunit Os X Preference Product Controller Project Root Rake Razor Repository Rerun Roots Ruby Ruby and Rails Ruby On Rails Running Scripts Sql Databases Sql Server Stack Using Visual Studio Vim Visual Studio Vm Wordpress

Archives

  • May 2022
  • June 2018
  • May 2018
  • October 2015
  • September 2015
  • October 2014
  • September 2014
  • May 2014
  • March 2012
  • February 2012
  • January 2012
  • December 2011
  • October 2011
  • June 2011
  • May 2011
  • April 2011
  • January 2011
  • December 2010
  • November 2010
  • October 2010
  • September 2010
  • August 2010
  • April 2010
  • January 2010
  • July 2008
  • July 2007
  • June 2007