public
Fork of jacobat/oiorest
Description: Library for accessing the Danish OIO Rest information
Clone URL: git://github.com/olleolleolle/oiorest.git
name age message
file MIT-LICENSE Wed May 07 11:07:52 -0700 2008 Adding README patch from olleolleolle [christian@dalager.com]
file README Wed May 07 11:07:52 -0700 2008 Adding README patch from olleolleolle [christian@dalager.com]
file Rakefile Sat Apr 05 11:17:40 -0700 2008 Converted project to rails plugin. [christian@dalager.com]
file init.rb Tue May 13 12:14:29 -0700 2008 Remove spaces [Tobias Haagen Michaelsen]
file install.rb Sat Apr 05 11:17:40 -0700 2008 Converted project to rails plugin. [christian@dalager.com]
directory lib/ Tue May 13 13:20:02 -0700 2008 Patch to make find(:first) work with the OIO in... [jacobat]
directory tasks/ Sat Apr 05 11:17:40 -0700 2008 Converted project to rails plugin. [christian@dalager.com]
directory test/ Sat Apr 05 11:17:40 -0700 2008 Converted project to rails plugin. [christian@dalager.com]
file uninstall.rb Sat Apr 05 11:17:40 -0700 2008 Converted project to rails plugin. [christian@dalager.com]
README
ActiveOio
=========

ActiveOIO is a Ruby on Rails ActiveOIO extension to Danish public data.

You can read more about it at http://code.google.com/p/oiorest/


Example
=======

# Find all
Kommune.find(:all)

# Find one
Postdistrikt.find(8830)

# Search by name
Postdistrikt.find_by_name('borg')