Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time

Rails TimeZ (sample app)

see the blog post at: http://jessehouse.com/blog/2013/11/15/working-with-timezones-and-ruby-on-rails/

Install locally

Requires Postgres as the database, modify config/database.yml as needed

git clone https://github.com/house9/sample_timez.git
cd sample_timez
bundle

# create database and sample data
bundle exec rake db_tasks:rebuild_database
# start up rails
rails s

Go to http://localhost:3000/

The login page is setup to auto-fill existing user accounts, or create your own.