Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A ruby gem for working with weatherbase data as an active record module.
Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
pkg
.gitignore
Gemfile
LICENSE
README.md
Rakefile
weatherbase.gemspec

README.md

WeatherBase

The WeatherBase gem is a rails helper gem which creates classes for helping with data as given by WeatherBase (www.weatherbase.com)

There are two main classes to use as rails mixins.

WeatherBase::ActiveRecordSupport

This class should be mixed into an activerecord, it provides functionality for getting temperatures, rainfall, and snowfall saved into a mysql DB.

WeatherBase::ActiveRecordMigration

This is a mixin for active record migrations. Include it in an active record migration and use the populate_table(t) to generate the necessary fields which ActiveRecordSupport requires.

Something went wrong with that request. Please try again.