Skip to content

A ruby gem for working with weatherbase data as an active record module.

License

Notifications You must be signed in to change notification settings

bramski/WeatherBase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A ruby gem for working with weatherbase data as an active record module.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages