Rails sample application with time zone examples
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
bin
config
db
lib
log
public
test
vendor/assets
.gitignore
.rvmrc
Gemfile
Gemfile.lock
README.md
Rakefile
config.ru

README.md

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.