Permalink
Switch branches/tags
Nothing to show
Commits on May 13, 2008
  1. Merge branch 'find_patch'

    jacobat committed May 13, 2008
  2. Remove spaces

    Tobias Haagen Michaelsen committed May 13, 2008
Commits on May 7, 2008
  1. Adding README patch from olleolleolle

    christian@dalager.com committed May 7, 2008
    git-svn-id: http://oiorest.googlecode.com/svn/trunk@21 ce39abd0-6649-0410-85e9-6d4393f8d017
Commits on Apr 18, 2008
  1. fixed #kommuner accessor on Region model

    christian@dalager.com committed Apr 18, 2008
    git-svn-id: http://oiorest.googlecode.com/svn/trunk@20 ce39abd0-6649-0410-85e9-6d4393f8d017
Commits on Apr 6, 2008
  1. Added a bunch of associations - they need to be DRYed up though.

    christian@dalager.com committed Apr 6, 2008
    Now you can do, fx,
    
    nordjylland = Region.find_by_name('Nordjylland').first
    nordjyskeKommuner = nordjylland.kommuner
    skoler = nordjylland.kommuner.collect{|k| k.skoler}.flatten ## finder 278 skoler i et array
    skoler.last.navn ## => "Vrå Skole"
    
    git-svn-id: http://oiorest.googlecode.com/svn/trunk@19 ce39abd0-6649-0410-85e9-6d4393f8d017
Commits on Apr 5, 2008
  1. Converted project to rails plugin.

    christian@dalager.com committed Apr 5, 2008
    Added a basic set of models
    
    Created a module with a self.find_by_name method included.
    
    git-svn-id: http://oiorest.googlecode.com/svn/trunk@13 ce39abd0-6649-0410-85e9-6d4393f8d017
Commits on Apr 2, 2008
  1. * reinserting overrides to strip .xml as the API is not yet consisten…

    christian@dalager.com committed Apr 2, 2008
    …t i that way
    
    * fixed activeoio.instatiate_collection enabling support for custum finds like this in models
    
      def self.find_by_name(name)
        self.find(:all, :params =>{:q => name})
      end
    
    git-svn-id: http://oiorest.googlecode.com/svn/trunk@12 ce39abd0-6649-0410-85e9-6d4393f8d017
  2. * removed method overrides used to strip .xml from activeresource def…

    christian@dalager.com committed Apr 2, 2008
    …ault urls as ITSTs Finn Jordal changed the API for us -- yippeee!
    
    * shaved down the instantiate_collection method
    
    git-svn-id: http://oiorest.googlecode.com/svn/trunk@4 ce39abd0-6649-0410-85e9-6d4393f8d017
Commits on Mar 27, 2008
  1. moved file out of trunk/trunk

    jesperrr committed Mar 27, 2008
    git-svn-id: http://oiorest.googlecode.com/svn/trunk@3 ce39abd0-6649-0410-85e9-6d4393f8d017
  2. Dalager's first version

    jesperrr committed Mar 27, 2008
    git-svn-id: http://oiorest.googlecode.com/svn/trunk@2 ce39abd0-6649-0410-85e9-6d4393f8d017
  3. Initial directory structure.

    (no author) committed Mar 27, 2008
    git-svn-id: http://oiorest.googlecode.com/svn/trunk@1 ce39abd0-6649-0410-85e9-6d4393f8d017