Class: Changelog

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
lib/ruby-opengeodb/location.rb

Overview

class

Instance Method Summary collapse

Instance Method Details

#changelogsObject



13
14
15
16
# File 'lib/ruby-opengeodb/location.rb', line 13

def changelogs
  @changelogs = Changelog.find(:all, :order => :datum)
  @changelogs
end

#to_sObject



18
19
20
# File 'lib/ruby-opengeodb/location.rb', line 18

def to_s
  "#{id}|#{datum}|#{beschreibung}|#{autor}|#{version}"
end