Will It Freeze Tonight transition from Sinatra to Rails 3
Ruby JavaScript CoffeeScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
app
config
db
doc
lib
log
public
script
test
vendor
views
.DS_Store
.gitignore
Gemfile
Gemfile.lock
MIT-LICENSE.txt
README
README.rdoc
Rakefile
config.ru
freeze.rb

README.rdoc

Description:

This is just a fun little app I put together to exercise my brain.

When someone visits the site they're greeted with “Will it freeze in _ tonight?” They fill the textfield in with the city, state (autocomplete is enabled for most places in the US using jquery autocomplete and ws.geonames.org) or zipcode. Using @jnunemakers gem google-weather the app pulls the forecasts info in and displays a message according to the answer. It's really simple and there are a lot more things I want to add to it.

Plead:

Please by all means email me at jcarpentier@gmail.com and give me feedback, ideas, helpful critic, pointers or whatever. Also add me on twitter @JasonCarpentier and let me know what you think. I'm still learning and would love helpful feedback.

Warning:

It currently needs refactoring and I'm working on that daily as I learn more and more about Ruby. You're very welcome to read it and learn how not to write Ruby code.

What I used:

Ruby

Gems

  • Sinatra

  • Sinatra-Flash

  • Google-Weather

  • Erubis

License:

This app has been released under the MIT-LICENSE you can read it in the file MIT-LICENSE.txt