Index: /ruby/trunk/app/models/archetype_datum.rb
===================================================================
--- /ruby/trunk/app/models/archetype_datum.rb	(revision 404)
+++ /ruby/trunk/app/models/archetype_datum.rb	(revision 404)
@@ -0,0 +1,2 @@
+class ArchetypeDatum < ActiveRecord::Base
+end
Index: /ruby/trunk/db/migrate/20100129010414_create_archetype_data.rb
===================================================================
--- /ruby/trunk/db/migrate/20100129010414_create_archetype_data.rb	(revision 404)
+++ /ruby/trunk/db/migrate/20100129010414_create_archetype_data.rb	(revision 404)
@@ -0,0 +1,19 @@
+class CreateArchetypeData < ActiveRecord::Migration
+  def self.up
+    create_table :archetype_data do |t|
+      t.string :oid
+      t.string :archetype_id
+      t.string :concept
+      t.string :path
+      t.string :text_data
+      t.integer :integer_data
+      t.real :real_data
+
+      t.timestamps
+    end
+  end
+
+  def self.down
+    drop_table :archetype_data
+  end
+end
Index: /ruby/trunk/db/schema.rb
===================================================================
--- /ruby/trunk/db/schema.rb	(revision 403)
+++ /ruby/trunk/db/schema.rb	(revision 404)
@@ -10,5 +10,16 @@
 # It's strongly recommended to check this file into your version control system.
 
-ActiveRecord::Schema.define(:version => 20090725052538) do
+ActiveRecord::Schema.define(:version => 20100129010414) do
+
+  create_table "archetype_data", :force => true do |t|
+    t.string   "oid"
+    t.string   "archetype_id"
+    t.string   "concept"
+    t.string   "path"
+    t.string   "text_data"
+    t.integer  "integer_data"
+    t.datetime "created_at"
+    t.datetime "updated_at"
+  end
 
   create_table "terminologies", :force => true do |t|
Index: /ruby/trunk/lib/open_ehr/builder.rb
===================================================================
--- /ruby/trunk/lib/open_ehr/builder.rb	(revision 404)
+++ /ruby/trunk/lib/open_ehr/builder.rb	(revision 404)
@@ -0,0 +1,4 @@
+module OpenEHR
+  class Builder
+  end
+end
Index: /ruby/trunk/lib/open_ehr/parser.rb
===================================================================
--- /ruby/trunk/lib/open_ehr/parser.rb	(revision 404)
+++ /ruby/trunk/lib/open_ehr/parser.rb	(revision 404)
@@ -0,0 +1,19 @@
+module OpenEHR
+  class Parser
+    def parse
+
+    end
+
+    def load(file)
+
+    end
+  end
+
+  class ADLParser < Parser
+
+  end
+
+  class XMLParser < Parser
+
+  end
+end
Index: /ruby/trunk/lib/open_ehr/serializer.rb
===================================================================
--- /ruby/trunk/lib/open_ehr/serializer.rb	(revision 404)
+++ /ruby/trunk/lib/open_ehr/serializer.rb	(revision 404)
@@ -0,0 +1,13 @@
+module OpenEHR
+  class Serializer
+    
+  end
+
+  class ADLSerializer < Serializer
+
+  end
+
+  class XMLSerializer < Serializer
+
+  end
+end
Index: by/trunk/log/development.log
===================================================================
--- /ruby/trunk/log/development.log	(revision 403)
+++ 	(revision )
@@ -1,1848 +1,0 @@
-
-
-Processing TerminologyController#show (for 127.0.0.1 at 2009-07-25 14:48:53) [GET]
-  Session ID: fc1861a271d18db277b3bc930e8d0114
-  Parameters: {"action"=>"show", "controller"=>"terminology"}
-Rendering terminology/show
-Completed in 0.00591 (169 reqs/sec) | Rendering: 0.00151 (25%) | DB: 0.00000 (0%) | 200 OK [http://localhost/terminology/show]
-
-
-Processing TerminologyController#show (for 127.0.0.1 at 2009-07-25 14:49:02) [GET]
-  Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo
-SGFzaHsABjoKQHVzZWR7AA==--105cbe01dd04ed0d7b386758f2b31d1ac05e1161
-  Parameters: {"action"=>"show", "id"=>"1", "controller"=>"terminology"}
-Rendering terminology/show
-Completed in 0.00357 (280 reqs/sec) | Rendering: 0.00084 (23%) | DB: 0.00000 (0%) | 200 OK [http://localhost/terminology/show/1]
-
-
-Processing TerminologyController#index (for 127.0.0.1 at 2009-07-25 14:49:13) [GET]
-  Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo
-SGFzaHsABjoKQHVzZWR7AA==--105cbe01dd04ed0d7b386758f2b31d1ac05e1161
-  Parameters: {"action"=>"index", "controller"=>"terminology"}
-
-
-ActionController::UnknownAction (No action responded to index):
-    /vendor/rails/actionpack/lib/action_controller/filters.rb:580:in `call_filters'
-    /vendor/rails/actionpack/lib/action_controller/filters.rb:573:in `perform_action_without_benchmark'
-    /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
-    /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
-    /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
-    /vendor/rails/actionpack/lib/action_controller/rescue.rb:201:in `perform_action_without_caching'
-    /vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:13:in `perform_action'
-    /vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:33:in `cache'
-    /vendor/rails/activerecord/lib/active_record/query_cache.rb:8:in `cache'
-    /vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:12:in `perform_action'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:529:in `send'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:529:in `process_without_filters'
-    /vendor/rails/actionpack/lib/action_controller/filters.rb:569:in `process_without_session_management_support'
-    /vendor/rails/actionpack/lib/action_controller/session_management.rb:130:in `process'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:389:in `process'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:149:in `handle_request'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:107:in `dispatch'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in `synchronize'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in `dispatch'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:120:in `dispatch_cgi'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:35:in `dispatch'
-    /vendor/rails/railties/lib/webrick_server.rb:112:in `handle_dispatch'
-    /vendor/rails/railties/lib/webrick_server.rb:78:in `service'
-    /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
-    /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
-    /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
-    /usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
-    /usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
-    /usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
-    /vendor/rails/railties/lib/webrick_server.rb:62:in `dispatch'
-    /vendor/rails/railties/lib/commands/servers/webrick.rb:66
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
-    /vendor/rails/activesupport/lib/active_support/dependencies.rb:509:in `require'
-    /vendor/rails/activesupport/lib/active_support/dependencies.rb:354:in `new_constants_in'
-    /vendor/rails/activesupport/lib/active_support/dependencies.rb:509:in `require'
-    /vendor/rails/railties/lib/commands/server.rb:39
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
-    script/server:3
-
-Rendering /home/skoba/src/terminology/vendor/rails/actionpack/lib/action_controller/templates/rescues/layout.erb (not_found)
-
-
-Processing TerminologyController#show (for 127.0.0.1 at 2009-07-25 14:49:18) [GET]
-  Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo
-SGFzaHsABjoKQHVzZWR7AA==--105cbe01dd04ed0d7b386758f2b31d1ac05e1161
-  Parameters: {"action"=>"show", "controller"=>"terminology"}
-Rendering terminology/show
-Completed in 0.00374 (267 reqs/sec) | Rendering: 0.00083 (22%) | DB: 0.00000 (0%) | 200 OK [http://localhost/terminology/show]
-  [4;36;1mSQL (0.000401)[0m   [0;1m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
-  [4;35;1mSQL (0.000247)[0m   [0mselect sqlite_version(*)[0m
-  [4;36;1mSQL (0.006100)[0m   [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
-  [4;35;1mSQL (0.001876)[0m   [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
-  [4;36;1mSQL (0.000328)[0m   [0;1m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
-  [4;35;1mSQL (0.000233)[0m   [0mSELECT version FROM schema_migrations[0m
-Migrating to CreateTerminologies (20090725052538)
-  [4;36;1mSQL (0.000137)[0m   [0;1mSELECT version FROM schema_migrations[0m
-  [4;35;1mSQL (0.003106)[0m   [0mCREATE TABLE "terminologies" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "lang" varchar(255) DEFAULT NULL NULL, "group" text DEFAULT NULL NULL, "rubric" varchar(255) DEFAULT NULL NULL, "description" text DEFAULT NULL NULL, "mappings" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL) [0m
-  [4;36;1mSQL (0.001417)[0m   [0;1mINSERT INTO schema_migrations (version) VALUES ('20090725052538')[0m
-  [4;35;1mSQL (0.000310)[0m   [0mSELECT version FROM schema_migrations[0m
-  [4;36;1mSQL (0.000352)[0m   [0;1m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
-  [4;35;1mSQL (0.000168)[0m   [0mPRAGMA index_list("terminologies")[0m
-
-
-Processing TerminologyController#show (for 127.0.0.1 at 2009-07-25 16:20:33) [GET]
-  Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo
-SGFzaHsABjoKQHVzZWR7AA==--105cbe01dd04ed0d7b386758f2b31d1ac05e1161
-  Parameters: {"action"=>"show", "controller"=>"terminology"}
-Rendering terminology/show
-Completed in 0.00463 (215 reqs/sec) | Rendering: 0.00183 (39%) | DB: 0.00000 (0%) | 200 OK [http://localhost/terminology/show]
-
-
-Processing TerminologyController#show (for 127.0.0.1 at 2009-07-25 16:20:35) [GET]
-  Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo
-SGFzaHsABjoKQHVzZWR7AA==--105cbe01dd04ed0d7b386758f2b31d1ac05e1161
-  Parameters: {"action"=>"show", "controller"=>"terminology"}
-Rendering terminology/show
-Completed in 0.00517 (193 reqs/sec) | Rendering: 0.00126 (24%) | DB: 0.00000 (0%) | 200 OK [http://localhost/terminology/show]
-  [4;36;1mSQL (0.000812)[0m   [0;1m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
-  [4;35;1mSQL (0.000287)[0m   [0mSELECT version FROM schema_migrations[0m
-Migrating to CreateTerminologies (20090725052538)
-  [4;36;1mSQL (0.000206)[0m   [0;1mSELECT version FROM schema_migrations[0m
-  [4;35;1mSQL (0.000204)[0m   [0mselect sqlite_version(*)[0m
-  [4;36;1mSQL (0.000216)[0m   [0;1mSELECT version FROM schema_migrations[0m
-  [4;35;1mSQL (0.000795)[0m   [0m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
-  [4;36;1mSQL (0.000096)[0m   [0;1mPRAGMA index_list("terminologies")[0m
-  [4;36;1mSQL (0.000826)[0m   [0;1m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
-  [4;35;1mSQL (0.000340)[0m   [0mSELECT version FROM schema_migrations[0m
-Migrating to CreateTerminologies (20090725052538)
-  [4;36;1mSQL (0.000201)[0m   [0;1mSELECT version FROM schema_migrations[0m
-  [4;35;1mSQL (0.000226)[0m   [0mselect sqlite_version(*)[0m
-  [4;36;1mSQL (0.000230)[0m   [0;1mSELECT version FROM schema_migrations[0m
-  [4;35;1mSQL (0.000286)[0m   [0m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
-  [4;36;1mSQL (0.000128)[0m   [0;1mPRAGMA index_list("terminologies")[0m
-
-
-Processing TerminologyController#show (for 127.0.0.1 at 2009-07-26 07:08:56) [GET]
-  Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo
-SGFzaHsABjoKQHVzZWR7AA==--105cbe01dd04ed0d7b386758f2b31d1ac05e1161
-  Parameters: {"action"=>"show", "controller"=>"terminology"}
-Rendering terminology/show
-Completed in 0.00338 (296 reqs/sec) | Rendering: 0.00078 (23%) | DB: 0.00000 (0%) | 200 OK [http://localhost/terminology/show]
-  [4;36;1mSQL (0.000393)[0m   [0;1m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
-  [4;35;1mSQL (0.000375)[0m   [0mselect sqlite_version(*)[0m
-  [4;36;1mSQL (0.003277)[0m   [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
-  [4;35;1mSQL (0.001734)[0m   [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
-  [4;36;1mSQL (0.000230)[0m   [0;1m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
-  [4;35;1mSQL (0.000178)[0m   [0mSELECT version FROM schema_migrations[0m
-Migrating to CreateTerminologies (20090725052538)
-  [4;36;1mSQL (0.000123)[0m   [0;1mSELECT version FROM schema_migrations[0m
-  [4;35;1mSQL (0.002507)[0m   [0mCREATE TABLE "terminologies" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "lang" varchar(255) DEFAULT NULL NULL, "group" text DEFAULT NULL NULL, "rubric" varchar(255) DEFAULT NULL NULL, "description" text DEFAULT NULL NULL, "mappings" varchar(255) DEFAULT NULL NULL) [0m
-  [4;36;1mSQL (0.001434)[0m   [0;1mINSERT INTO schema_migrations (version) VALUES ('20090725052538')[0m
-  [4;35;1mSQL (0.000268)[0m   [0mSELECT version FROM schema_migrations[0m
-  [4;36;1mSQL (0.000431)[0m   [0;1m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
-  [4;35;1mSQL (0.000091)[0m   [0mPRAGMA index_list("terminologies")[0m
-  [4;36;1mSQL (0.000624)[0m   [0;1m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
-  [4;35;1mSQL (0.000351)[0m   [0mselect sqlite_version(*)[0m
-  [4;36;1mSQL (0.006205)[0m   [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
-  [4;35;1mSQL (0.001787)[0m   [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
-  [4;36;1mSQL (0.000245)[0m   [0;1m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
-  [4;35;1mSQL (0.000174)[0m   [0mSELECT version FROM schema_migrations[0m
-Migrating to CreateTerminologies (20090725052538)
-  [4;36;1mSQL (0.000122)[0m   [0;1mSELECT version FROM schema_migrations[0m
-  [4;35;1mSQL (0.002245)[0m   [0mCREATE TABLE "terminologies" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "lang" varchar(255) DEFAULT NULL NULL, "group" text DEFAULT NULL NULL, "rubric" varchar(255) DEFAULT NULL NULL, "description" text DEFAULT NULL NULL, "mappings" varchar(255) DEFAULT NULL NULL) [0m
-  [4;36;1mSQL (0.001794)[0m   [0;1mINSERT INTO schema_migrations (version) VALUES ('20090725052538')[0m
-  [4;35;1mSQL (0.000276)[0m   [0mSELECT version FROM schema_migrations[0m
-  [4;36;1mSQL (0.000276)[0m   [0;1m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
-  [4;35;1mSQL (0.000121)[0m   [0mPRAGMA index_list("terminologies")[0m
-  [4;36;1mSQL (0.000440)[0m   [0;1m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
-  [4;35;1mSQL (0.000284)[0m   [0mselect sqlite_version(*)[0m
-  [4;36;1mSQL (0.002967)[0m   [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
-  [4;35;1mSQL (0.001979)[0m   [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
-  [4;36;1mSQL (0.000319)[0m   [0;1m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
-  [4;35;1mSQL (0.000221)[0m   [0mSELECT version FROM schema_migrations[0m
-Migrating to CreateTerminologies (20090725052538)
-  [4;36;1mSQL (0.000123)[0m   [0;1mSELECT version FROM schema_migrations[0m
-  [4;35;1mSQL (0.002769)[0m   [0mCREATE TABLE "terminologies" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "lang" varchar(255) DEFAULT NULL NULL, "group" text DEFAULT NULL NULL, "rubric" varchar(255) DEFAULT NULL NULL, "description" text DEFAULT NULL NULL, "mappings" varchar(255) DEFAULT NULL NULL) [0m
-  [4;36;1mSQL (0.001631)[0m   [0;1mINSERT INTO schema_migrations (version) VALUES ('20090725052538')[0m
-  [4;35;1mSQL (0.002083)[0m   [0mSELECT version FROM schema_migrations[0m
-  [4;36;1mSQL (0.002789)[0m   [0;1m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
-  [4;35;1mSQL (0.000113)[0m   [0mPRAGMA index_list("terminologies")[0m
-  [4;36;1mSQL (0.000385)[0m   [0;1m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
-  [4;35;1mSQL (0.000210)[0m   [0mselect sqlite_version(*)[0m
-  [4;36;1mSQL (0.003015)[0m   [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
-  [4;35;1mSQL (0.002372)[0m   [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
-  [4;36;1mSQL (0.000307)[0m   [0;1m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
-  [4;35;1mSQL (0.000211)[0m   [0mSELECT version FROM schema_migrations[0m
-Migrating to CreateTerminologies (20090725052538)
-  [4;36;1mSQL (0.000126)[0m   [0;1mSELECT version FROM schema_migrations[0m
-  [4;35;1mSQL (0.002230)[0m   [0mCREATE TABLE "terminologies" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "lang" varchar(255) DEFAULT NULL NULL, "group" text DEFAULT NULL NULL, "rubric" varchar(255) DEFAULT NULL NULL, "description" text DEFAULT NULL NULL, "mappings" varchar(255) DEFAULT NULL NULL) [0m
-  [4;36;1mSQL (0.001480)[0m   [0;1mINSERT INTO schema_migrations (version) VALUES ('20090725052538')[0m
-  [4;35;1mSQL (0.000289)[0m   [0mSELECT version FROM schema_migrations[0m
-  [4;36;1mSQL (0.000280)[0m   [0;1m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
-  [4;35;1mSQL (0.000115)[0m   [0mPRAGMA index_list("terminologies")[0m
-  [4;36;1mSQL (0.000768)[0m   [0;1m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
-  [4;35;1mSQL (0.000261)[0m   [0mSELECT version FROM schema_migrations[0m
-Migrating to CreateTerminologies (20090725052538)
-  [4;36;1mSQL (0.000196)[0m   [0;1mSELECT version FROM schema_migrations[0m
-  [4;35;1mSQL (0.000260)[0m   [0mselect sqlite_version(*)[0m
-  [4;36;1mSQL (0.000239)[0m   [0;1mSELECT version FROM schema_migrations[0m
-  [4;35;1mSQL (0.000290)[0m   [0m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
-  [4;36;1mSQL (0.000090)[0m   [0;1mPRAGMA index_list("terminologies")[0m
-  [4;36;1mSQL (0.000404)[0m   [0;1m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
-  [4;35;1mSQL (0.000211)[0m   [0mselect sqlite_version(*)[0m
-  [4;36;1mSQL (0.005156)[0m   [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
-  [4;35;1mSQL (0.002086)[0m   [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
-  [4;36;1mSQL (0.000230)[0m   [0;1m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
-  [4;35;1mSQL (0.000166)[0m   [0mSELECT version FROM schema_migrations[0m
-Migrating to CreateTerminologies (20090725052538)
-  [4;36;1mSQL (0.000124)[0m   [0;1mSELECT version FROM schema_migrations[0m
-  [4;35;1mSQL (0.002660)[0m   [0mCREATE TABLE "terminologies" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "openehr_id" integer DEFAULT NULL NULL, "lang" varchar(255) DEFAULT NULL NULL, "group" text DEFAULT NULL NULL, "rubric" varchar(255) DEFAULT NULL NULL, "description" text DEFAULT NULL NULL, "mappings" varchar(255) DEFAULT NULL NULL) [0m
-  [4;36;1mSQL (0.001423)[0m   [0;1mINSERT INTO schema_migrations (version) VALUES ('20090725052538')[0m
-  [4;35;1mSQL (0.000353)[0m   [0mSELECT version FROM schema_migrations[0m
-  [4;36;1mSQL (0.000301)[0m   [0;1m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
-  [4;35;1mSQL (0.000102)[0m   [0mPRAGMA index_list("terminologies")[0m
-
-
-Processing TerminologyController#show (for 127.0.0.1 at 2009-07-26 18:47:17) [GET]
-  Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo
-SGFzaHsABjoKQHVzZWR7AA==--105cbe01dd04ed0d7b386758f2b31d1ac05e1161
-  Parameters: {"action"=>"show", "controller"=>"terminology"}
-Rendering terminology/show
-Completed in 0.00562 (178 reqs/sec) | Rendering: 0.00120 (21%) | DB: 0.00000 (0%) | 200 OK [http://localhost/terminology/show]
-
-
-Processing TerminologyController#show (for 127.0.0.1 at 2009-07-26 18:53:04) [GET]
-  Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo
-SGFzaHsABjoKQHVzZWR7AA==--105cbe01dd04ed0d7b386758f2b31d1ac05e1161
-  Parameters: {"action"=>"show", "controller"=>"terminology"}
-Rendering terminology/show
-Completed in 0.00537 (186 reqs/sec) | Rendering: 0.00165 (30%) | DB: 0.00000 (0%) | 200 OK [http://localhost/terminology/show]
-
-
-Processing TerminologyController#show (for 127.0.0.1 at 2009-07-26 18:53:33) [GET]
-  Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo
-SGFzaHsABjoKQHVzZWR7AA==--105cbe01dd04ed0d7b386758f2b31d1ac05e1161
-  Parameters: {"action"=>"show", "controller"=>"terminology"}
-Rendering terminology/show
-Completed in 0.00395 (252 reqs/sec) | Rendering: 0.00128 (32%) | DB: 0.00000 (0%) | 200 OK [http://localhost/terminology/show]
-
-
-Processing TerminologyController#show (for 127.0.0.1 at 2009-07-27 19:02:38) [GET]
-  Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo
-SGFzaHsABjoKQHVzZWR7AA==--105cbe01dd04ed0d7b386758f2b31d1ac05e1161
-  Parameters: {"action"=>"show", "controller"=>"terminology"}
-Rendering terminology/show
-Completed in 0.00449 (222 reqs/sec) | Rendering: 0.00187 (41%) | DB: 0.00000 (0%) | 200 OK [http://localhost/terminology/show]
-
-
-Processing TerminologyController#show (for 127.0.0.1 at 2009-07-27 19:02:43) [GET]
-  Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo
-SGFzaHsABjoKQHVzZWR7AA==--105cbe01dd04ed0d7b386758f2b31d1ac05e1161
-  Parameters: {"action"=>"show", "id"=>"1", "controller"=>"terminology"}
-Rendering terminology/show
-Completed in 0.00516 (193 reqs/sec) | Rendering: 0.00125 (24%) | DB: 0.00000 (0%) | 200 OK [http://localhost/terminology/show/1]
-
-
-Processing TerminologyController#show (for 127.0.0.1 at 2009-07-27 19:02:45) [GET]
-  Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo
-SGFzaHsABjoKQHVzZWR7AA==--105cbe01dd04ed0d7b386758f2b31d1ac05e1161
-  Parameters: {"action"=>"show", "id"=>"3", "controller"=>"terminology"}
-Rendering terminology/show
-Completed in 0.00393 (254 reqs/sec) | Rendering: 0.00087 (22%) | DB: 0.00000 (0%) | 200 OK [http://localhost/terminology/show/3]
-
-
-Processing ApplicationController#index (for  at 2009-07-27 19:03:49) [GET]
-  Session ID: c68738b853e46e97620963cdd207313e
-  Parameters: {}
-
-
-ActionController::RoutingError (No route matches "" with {:method=>:get}):
-    /vendor/rails/actionpack/lib/action_controller/routing/recognition_optimisation.rb:67:in `recognize_path'
-    /vendor/rails/actionpack/lib/action_controller/routing/route_set.rb:384:in `recognize'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:148:in `handle_request'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:107:in `dispatch'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in `synchronize'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in `dispatch'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:120:in `dispatch_cgi'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:35:in `dispatch'
-    (irb):1:in `irb_binding'
-    /usr/lib/ruby/1.8/irb/workspace.rb:52:in `irb_binding'
-    /usr/lib/ruby/1.8/irb/workspace.rb:52
-
-Rendering /home/skoba/src/terminology/vendor/rails/actionpack/lib/action_controller/templates/rescues/layout.erb (not_found)
-
-
-Processing TerminologyController#show (for 127.0.0.1 at 2009-07-27 19:10:46) [GET]
-  Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo
-SGFzaHsABjoKQHVzZWR7AA==--105cbe01dd04ed0d7b386758f2b31d1ac05e1161
-  Parameters: {"action"=>"show", "id"=>"3", "controller"=>"terminology"}
-
-
-ActiveRecord::RecordNotFound (Couldn't find Terminology without an ID):
-    /vendor/rails/activerecord/lib/active_record/base.rb:1360:in `find_from_ids'
-    /vendor/rails/activerecord/lib/active_record/base.rb:537:in `find'
-    /app/controllers/terminology_controller.rb:3:in `show'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:1162:in `send'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:1162:in `perform_action_without_filters'
-    /vendor/rails/actionpack/lib/action_controller/filters.rb:580:in `call_filters'
-    /vendor/rails/actionpack/lib/action_controller/filters.rb:573:in `perform_action_without_benchmark'
-    /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
-    /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
-    /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
-    /vendor/rails/actionpack/lib/action_controller/rescue.rb:201:in `perform_action_without_caching'
-    /vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:13:in `perform_action'
-    /vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:33:in `cache'
-    /vendor/rails/activerecord/lib/active_record/query_cache.rb:8:in `cache'
-    /vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:12:in `perform_action'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:529:in `send'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:529:in `process_without_filters'
-    /vendor/rails/actionpack/lib/action_controller/filters.rb:569:in `process_without_session_management_support'
-    /vendor/rails/actionpack/lib/action_controller/session_management.rb:130:in `process'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:389:in `process'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:149:in `handle_request'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:107:in `dispatch'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in `synchronize'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in `dispatch'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:120:in `dispatch_cgi'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:35:in `dispatch'
-    /vendor/rails/railties/lib/webrick_server.rb:112:in `handle_dispatch'
-    /vendor/rails/railties/lib/webrick_server.rb:78:in `service'
-    /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
-    /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
-    /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
-    /usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
-    /usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
-    /usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
-    /vendor/rails/railties/lib/webrick_server.rb:62:in `dispatch'
-    /vendor/rails/railties/lib/commands/servers/webrick.rb:66
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
-    /vendor/rails/activesupport/lib/active_support/dependencies.rb:509:in `require'
-    /vendor/rails/activesupport/lib/active_support/dependencies.rb:354:in `new_constants_in'
-    /vendor/rails/activesupport/lib/active_support/dependencies.rb:509:in `require'
-    /vendor/rails/railties/lib/commands/server.rb:39
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
-    script/server:3
-
-Rendering /home/skoba/src/terminology/vendor/rails/actionpack/lib/action_controller/templates/rescues/layout.erb (not_found)
-
-
-Processing TerminologyController#show (for 127.0.0.1 at 2009-07-27 19:11:14) [GET]
-  Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo
-SGFzaHsABjoKQHVzZWR7AA==--105cbe01dd04ed0d7b386758f2b31d1ac05e1161
-  Parameters: {"action"=>"show", "id"=>"1", "controller"=>"terminology"}
-
-
-ActiveRecord::RecordNotFound (Couldn't find Terminology without an ID):
-    /vendor/rails/activerecord/lib/active_record/base.rb:1360:in `find_from_ids'
-    /vendor/rails/activerecord/lib/active_record/base.rb:537:in `find'
-    /app/controllers/terminology_controller.rb:3:in `show'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:1162:in `send'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:1162:in `perform_action_without_filters'
-    /vendor/rails/actionpack/lib/action_controller/filters.rb:580:in `call_filters'
-    /vendor/rails/actionpack/lib/action_controller/filters.rb:573:in `perform_action_without_benchmark'
-    /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
-    /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
-    /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
-    /vendor/rails/actionpack/lib/action_controller/rescue.rb:201:in `perform_action_without_caching'
-    /vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:13:in `perform_action'
-    /vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:33:in `cache'
-    /vendor/rails/activerecord/lib/active_record/query_cache.rb:8:in `cache'
-    /vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:12:in `perform_action'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:529:in `send'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:529:in `process_without_filters'
-    /vendor/rails/actionpack/lib/action_controller/filters.rb:569:in `process_without_session_management_support'
-    /vendor/rails/actionpack/lib/action_controller/session_management.rb:130:in `process'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:389:in `process'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:149:in `handle_request'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:107:in `dispatch'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in `synchronize'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in `dispatch'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:120:in `dispatch_cgi'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:35:in `dispatch'
-    /vendor/rails/railties/lib/webrick_server.rb:112:in `handle_dispatch'
-    /vendor/rails/railties/lib/webrick_server.rb:78:in `service'
-    /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
-    /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
-    /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
-    /usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
-    /usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
-    /usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
-    /vendor/rails/railties/lib/webrick_server.rb:62:in `dispatch'
-    /vendor/rails/railties/lib/commands/servers/webrick.rb:66
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
-    /vendor/rails/activesupport/lib/active_support/dependencies.rb:509:in `require'
-    /vendor/rails/activesupport/lib/active_support/dependencies.rb:354:in `new_constants_in'
-    /vendor/rails/activesupport/lib/active_support/dependencies.rb:509:in `require'
-    /vendor/rails/railties/lib/commands/server.rb:39
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
-    script/server:3
-
-Rendering /home/skoba/src/terminology/vendor/rails/actionpack/lib/action_controller/templates/rescues/layout.erb (not_found)
-
-
-Processing TerminologyController#show (for 127.0.0.1 at 2009-07-27 19:12:01) [GET]
-  Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo
-SGFzaHsABjoKQHVzZWR7AA==--105cbe01dd04ed0d7b386758f2b31d1ac05e1161
-  Parameters: {"action"=>"show", "id"=>"1", "controller"=>"terminology"}
-  [4;36;1mTerminology Load (0.000568)[0m   [0;1mSELECT * FROM "terminologies" WHERE ("terminologies"."id" = 1) [0m
-Completed in 0.01659 (60 reqs/sec) | Rendering: 0.00048 (2%) | DB: 0.00057 (3%) | 200 OK [http://localhost/terminology/show/1]
-
-
-Processing TerminologyController#show (for 127.0.0.1 at 2009-07-27 19:12:48) [GET]
-  Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo
-SGFzaHsABjoKQHVzZWR7AA==--105cbe01dd04ed0d7b386758f2b31d1ac05e1161
-  Parameters: {"action"=>"show", "id"=>"1", "controller"=>"terminology"}
-
-
-ActiveRecord::RecordNotFound (Couldn't find Terminology without an ID):
-    /vendor/rails/activerecord/lib/active_record/base.rb:1360:in `find_from_ids'
-    /vendor/rails/activerecord/lib/active_record/base.rb:537:in `find'
-    /app/controllers/terminology_controller.rb:3:in `show'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:1162:in `send'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:1162:in `perform_action_without_filters'
-    /vendor/rails/actionpack/lib/action_controller/filters.rb:580:in `call_filters'
-    /vendor/rails/actionpack/lib/action_controller/filters.rb:573:in `perform_action_without_benchmark'
-    /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
-    /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
-    /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
-    /vendor/rails/actionpack/lib/action_controller/rescue.rb:201:in `perform_action_without_caching'
-    /vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:13:in `perform_action'
-    /vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:33:in `cache'
-    /vendor/rails/activerecord/lib/active_record/query_cache.rb:8:in `cache'
-    /vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:12:in `perform_action'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:529:in `send'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:529:in `process_without_filters'
-    /vendor/rails/actionpack/lib/action_controller/filters.rb:569:in `process_without_session_management_support'
-    /vendor/rails/actionpack/lib/action_controller/session_management.rb:130:in `process'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:389:in `process'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:149:in `handle_request'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:107:in `dispatch'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in `synchronize'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in `dispatch'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:120:in `dispatch_cgi'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:35:in `dispatch'
-    /vendor/rails/railties/lib/webrick_server.rb:112:in `handle_dispatch'
-    /vendor/rails/railties/lib/webrick_server.rb:78:in `service'
-    /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
-    /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
-    /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
-    /usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
-    /usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
-    /usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
-    /vendor/rails/railties/lib/webrick_server.rb:62:in `dispatch'
-    /vendor/rails/railties/lib/commands/servers/webrick.rb:66
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
-    /vendor/rails/activesupport/lib/active_support/dependencies.rb:509:in `require'
-    /vendor/rails/activesupport/lib/active_support/dependencies.rb:354:in `new_constants_in'
-    /vendor/rails/activesupport/lib/active_support/dependencies.rb:509:in `require'
-    /vendor/rails/railties/lib/commands/server.rb:39
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
-    script/server:3
-
-Rendering /home/skoba/src/terminology/vendor/rails/actionpack/lib/action_controller/templates/rescues/layout.erb (not_found)
-
-
-Processing TerminologyController#show (for 127.0.0.1 at 2009-07-27 19:13:02) [GET]
-  Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo
-SGFzaHsABjoKQHVzZWR7AA==--105cbe01dd04ed0d7b386758f2b31d1ac05e1161
-  Parameters: {"action"=>"show", "id"=>"1", "controller"=>"terminology"}
-
-
-ActiveRecord::RecordNotFound (Couldn't find Terminology without an ID):
-    /vendor/rails/activerecord/lib/active_record/base.rb:1360:in `find_from_ids'
-    /vendor/rails/activerecord/lib/active_record/base.rb:537:in `find'
-    /app/controllers/terminology_controller.rb:3:in `show'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:1162:in `send'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:1162:in `perform_action_without_filters'
-    /vendor/rails/actionpack/lib/action_controller/filters.rb:580:in `call_filters'
-    /vendor/rails/actionpack/lib/action_controller/filters.rb:573:in `perform_action_without_benchmark'
-    /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
-    /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
-    /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
-    /vendor/rails/actionpack/lib/action_controller/rescue.rb:201:in `perform_action_without_caching'
-    /vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:13:in `perform_action'
-    /vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:33:in `cache'
-    /vendor/rails/activerecord/lib/active_record/query_cache.rb:8:in `cache'
-    /vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:12:in `perform_action'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:529:in `send'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:529:in `process_without_filters'
-    /vendor/rails/actionpack/lib/action_controller/filters.rb:569:in `process_without_session_management_support'
-    /vendor/rails/actionpack/lib/action_controller/session_management.rb:130:in `process'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:389:in `process'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:149:in `handle_request'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:107:in `dispatch'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in `synchronize'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in `dispatch'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:120:in `dispatch_cgi'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:35:in `dispatch'
-    /vendor/rails/railties/lib/webrick_server.rb:112:in `handle_dispatch'
-    /vendor/rails/railties/lib/webrick_server.rb:78:in `service'
-    /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
-    /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
-    /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
-    /usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
-    /usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
-    /usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
-    /vendor/rails/railties/lib/webrick_server.rb:62:in `dispatch'
-    /vendor/rails/railties/lib/commands/servers/webrick.rb:66
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
-    /vendor/rails/activesupport/lib/active_support/dependencies.rb:509:in `require'
-    /vendor/rails/activesupport/lib/active_support/dependencies.rb:354:in `new_constants_in'
-    /vendor/rails/activesupport/lib/active_support/dependencies.rb:509:in `require'
-    /vendor/rails/railties/lib/commands/server.rb:39
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
-    script/server:3
-
-Rendering /home/skoba/src/terminology/vendor/rails/actionpack/lib/action_controller/templates/rescues/layout.erb (not_found)
-
-
-Processing TerminologyController#show (for 127.0.0.1 at 2009-07-27 19:13:03) [GET]
-  Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo
-SGFzaHsABjoKQHVzZWR7AA==--105cbe01dd04ed0d7b386758f2b31d1ac05e1161
-  Parameters: {"action"=>"show", "id"=>"1", "controller"=>"terminology"}
-
-
-ActiveRecord::RecordNotFound (Couldn't find Terminology without an ID):
-    /vendor/rails/activerecord/lib/active_record/base.rb:1360:in `find_from_ids'
-    /vendor/rails/activerecord/lib/active_record/base.rb:537:in `find'
-    /app/controllers/terminology_controller.rb:3:in `show'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:1162:in `send'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:1162:in `perform_action_without_filters'
-    /vendor/rails/actionpack/lib/action_controller/filters.rb:580:in `call_filters'
-    /vendor/rails/actionpack/lib/action_controller/filters.rb:573:in `perform_action_without_benchmark'
-    /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
-    /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
-    /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
-    /vendor/rails/actionpack/lib/action_controller/rescue.rb:201:in `perform_action_without_caching'
-    /vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:13:in `perform_action'
-    /vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:33:in `cache'
-    /vendor/rails/activerecord/lib/active_record/query_cache.rb:8:in `cache'
-    /vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:12:in `perform_action'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:529:in `send'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:529:in `process_without_filters'
-    /vendor/rails/actionpack/lib/action_controller/filters.rb:569:in `process_without_session_management_support'
-    /vendor/rails/actionpack/lib/action_controller/session_management.rb:130:in `process'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:389:in `process'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:149:in `handle_request'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:107:in `dispatch'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in `synchronize'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in `dispatch'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:120:in `dispatch_cgi'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:35:in `dispatch'
-    /vendor/rails/railties/lib/webrick_server.rb:112:in `handle_dispatch'
-    /vendor/rails/railties/lib/webrick_server.rb:78:in `service'
-    /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
-    /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
-    /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
-    /usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
-    /usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
-    /usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
-    /vendor/rails/railties/lib/webrick_server.rb:62:in `dispatch'
-    /vendor/rails/railties/lib/commands/servers/webrick.rb:66
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
-    /vendor/rails/activesupport/lib/active_support/dependencies.rb:509:in `require'
-    /vendor/rails/activesupport/lib/active_support/dependencies.rb:354:in `new_constants_in'
-    /vendor/rails/activesupport/lib/active_support/dependencies.rb:509:in `require'
-    /vendor/rails/railties/lib/commands/server.rb:39
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
-    script/server:3
-
-Rendering /home/skoba/src/terminology/vendor/rails/actionpack/lib/action_controller/templates/rescues/layout.erb (not_found)
-
-
-Processing TerminologyController#show (for 127.0.0.1 at 2009-07-27 19:13:15) [GET]
-  Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo
-SGFzaHsABjoKQHVzZWR7AA==--105cbe01dd04ed0d7b386758f2b31d1ac05e1161
-  Parameters: {"action"=>"show", "id"=>"1", "controller"=>"terminology"}
-  [4;35;1mTerminology Load (0.000592)[0m   [0mSELECT * FROM "terminologies" WHERE ("terminologies"."id" = 1) [0m
-Completed in 0.01971 (50 reqs/sec) | Rendering: 0.00058 (2%) | DB: 0.00059 (3%) | 200 OK [http://localhost/terminology/show/1]
-
-
-Processing TerminologyController#show (for 127.0.0.1 at 2009-07-27 19:13:39) [GET]
-  Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo
-SGFzaHsABjoKQHVzZWR7AA==--105cbe01dd04ed0d7b386758f2b31d1ac05e1161
-  Parameters: {"action"=>"show", "id"=>"2", "controller"=>"terminology"}
-  [4;36;1mTerminology Load (0.000510)[0m   [0;1mSELECT * FROM "terminologies" WHERE ("terminologies"."id" = 2) [0m
-Completed in 0.01368 (73 reqs/sec) | Rendering: 0.00042 (3%) | DB: 0.00051 (3%) | 200 OK [http://localhost/terminology/show/2]
-
-
-Processing TerminologyController#show (for 127.0.0.1 at 2009-07-27 19:14:13) [GET]
-  Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo
-SGFzaHsABjoKQHVzZWR7AA==--105cbe01dd04ed0d7b386758f2b31d1ac05e1161
-  Parameters: {"action"=>"show", "id"=>"2", "controller"=>"terminology"}
-
-
-ArgumentError (Unknown key(s): openehr_id):
-    /vendor/rails/activesupport/lib/active_support/core_ext/hash/keys.rb:47:in `assert_valid_keys'
-    /vendor/rails/activerecord/lib/active_record/base.rb:2098:in `validate_find_options'
-    /vendor/rails/activerecord/lib/active_record/base.rb:530:in `find'
-    /app/controllers/terminology_controller.rb:3:in `show'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:1162:in `send'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:1162:in `perform_action_without_filters'
-    /vendor/rails/actionpack/lib/action_controller/filters.rb:580:in `call_filters'
-    /vendor/rails/actionpack/lib/action_controller/filters.rb:573:in `perform_action_without_benchmark'
-    /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
-    /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
-    /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
-    /vendor/rails/actionpack/lib/action_controller/rescue.rb:201:in `perform_action_without_caching'
-    /vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:13:in `perform_action'
-    /vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:33:in `cache'
-    /vendor/rails/activerecord/lib/active_record/query_cache.rb:8:in `cache'
-    /vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:12:in `perform_action'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:529:in `send'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:529:in `process_without_filters'
-    /vendor/rails/actionpack/lib/action_controller/filters.rb:569:in `process_without_session_management_support'
-    /vendor/rails/actionpack/lib/action_controller/session_management.rb:130:in `process'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:389:in `process'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:149:in `handle_request'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:107:in `dispatch'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in `synchronize'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in `dispatch'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:120:in `dispatch_cgi'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:35:in `dispatch'
-    /vendor/rails/railties/lib/webrick_server.rb:112:in `handle_dispatch'
-    /vendor/rails/railties/lib/webrick_server.rb:78:in `service'
-    /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
-    /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
-    /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
-    /usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
-    /usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
-    /usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
-    /vendor/rails/railties/lib/webrick_server.rb:62:in `dispatch'
-    /vendor/rails/railties/lib/commands/servers/webrick.rb:66
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
-    /vendor/rails/activesupport/lib/active_support/dependencies.rb:509:in `require'
-    /vendor/rails/activesupport/lib/active_support/dependencies.rb:354:in `new_constants_in'
-    /vendor/rails/activesupport/lib/active_support/dependencies.rb:509:in `require'
-    /vendor/rails/railties/lib/commands/server.rb:39
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
-    script/server:3
-
-Rendering /home/skoba/src/terminology/vendor/rails/actionpack/lib/action_controller/templates/rescues/layout.erb (internal_server_error)
-
-
-Processing TerminologyController#show (for 127.0.0.1 at 2009-07-28 09:03:28) [GET]
-  Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo
-SGFzaHsABjoKQHVzZWR7AA==--105cbe01dd04ed0d7b386758f2b31d1ac05e1161
-  Parameters: {"action"=>"show", "controller"=>"terminology"}
-  [4;35;1mSQL (0.000787)[0m   [0m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
-
-
-NoMethodError (undefined method `find_first' for #<Class:0xb75d21d8>):
-    /vendor/rails/activerecord/lib/active_record/base.rb:1667:in `method_missing'
-    /app/controllers/terminology_controller.rb:3:in `show'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:1162:in `send'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:1162:in `perform_action_without_filters'
-    /vendor/rails/actionpack/lib/action_controller/filters.rb:580:in `call_filters'
-    /vendor/rails/actionpack/lib/action_controller/filters.rb:573:in `perform_action_without_benchmark'
-    /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
-    /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
-    /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
-    /vendor/rails/actionpack/lib/action_controller/rescue.rb:201:in `perform_action_without_caching'
-    /vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:13:in `perform_action'
-    /vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:33:in `cache'
-    /vendor/rails/activerecord/lib/active_record/query_cache.rb:8:in `cache'
-    /vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:12:in `perform_action'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:529:in `send'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:529:in `process_without_filters'
-    /vendor/rails/actionpack/lib/action_controller/filters.rb:569:in `process_without_session_management_support'
-    /vendor/rails/actionpack/lib/action_controller/session_management.rb:130:in `process'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:389:in `process'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:149:in `handle_request'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:107:in `dispatch'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in `synchronize'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in `dispatch'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:120:in `dispatch_cgi'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:35:in `dispatch'
-    /vendor/rails/railties/lib/webrick_server.rb:112:in `handle_dispatch'
-    /vendor/rails/railties/lib/webrick_server.rb:78:in `service'
-    /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
-    /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
-    /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
-    /usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
-    /usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
-    /usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
-    /vendor/rails/railties/lib/webrick_server.rb:62:in `dispatch'
-    /vendor/rails/railties/lib/commands/servers/webrick.rb:66
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
-    /vendor/rails/activesupport/lib/active_support/dependencies.rb:509:in `require'
-    /vendor/rails/activesupport/lib/active_support/dependencies.rb:354:in `new_constants_in'
-    /vendor/rails/activesupport/lib/active_support/dependencies.rb:509:in `require'
-    /vendor/rails/railties/lib/commands/server.rb:39
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
-    script/server:3
-
-Rendering /home/skoba/src/terminology/vendor/rails/actionpack/lib/action_controller/templates/rescues/layout.erb (internal_server_error)
-
-
-Processing TerminologyController#show (for 127.0.0.1 at 2009-07-28 09:03:31) [GET]
-  Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo
-SGFzaHsABjoKQHVzZWR7AA==--105cbe01dd04ed0d7b386758f2b31d1ac05e1161
-  Parameters: {"name"=>"show", "action"=>"show", "lang"=>"1", "controller"=>"terminology"}
-  [4;36;1mSQL (0.000691)[0m   [0;1m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
-
-
-NoMethodError (undefined method `find_first' for #<Class:0xb7a5163c>):
-    /vendor/rails/activerecord/lib/active_record/base.rb:1667:in `method_missing'
-    /app/controllers/terminology_controller.rb:3:in `show'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:1162:in `send'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:1162:in `perform_action_without_filters'
-    /vendor/rails/actionpack/lib/action_controller/filters.rb:580:in `call_filters'
-    /vendor/rails/actionpack/lib/action_controller/filters.rb:573:in `perform_action_without_benchmark'
-    /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
-    /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
-    /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
-    /vendor/rails/actionpack/lib/action_controller/rescue.rb:201:in `perform_action_without_caching'
-    /vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:13:in `perform_action'
-    /vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:33:in `cache'
-    /vendor/rails/activerecord/lib/active_record/query_cache.rb:8:in `cache'
-    /vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:12:in `perform_action'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:529:in `send'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:529:in `process_without_filters'
-    /vendor/rails/actionpack/lib/action_controller/filters.rb:569:in `process_without_session_management_support'
-    /vendor/rails/actionpack/lib/action_controller/session_management.rb:130:in `process'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:389:in `process'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:149:in `handle_request'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:107:in `dispatch'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in `synchronize'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in `dispatch'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:120:in `dispatch_cgi'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:35:in `dispatch'
-    /vendor/rails/railties/lib/webrick_server.rb:112:in `handle_dispatch'
-    /vendor/rails/railties/lib/webrick_server.rb:78:in `service'
-    /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
-    /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
-    /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
-    /usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
-    /usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
-    /usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
-    /vendor/rails/railties/lib/webrick_server.rb:62:in `dispatch'
-    /vendor/rails/railties/lib/commands/servers/webrick.rb:66
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
-    /vendor/rails/activesupport/lib/active_support/dependencies.rb:509:in `require'
-    /vendor/rails/activesupport/lib/active_support/dependencies.rb:354:in `new_constants_in'
-    /vendor/rails/activesupport/lib/active_support/dependencies.rb:509:in `require'
-    /vendor/rails/railties/lib/commands/server.rb:39
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
-    script/server:3
-
-Rendering /home/skoba/src/terminology/vendor/rails/actionpack/lib/action_controller/templates/rescues/layout.erb (internal_server_error)
-
-
-Processing TerminologyController#show (for 127.0.0.1 at 2009-07-28 09:05:08) [GET]
-  Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo
-SGFzaHsABjoKQHVzZWR7AA==--105cbe01dd04ed0d7b386758f2b31d1ac05e1161
-  Parameters: {"name"=>"show", "action"=>"show", "lang"=>"1", "controller"=>"terminology"}
-
-
-ArgumentError (Unknown key(s): openehr_id):
-    /vendor/rails/activesupport/lib/active_support/core_ext/hash/keys.rb:47:in `assert_valid_keys'
-    /vendor/rails/activerecord/lib/active_record/base.rb:2098:in `validate_find_options'
-    /vendor/rails/activerecord/lib/active_record/base.rb:530:in `find'
-    /app/controllers/terminology_controller.rb:3:in `show'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:1162:in `send'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:1162:in `perform_action_without_filters'
-    /vendor/rails/actionpack/lib/action_controller/filters.rb:580:in `call_filters'
-    /vendor/rails/actionpack/lib/action_controller/filters.rb:573:in `perform_action_without_benchmark'
-    /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
-    /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
-    /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
-    /vendor/rails/actionpack/lib/action_controller/rescue.rb:201:in `perform_action_without_caching'
-    /vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:13:in `perform_action'
-    /vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:33:in `cache'
-    /vendor/rails/activerecord/lib/active_record/query_cache.rb:8:in `cache'
-    /vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:12:in `perform_action'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:529:in `send'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:529:in `process_without_filters'
-    /vendor/rails/actionpack/lib/action_controller/filters.rb:569:in `process_without_session_management_support'
-    /vendor/rails/actionpack/lib/action_controller/session_management.rb:130:in `process'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:389:in `process'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:149:in `handle_request'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:107:in `dispatch'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in `synchronize'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in `dispatch'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:120:in `dispatch_cgi'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:35:in `dispatch'
-    /vendor/rails/railties/lib/webrick_server.rb:112:in `handle_dispatch'
-    /vendor/rails/railties/lib/webrick_server.rb:78:in `service'
-    /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
-    /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
-    /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
-    /usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
-    /usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
-    /usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
-    /vendor/rails/railties/lib/webrick_server.rb:62:in `dispatch'
-    /vendor/rails/railties/lib/commands/servers/webrick.rb:66
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
-    /vendor/rails/activesupport/lib/active_support/dependencies.rb:509:in `require'
-    /vendor/rails/activesupport/lib/active_support/dependencies.rb:354:in `new_constants_in'
-    /vendor/rails/activesupport/lib/active_support/dependencies.rb:509:in `require'
-    /vendor/rails/railties/lib/commands/server.rb:39
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
-    script/server:3
-
-Rendering /home/skoba/src/terminology/vendor/rails/actionpack/lib/action_controller/templates/rescues/layout.erb (internal_server_error)
-
-
-Processing TerminologyController#show (for 127.0.0.1 at 2009-07-28 09:05:18) [GET]
-  Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo
-SGFzaHsABjoKQHVzZWR7AA==--105cbe01dd04ed0d7b386758f2b31d1ac05e1161
-  Parameters: {"name"=>"show", "action"=>"show", "lang"=>"3", "controller"=>"terminology"}
-
-
-ArgumentError (Unknown key(s): openehr_id):
-    /vendor/rails/activesupport/lib/active_support/core_ext/hash/keys.rb:47:in `assert_valid_keys'
-    /vendor/rails/activerecord/lib/active_record/base.rb:2098:in `validate_find_options'
-    /vendor/rails/activerecord/lib/active_record/base.rb:530:in `find'
-    /app/controllers/terminology_controller.rb:3:in `show'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:1162:in `send'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:1162:in `perform_action_without_filters'
-    /vendor/rails/actionpack/lib/action_controller/filters.rb:580:in `call_filters'
-    /vendor/rails/actionpack/lib/action_controller/filters.rb:573:in `perform_action_without_benchmark'
-    /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
-    /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
-    /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
-    /vendor/rails/actionpack/lib/action_controller/rescue.rb:201:in `perform_action_without_caching'
-    /vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:13:in `perform_action'
-    /vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:33:in `cache'
-    /vendor/rails/activerecord/lib/active_record/query_cache.rb:8:in `cache'
-    /vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:12:in `perform_action'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:529:in `send'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:529:in `process_without_filters'
-    /vendor/rails/actionpack/lib/action_controller/filters.rb:569:in `process_without_session_management_support'
-    /vendor/rails/actionpack/lib/action_controller/session_management.rb:130:in `process'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:389:in `process'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:149:in `handle_request'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:107:in `dispatch'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in `synchronize'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in `dispatch'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:120:in `dispatch_cgi'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:35:in `dispatch'
-    /vendor/rails/railties/lib/webrick_server.rb:112:in `handle_dispatch'
-    /vendor/rails/railties/lib/webrick_server.rb:78:in `service'
-    /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
-    /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
-    /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
-    /usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
-    /usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
-    /usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
-    /vendor/rails/railties/lib/webrick_server.rb:62:in `dispatch'
-    /vendor/rails/railties/lib/commands/servers/webrick.rb:66
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
-    /vendor/rails/activesupport/lib/active_support/dependencies.rb:509:in `require'
-    /vendor/rails/activesupport/lib/active_support/dependencies.rb:354:in `new_constants_in'
-    /vendor/rails/activesupport/lib/active_support/dependencies.rb:509:in `require'
-    /vendor/rails/railties/lib/commands/server.rb:39
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
-    script/server:3
-
-Rendering /home/skoba/src/terminology/vendor/rails/actionpack/lib/action_controller/templates/rescues/layout.erb (internal_server_error)
-  [4;36;1mTerminology Load (0.000637)[0m   [0;1mSELECT * FROM "terminologies" WHERE ("terminologies"."id" = 1) [0m
-  [4;35;1mTerminology Load (0.000698)[0m   [0mSELECT * FROM "terminologies" WHERE ("terminologies"."openehr_id" = 0) LIMIT 1[0m
-
-
-Processing ApplicationController#show (for 127.0.0.1 at 2009-07-28 09:11:39) [GET]
-  Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo
-SGFzaHsABjoKQHVzZWR7AA==--105cbe01dd04ed0d7b386758f2b31d1ac05e1161
-  Parameters: {"name"=>"show", "action"=>"show", "lang"=>"3", "controller"=>"terminology"}
-
-
-SyntaxError (/home/skoba/src/terminology/app/controllers/terminology_controller.rb:3: syntax error, unexpected '{', expecting ')'
-/home/skoba/src/terminology/app/controllers/terminology_controller.rb:4: syntax error, unexpected '}', expecting kEND
-                                      :openehr_id => params[:id]})
-                                                                 ^):
-    /vendor/rails/activesupport/lib/active_support/dependencies.rb:215:in `load_without_new_constant_marking'
-    /vendor/rails/activesupport/lib/active_support/dependencies.rb:215:in `load_file'
-    /vendor/rails/activesupport/lib/active_support/dependencies.rb:354:in `new_constants_in'
-    /vendor/rails/activesupport/lib/active_support/dependencies.rb:214:in `load_file'
-    /vendor/rails/activesupport/lib/active_support/dependencies.rb:95:in `require_or_load'
-    /vendor/rails/activesupport/lib/active_support/dependencies.rb:260:in `load_missing_constant'
-    /vendor/rails/activesupport/lib/active_support/dependencies.rb:467:in `const_missing'
-    /vendor/rails/activesupport/lib/active_support/dependencies.rb:479:in `const_missing'
-    /vendor/rails/activesupport/lib/active_support/inflector.rb:283:in `constantize'
-    /vendor/rails/activesupport/lib/active_support/core_ext/string/inflections.rb:143:in `constantize'
-    /vendor/rails/actionpack/lib/action_controller/routing/route_set.rb:386:in `recognize'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:148:in `handle_request'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:107:in `dispatch'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in `synchronize'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in `dispatch'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:120:in `dispatch_cgi'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:35:in `dispatch'
-    /vendor/rails/railties/lib/webrick_server.rb:112:in `handle_dispatch'
-    /vendor/rails/railties/lib/webrick_server.rb:78:in `service'
-    /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
-    /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
-    /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
-    /usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
-    /usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
-    /usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
-    /vendor/rails/railties/lib/webrick_server.rb:62:in `dispatch'
-    /vendor/rails/railties/lib/commands/servers/webrick.rb:66
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
-    /vendor/rails/activesupport/lib/active_support/dependencies.rb:509:in `require'
-    /vendor/rails/activesupport/lib/active_support/dependencies.rb:354:in `new_constants_in'
-    /vendor/rails/activesupport/lib/active_support/dependencies.rb:509:in `require'
-    /vendor/rails/railties/lib/commands/server.rb:39
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
-    script/server:3
-
-Rendering /home/skoba/src/terminology/vendor/rails/actionpack/lib/action_controller/templates/rescues/layout.erb (internal_server_error)
-
-
-Processing TerminologyController#show (for 127.0.0.1 at 2009-07-28 09:11:59) [GET]
-  Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo
-SGFzaHsABjoKQHVzZWR7AA==--105cbe01dd04ed0d7b386758f2b31d1ac05e1161
-  Parameters: {"name"=>"show", "action"=>"show", "lang"=>"3", "controller"=>"terminology"}
-  [4;35;1mTerminology Load (0.000727)[0m   [0mSELECT * FROM "terminologies" WHERE ("terminologies"."openehr_id" IS NULL) LIMIT 1[0m
-
-
-NoMethodError (You have a nil object when you didn't expect it!
-You might have expected an instance of ActiveRecord::Base.
-The error occurred while evaluating nil.to_xml):
-    /app/controllers/terminology_controller.rb:5:in `show'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:1162:in `send'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:1162:in `perform_action_without_filters'
-    /vendor/rails/actionpack/lib/action_controller/filters.rb:580:in `call_filters'
-    /vendor/rails/actionpack/lib/action_controller/filters.rb:573:in `perform_action_without_benchmark'
-    /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
-    /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
-    /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
-    /vendor/rails/actionpack/lib/action_controller/rescue.rb:201:in `perform_action_without_caching'
-    /vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:13:in `perform_action'
-    /vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:33:in `cache'
-    /vendor/rails/activerecord/lib/active_record/query_cache.rb:8:in `cache'
-    /vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:12:in `perform_action'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:529:in `send'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:529:in `process_without_filters'
-    /vendor/rails/actionpack/lib/action_controller/filters.rb:569:in `process_without_session_management_support'
-    /vendor/rails/actionpack/lib/action_controller/session_management.rb:130:in `process'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:389:in `process'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:149:in `handle_request'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:107:in `dispatch'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in `synchronize'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in `dispatch'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:120:in `dispatch_cgi'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:35:in `dispatch'
-    /vendor/rails/railties/lib/webrick_server.rb:112:in `handle_dispatch'
-    /vendor/rails/railties/lib/webrick_server.rb:78:in `service'
-    /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
-    /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
-    /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
-    /usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
-    /usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
-    /usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
-    /vendor/rails/railties/lib/webrick_server.rb:62:in `dispatch'
-    /vendor/rails/railties/lib/commands/servers/webrick.rb:66
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
-    /vendor/rails/activesupport/lib/active_support/dependencies.rb:509:in `require'
-    /vendor/rails/activesupport/lib/active_support/dependencies.rb:354:in `new_constants_in'
-    /vendor/rails/activesupport/lib/active_support/dependencies.rb:509:in `require'
-    /vendor/rails/railties/lib/commands/server.rb:39
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
-    script/server:3
-
-Rendering /home/skoba/src/terminology/vendor/rails/actionpack/lib/action_controller/templates/rescues/layout.erb (internal_server_error)
-
-
-Processing TerminologyController#show (for 127.0.0.1 at 2009-07-28 09:12:07) [GET]
-  Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo
-SGFzaHsABjoKQHVzZWR7AA==--105cbe01dd04ed0d7b386758f2b31d1ac05e1161
-  Parameters: {"name"=>"show", "action"=>"show", "lang"=>"0", "controller"=>"terminology"}
-  [4;36;1mTerminology Load (0.001041)[0m   [0;1mSELECT * FROM "terminologies" WHERE ("terminologies"."openehr_id" IS NULL) LIMIT 1[0m
-
-
-NoMethodError (You have a nil object when you didn't expect it!
-You might have expected an instance of ActiveRecord::Base.
-The error occurred while evaluating nil.to_xml):
-    /app/controllers/terminology_controller.rb:5:in `show'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:1162:in `send'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:1162:in `perform_action_without_filters'
-    /vendor/rails/actionpack/lib/action_controller/filters.rb:580:in `call_filters'
-    /vendor/rails/actionpack/lib/action_controller/filters.rb:573:in `perform_action_without_benchmark'
-    /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
-    /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
-    /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
-    /vendor/rails/actionpack/lib/action_controller/rescue.rb:201:in `perform_action_without_caching'
-    /vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:13:in `perform_action'
-    /vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:33:in `cache'
-    /vendor/rails/activerecord/lib/active_record/query_cache.rb:8:in `cache'
-    /vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:12:in `perform_action'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:529:in `send'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:529:in `process_without_filters'
-    /vendor/rails/actionpack/lib/action_controller/filters.rb:569:in `process_without_session_management_support'
-    /vendor/rails/actionpack/lib/action_controller/session_management.rb:130:in `process'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:389:in `process'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:149:in `handle_request'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:107:in `dispatch'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in `synchronize'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in `dispatch'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:120:in `dispatch_cgi'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:35:in `dispatch'
-    /vendor/rails/railties/lib/webrick_server.rb:112:in `handle_dispatch'
-    /vendor/rails/railties/lib/webrick_server.rb:78:in `service'
-    /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
-    /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
-    /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
-    /usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
-    /usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
-    /usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
-    /vendor/rails/railties/lib/webrick_server.rb:62:in `dispatch'
-    /vendor/rails/railties/lib/commands/servers/webrick.rb:66
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
-    /vendor/rails/activesupport/lib/active_support/dependencies.rb:509:in `require'
-    /vendor/rails/activesupport/lib/active_support/dependencies.rb:354:in `new_constants_in'
-    /vendor/rails/activesupport/lib/active_support/dependencies.rb:509:in `require'
-    /vendor/rails/railties/lib/commands/server.rb:39
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
-    script/server:3
-
-Rendering /home/skoba/src/terminology/vendor/rails/actionpack/lib/action_controller/templates/rescues/layout.erb (internal_server_error)
-
-
-Processing TerminologyController#show (for 127.0.0.1 at 2009-07-28 09:12:37) [GET]
-  Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo
-SGFzaHsABjoKQHVzZWR7AA==--105cbe01dd04ed0d7b386758f2b31d1ac05e1161
-  Parameters: {"name"=>"openehr", "action"=>"show", "id"=>"0", "lang"=>"en", "controller"=>"terminology"}
-  [4;35;1mTerminology Load (0.000821)[0m   [0mSELECT * FROM "terminologies" WHERE ("terminologies"."openehr_id" = '0') LIMIT 1[0m
-Completed in 0.01329 (75 reqs/sec) | Rendering: 0.00040 (3%) | DB: 0.00082 (6%) | 200 OK [http://localhost/terminology/openehr/en/0]
-  [4;36;1mTerminology Load (0.000714)[0m   [0;1mSELECT * FROM "terminologies" WHERE ("terminologies"."openehr_id" = 0) LIMIT 1[0m
-  [4;35;1mTerminology Load (0.000741)[0m   [0mSELECT * FROM "terminologies" WHERE ("terminologies"."openehr_id" = 0) LIMIT 1[0m
-  [4;36;1mTerminology Load (0.000734)[0m   [0;1mSELECT * FROM "terminologies" WHERE ("terminologies"."openehr_id" = 0) LIMIT 1[0m
-  [4;35;1mTerminology Load (0.000717)[0m   [0mSELECT * FROM "terminologies" WHERE ("terminologies"."openehr_id" = 0) LIMIT 1[0m
-  [4;36;1mTerminology Load (0.000708)[0m   [0;1mSELECT * FROM "terminologies" WHERE ("terminologies"."openehr_id" = 0) LIMIT 1[0m
-  [4;35;1mTerminology Load (0.000709)[0m   [0mSELECT * FROM "terminologies" WHERE ("terminologies"."openehr_id" = 0) LIMIT 1[0m
-
-
-Processing TerminologyController#show (for 127.0.0.1 at 2009-07-28 09:30:50) [GET]
-  Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo
-SGFzaHsABjoKQHVzZWR7AA==--105cbe01dd04ed0d7b386758f2b31d1ac05e1161
-  Parameters: {"name"=>"openehr", "action"=>"show", "id"=>"0", "lang"=>"en", "controller"=>"terminology"}
-  [4;36;1mTerminology Load (0.001236)[0m   [0;1mSELECT * FROM "terminologies" WHERE ("terminologies"."openehr_id" = 0) LIMIT 1[0m
-
-
-NoMethodError (undefined method `xml' for #<String:0xb795236c>):
-    /app/controllers/terminology_controller.rb:7:in `show'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:1162:in `send'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:1162:in `perform_action_without_filters'
-    /vendor/rails/actionpack/lib/action_controller/filters.rb:580:in `call_filters'
-    /vendor/rails/actionpack/lib/action_controller/filters.rb:573:in `perform_action_without_benchmark'
-    /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
-    /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
-    /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
-    /vendor/rails/actionpack/lib/action_controller/rescue.rb:201:in `perform_action_without_caching'
-    /vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:13:in `perform_action'
-    /vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:33:in `cache'
-    /vendor/rails/activerecord/lib/active_record/query_cache.rb:8:in `cache'
-    /vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:12:in `perform_action'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:529:in `send'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:529:in `process_without_filters'
-    /vendor/rails/actionpack/lib/action_controller/filters.rb:569:in `process_without_session_management_support'
-    /vendor/rails/actionpack/lib/action_controller/session_management.rb:130:in `process'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:389:in `process'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:149:in `handle_request'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:107:in `dispatch'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in `synchronize'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in `dispatch'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:120:in `dispatch_cgi'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:35:in `dispatch'
-    /vendor/rails/railties/lib/webrick_server.rb:112:in `handle_dispatch'
-    /vendor/rails/railties/lib/webrick_server.rb:78:in `service'
-    /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
-    /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
-    /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
-    /usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
-    /usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
-    /usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
-    /vendor/rails/railties/lib/webrick_server.rb:62:in `dispatch'
-    /vendor/rails/railties/lib/commands/servers/webrick.rb:66
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
-    /vendor/rails/activesupport/lib/active_support/dependencies.rb:509:in `require'
-    /vendor/rails/activesupport/lib/active_support/dependencies.rb:354:in `new_constants_in'
-    /vendor/rails/activesupport/lib/active_support/dependencies.rb:509:in `require'
-    /vendor/rails/railties/lib/commands/server.rb:39
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
-    script/server:3
-
-Rendering /home/skoba/src/terminology/vendor/rails/actionpack/lib/action_controller/templates/rescues/layout.erb (internal_server_error)
-
-
-Processing TerminologyController#show (for 127.0.0.1 at 2009-07-28 09:31:45) [GET]
-  Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo
-SGFzaHsABjoKQHVzZWR7AA==--105cbe01dd04ed0d7b386758f2b31d1ac05e1161
-  Parameters: {"name"=>"openehr", "action"=>"show", "id"=>"0", "lang"=>"en", "controller"=>"terminology"}
-  [4;35;1mTerminology Load (0.000848)[0m   [0mSELECT * FROM "terminologies" WHERE ("terminologies"."openehr_id" = 0) LIMIT 1[0m
-
-
-NoMethodError (undefined method `xml' for #<Terminology:0xb773bdbc>):
-    /vendor/rails/activerecord/lib/active_record/attribute_methods.rb:256:in `method_missing'
-    /app/controllers/terminology_controller.rb:5:in `show'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:1162:in `send'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:1162:in `perform_action_without_filters'
-    /vendor/rails/actionpack/lib/action_controller/filters.rb:580:in `call_filters'
-    /vendor/rails/actionpack/lib/action_controller/filters.rb:573:in `perform_action_without_benchmark'
-    /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
-    /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
-    /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
-    /vendor/rails/actionpack/lib/action_controller/rescue.rb:201:in `perform_action_without_caching'
-    /vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:13:in `perform_action'
-    /vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:33:in `cache'
-    /vendor/rails/activerecord/lib/active_record/query_cache.rb:8:in `cache'
-    /vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:12:in `perform_action'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:529:in `send'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:529:in `process_without_filters'
-    /vendor/rails/actionpack/lib/action_controller/filters.rb:569:in `process_without_session_management_support'
-    /vendor/rails/actionpack/lib/action_controller/session_management.rb:130:in `process'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:389:in `process'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:149:in `handle_request'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:107:in `dispatch'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in `synchronize'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in `dispatch'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:120:in `dispatch_cgi'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:35:in `dispatch'
-    /vendor/rails/railties/lib/webrick_server.rb:112:in `handle_dispatch'
-    /vendor/rails/railties/lib/webrick_server.rb:78:in `service'
-    /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
-    /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
-    /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
-    /usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
-    /usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
-    /usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
-    /vendor/rails/railties/lib/webrick_server.rb:62:in `dispatch'
-    /vendor/rails/railties/lib/commands/servers/webrick.rb:66
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
-    /vendor/rails/activesupport/lib/active_support/dependencies.rb:509:in `require'
-    /vendor/rails/activesupport/lib/active_support/dependencies.rb:354:in `new_constants_in'
-    /vendor/rails/activesupport/lib/active_support/dependencies.rb:509:in `require'
-    /vendor/rails/railties/lib/commands/server.rb:39
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
-    script/server:3
-
-Rendering /home/skoba/src/terminology/vendor/rails/actionpack/lib/action_controller/templates/rescues/layout.erb (internal_server_error)
-
-
-Processing TerminologyController#show (for 127.0.0.1 at 2009-07-28 09:31:57) [GET]
-  Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo
-SGFzaHsABjoKQHVzZWR7AA==--105cbe01dd04ed0d7b386758f2b31d1ac05e1161
-  Parameters: {"name"=>"openehr", "action"=>"show", "id"=>"0", "lang"=>"en", "controller"=>"terminology"}
-  [4;36;1mTerminology Load (0.000834)[0m   [0;1mSELECT * FROM "terminologies" WHERE ("terminologies"."openehr_id" = 0) LIMIT 1[0m
-Completed in 0.01360 (73 reqs/sec) | Rendering: 0.00043 (3%) | DB: 0.00083 (6%) | 200 OK [http://localhost/terminology/openehr/en/0]
-
-
-Processing ApplicationController#show (for 127.0.0.1 at 2009-07-28 09:32:59) [GET]
-  Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo
-SGFzaHsABjoKQHVzZWR7AA==--105cbe01dd04ed0d7b386758f2b31d1ac05e1161
-  Parameters: {"name"=>"openehr", "action"=>"show", "id"=>"0", "lang"=>"en", "controller"=>"terminology"}
-
-
-SyntaxError (/home/skoba/src/terminology/app/controllers/terminology_controller.rb:4: syntax error, unexpected ']', expecting '}'
-                                      :openehr_id => params[:id]]})
-                                                                 ^):
-    /vendor/rails/activesupport/lib/active_support/dependencies.rb:215:in `load_without_new_constant_marking'
-    /vendor/rails/activesupport/lib/active_support/dependencies.rb:215:in `load_file'
-    /vendor/rails/activesupport/lib/active_support/dependencies.rb:354:in `new_constants_in'
-    /vendor/rails/activesupport/lib/active_support/dependencies.rb:214:in `load_file'
-    /vendor/rails/activesupport/lib/active_support/dependencies.rb:95:in `require_or_load'
-    /vendor/rails/activesupport/lib/active_support/dependencies.rb:260:in `load_missing_constant'
-    /vendor/rails/activesupport/lib/active_support/dependencies.rb:467:in `const_missing'
-    /vendor/rails/activesupport/lib/active_support/dependencies.rb:479:in `const_missing'
-    /vendor/rails/activesupport/lib/active_support/inflector.rb:283:in `constantize'
-    /vendor/rails/activesupport/lib/active_support/core_ext/string/inflections.rb:143:in `constantize'
-    /vendor/rails/actionpack/lib/action_controller/routing/route_set.rb:386:in `recognize'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:148:in `handle_request'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:107:in `dispatch'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in `synchronize'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in `dispatch'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:120:in `dispatch_cgi'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:35:in `dispatch'
-    /vendor/rails/railties/lib/webrick_server.rb:112:in `handle_dispatch'
-    /vendor/rails/railties/lib/webrick_server.rb:78:in `service'
-    /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
-    /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
-    /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
-    /usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
-    /usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
-    /usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
-    /vendor/rails/railties/lib/webrick_server.rb:62:in `dispatch'
-    /vendor/rails/railties/lib/commands/servers/webrick.rb:66
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
-    /vendor/rails/activesupport/lib/active_support/dependencies.rb:509:in `require'
-    /vendor/rails/activesupport/lib/active_support/dependencies.rb:354:in `new_constants_in'
-    /vendor/rails/activesupport/lib/active_support/dependencies.rb:509:in `require'
-    /vendor/rails/railties/lib/commands/server.rb:39
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
-    script/server:3
-
-Rendering /home/skoba/src/terminology/vendor/rails/actionpack/lib/action_controller/templates/rescues/layout.erb (internal_server_error)
-
-
-Processing TerminologyController#show (for 127.0.0.1 at 2009-07-28 09:33:14) [GET]
-  Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo
-SGFzaHsABjoKQHVzZWR7AA==--105cbe01dd04ed0d7b386758f2b31d1ac05e1161
-  Parameters: {"name"=>"openehr", "action"=>"show", "id"=>"0", "lang"=>"en", "controller"=>"terminology"}
-  [4;35;1mTerminology Load (0.001139)[0m   [0mSELECT * FROM "terminologies" WHERE ("terminologies"."openehr_id" = '0') LIMIT 1[0m
-Completed in 0.01802 (55 reqs/sec) | Rendering: 0.00058 (3%) | DB: 0.00114 (6%) | 200 OK [http://localhost/terminology/openehr/en/0]
-
-
-Processing TerminologyController#show (for 127.0.0.1 at 2009-07-28 09:36:37) [GET]
-  Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo
-SGFzaHsABjoKQHVzZWR7AA==--105cbe01dd04ed0d7b386758f2b31d1ac05e1161
-  Parameters: {"name"=>"openehr", "action"=>"show", "id"=>"3", "lang"=>"en", "controller"=>"terminology"}
-  [4;36;1mTerminology Load (0.000834)[0m   [0;1mSELECT * FROM "terminologies" WHERE ("terminologies"."openehr_id" = '3') LIMIT 1[0m
-Completed in 0.01337 (74 reqs/sec) | Rendering: 0.00041 (3%) | DB: 0.00083 (6%) | 200 OK [http://localhost/terminology/openehr/en/3]
-
-
-Processing TerminologyController#show (for 127.0.0.1 at 2009-07-28 09:53:42) [GET]
-  Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo
-SGFzaHsABjoKQHVzZWR7AA==--105cbe01dd04ed0d7b386758f2b31d1ac05e1161
-  Parameters: {"name"=>"openehr", "action"=>"show", "id"=>"5", "lang"=>"en", "controller"=>"terminology"}
-  [4;35;1mTerminology Load (0.000765)[0m   [0mSELECT * FROM "terminologies" WHERE ("terminologies"."openehr_id" = '5') LIMIT 1[0m
-
-
-NoMethodError (You have a nil object when you didn't expect it!
-You might have expected an instance of ActiveRecord::Base.
-The error occurred while evaluating nil.to_xml):
-    /app/controllers/terminology_controller.rb:5:in `show'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:1162:in `send'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:1162:in `perform_action_without_filters'
-    /vendor/rails/actionpack/lib/action_controller/filters.rb:580:in `call_filters'
-    /vendor/rails/actionpack/lib/action_controller/filters.rb:573:in `perform_action_without_benchmark'
-    /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
-    /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
-    /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
-    /vendor/rails/actionpack/lib/action_controller/rescue.rb:201:in `perform_action_without_caching'
-    /vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:13:in `perform_action'
-    /vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:33:in `cache'
-    /vendor/rails/activerecord/lib/active_record/query_cache.rb:8:in `cache'
-    /vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:12:in `perform_action'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:529:in `send'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:529:in `process_without_filters'
-    /vendor/rails/actionpack/lib/action_controller/filters.rb:569:in `process_without_session_management_support'
-    /vendor/rails/actionpack/lib/action_controller/session_management.rb:130:in `process'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:389:in `process'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:149:in `handle_request'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:107:in `dispatch'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in `synchronize'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in `dispatch'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:120:in `dispatch_cgi'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:35:in `dispatch'
-    /vendor/rails/railties/lib/webrick_server.rb:112:in `handle_dispatch'
-    /vendor/rails/railties/lib/webrick_server.rb:78:in `service'
-    /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
-    /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
-    /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
-    /usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
-    /usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
-    /usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
-    /vendor/rails/railties/lib/webrick_server.rb:62:in `dispatch'
-    /vendor/rails/railties/lib/commands/servers/webrick.rb:66
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
-    /vendor/rails/activesupport/lib/active_support/dependencies.rb:509:in `require'
-    /vendor/rails/activesupport/lib/active_support/dependencies.rb:354:in `new_constants_in'
-    /vendor/rails/activesupport/lib/active_support/dependencies.rb:509:in `require'
-    /vendor/rails/railties/lib/commands/server.rb:39
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
-    script/server:3
-
-Rendering /home/skoba/src/terminology/vendor/rails/actionpack/lib/action_controller/templates/rescues/layout.erb (internal_server_error)
-
-
-Processing TerminologyController#show (for 127.0.0.1 at 2009-07-28 09:53:52) [GET]
-  Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo
-SGFzaHsABjoKQHVzZWR7AA==--105cbe01dd04ed0d7b386758f2b31d1ac05e1161
-  Parameters: {"name"=>"openehr", "action"=>"show", "id"=>"6", "lang"=>"en", "controller"=>"terminology"}
-  [4;36;1mTerminology Load (0.001141)[0m   [0;1mSELECT * FROM "terminologies" WHERE ("terminologies"."openehr_id" = '6') LIMIT 1[0m
-Completed in 0.01790 (55 reqs/sec) | Rendering: 0.00057 (3%) | DB: 0.00114 (6%) | 200 OK [http://localhost/terminology/openehr/en/6]
-
-
-Processing TerminologyController#show (for 127.0.0.1 at 2009-07-28 22:06:48) [GET]
-  Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo
-SGFzaHsABjoKQHVzZWR7AA==--105cbe01dd04ed0d7b386758f2b31d1ac05e1161
-  Parameters: {"action"=>"show", "controller"=>"terminology"}
-  [4;35;1mTerminology Load (0.000712)[0m   [0mSELECT * FROM "terminologies" WHERE ("terminologies"."openehr_id" IS NULL) LIMIT 1[0m
-
-
-NoMethodError (You have a nil object when you didn't expect it!
-You might have expected an instance of ActiveRecord::Base.
-The error occurred while evaluating nil.to_xml):
-    /app/controllers/terminology_controller.rb:5:in `show'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:1162:in `send'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:1162:in `perform_action_without_filters'
-    /vendor/rails/actionpack/lib/action_controller/filters.rb:580:in `call_filters'
-    /vendor/rails/actionpack/lib/action_controller/filters.rb:573:in `perform_action_without_benchmark'
-    /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
-    /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
-    /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
-    /vendor/rails/actionpack/lib/action_controller/rescue.rb:201:in `perform_action_without_caching'
-    /vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:13:in `perform_action'
-    /vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:33:in `cache'
-    /vendor/rails/activerecord/lib/active_record/query_cache.rb:8:in `cache'
-    /vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:12:in `perform_action'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:529:in `send'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:529:in `process_without_filters'
-    /vendor/rails/actionpack/lib/action_controller/filters.rb:569:in `process_without_session_management_support'
-    /vendor/rails/actionpack/lib/action_controller/session_management.rb:130:in `process'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:389:in `process'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:149:in `handle_request'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:107:in `dispatch'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in `synchronize'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in `dispatch'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:120:in `dispatch_cgi'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:35:in `dispatch'
-    /vendor/rails/railties/lib/webrick_server.rb:112:in `handle_dispatch'
-    /vendor/rails/railties/lib/webrick_server.rb:78:in `service'
-    /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
-    /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
-    /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
-    /usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
-    /usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
-    /usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
-    /vendor/rails/railties/lib/webrick_server.rb:62:in `dispatch'
-    /vendor/rails/railties/lib/commands/servers/webrick.rb:66
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
-    /vendor/rails/activesupport/lib/active_support/dependencies.rb:509:in `require'
-    /vendor/rails/activesupport/lib/active_support/dependencies.rb:354:in `new_constants_in'
-    /vendor/rails/activesupport/lib/active_support/dependencies.rb:509:in `require'
-    /vendor/rails/railties/lib/commands/server.rb:39
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
-    script/server:3
-
-Rendering /home/skoba/src/terminology/vendor/rails/actionpack/lib/action_controller/templates/rescues/layout.erb (internal_server_error)
-
-
-Processing TerminologyController#show (for 127.0.0.1 at 2009-07-28 23:12:45) [GET]
-  Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo
-SGFzaHsABjoKQHVzZWR7AA==--105cbe01dd04ed0d7b386758f2b31d1ac05e1161
-  Parameters: {"name"=>"openehr", "action"=>"show", "id"=>"6", "lang"=>"en", "controller"=>"terminology"}
-  [4;36;1mTerminology Load (0.000865)[0m   [0;1mSELECT * FROM "terminologies" WHERE ("terminologies"."openehr_id" = '6') LIMIT 1[0m
-Completed in 0.01675 (59 reqs/sec) | Rendering: 0.00073 (4%) | DB: 0.00086 (5%) | 200 OK [http://localhost/terminology/openehr/en/6]
-
-
-Processing TerminologyController#show (for 127.0.0.1 at 2009-07-29 00:41:05) [GET]
-  Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo
-SGFzaHsABjoKQHVzZWR7AA==--105cbe01dd04ed0d7b386758f2b31d1ac05e1161
-  Parameters: {"name"=>"openehr", "action"=>"show", "id"=>"6", "lang"=>"en", "controller"=>"terminology"}
-  [4;35;1mTerminology Load (0.000975)[0m   [0mSELECT * FROM "terminologies" WHERE ("terminologies"."openehr_id" = '6') LIMIT 1[0m
-Completed in 0.01403 (71 reqs/sec) | Rendering: 0.00043 (3%) | DB: 0.00098 (6%) | 200 OK [http://localhost/terminology/openehr/en/6]
-
-
-Processing TerminologyController#show (for 127.0.0.1 at 2009-07-29 13:26:06) [GET]
-  Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo
-SGFzaHsABjoKQHVzZWR7AA==--105cbe01dd04ed0d7b386758f2b31d1ac05e1161
-  Parameters: {"name"=>"openehr", "action"=>"show", "id"=>"0", "lang"=>"en", "controller"=>"terminology"}
-  [4;36;1mTerminology Load (0.003787)[0m   [0;1mSELECT * FROM "terminologies" WHERE ("terminologies"."openehr_id" = '0') LIMIT 1[0m
-
-
-NameError (undefined local variable or method `terminology' for #<TerminologyController:0xb753e49c>):
-    /app/controllers/terminology_controller.rb:5:in `show'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:1162:in `send'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:1162:in `perform_action_without_filters'
-    /vendor/rails/actionpack/lib/action_controller/filters.rb:580:in `call_filters'
-    /vendor/rails/actionpack/lib/action_controller/filters.rb:573:in `perform_action_without_benchmark'
-    /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
-    /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
-    /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
-    /vendor/rails/actionpack/lib/action_controller/rescue.rb:201:in `perform_action_without_caching'
-    /vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:13:in `perform_action'
-    /vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:33:in `cache'
-    /vendor/rails/activerecord/lib/active_record/query_cache.rb:8:in `cache'
-    /vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:12:in `perform_action'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:529:in `send'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:529:in `process_without_filters'
-    /vendor/rails/actionpack/lib/action_controller/filters.rb:569:in `process_without_session_management_support'
-    /vendor/rails/actionpack/lib/action_controller/session_management.rb:130:in `process'
-    /vendor/rails/actionpack/lib/action_controller/base.rb:389:in `process'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:149:in `handle_request'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:107:in `dispatch'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in `synchronize'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in `dispatch'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:120:in `dispatch_cgi'
-    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:35:in `dispatch'
-    /vendor/rails/railties/lib/webrick_server.rb:112:in `handle_dispatch'
-    /vendor/rails/railties/lib/webrick_server.rb:78:in `service'
-    /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
-    /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
-    /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
-    /usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
-    /usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
-    /usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
-    /usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
-    /vendor/rails/railties/lib/webrick_server.rb:62:in `dispatch'
-    /vendor/rails/railties/lib/commands/servers/webrick.rb:66
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
-    /vendor/rails/activesupport/lib/active_support/dependencies.rb:509:in `require'
-    /vendor/rails/activesupport/lib/active_support/dependencies.rb:354:in `new_constants_in'
-    /vendor/rails/activesupport/lib/active_support/dependencies.rb:509:in `require'
-    /vendor/rails/railties/lib/commands/server.rb:39
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
-    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
-    script/server:3
-
-Rendering /home/skoba/src/terminology/vendor/rails/actionpack/lib/action_controller/templates/rescues/layout.erb (internal_server_error)
-
-
-Processing TerminologyController#show (for 127.0.0.1 at 2009-07-29 13:26:30) [GET]
-  Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo
-SGFzaHsABjoKQHVzZWR7AA==--105cbe01dd04ed0d7b386758f2b31d1ac05e1161
-  Parameters: {"name"=>"openehr", "action"=>"show", "id"=>"0", "lang"=>"en", "controller"=>"terminology"}
-  [4;35;1mTerminology Load (0.001151)[0m   [0mSELECT * FROM "terminologies" WHERE ("terminologies"."openehr_id" = '0') LIMIT 1[0m
-Completed in 0.01779 (56 reqs/sec) | Rendering: 0.00060 (3%) | DB: 0.00115 (6%) | 200 OK [http://localhost/terminology/openehr/en/0]
-
-
-Processing TerminologyController#show (for 127.0.0.1 at 2009-07-29 13:26:34) [GET]
-  Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo
-SGFzaHsABjoKQHVzZWR7AA==--105cbe01dd04ed0d7b386758f2b31d1ac05e1161
-  Parameters: {"name"=>"openehr", "action"=>"show", "id"=>"1", "lang"=>"en", "controller"=>"terminology"}
-  [4;36;1mTerminology Load (0.001542)[0m   [0;1mSELECT * FROM "terminologies" WHERE ("terminologies"."openehr_id" = '1') LIMIT 1[0m
-Completed in 0.00958 (104 reqs/sec) | Rendering: 0.00047 (4%) | DB: 0.00154 (16%) | 404 Not Found [http://localhost/terminology/openehr/en/1]
-
-
-Processing TerminologyController#show (for 127.0.0.1 at 2009-07-29 13:30:52) [GET]
-  Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo
-SGFzaHsABjoKQHVzZWR7AA==--105cbe01dd04ed0d7b386758f2b31d1ac05e1161
-  Parameters: {"name"=>"openehr", "action"=>"show", "id"=>"1", "lang"=>"en", "controller"=>"terminology"}
-  [4;35;1mTerminology Load (0.001077)[0m   [0mSELECT * FROM "terminologies" WHERE ("terminologies"."openehr_id" = '1') LIMIT 1[0m
-Completed in 0.01265 (79 reqs/sec) | Rendering: 0.00056 (4%) | DB: 0.00108 (8%) | 404 Not Found [http://localhost/terminology/openehr/en/1]
-  [4;36;1mSQL (0.000565)[0m   [0;1m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
-  [4;35;1mSQL (0.000316)[0m   [0mselect sqlite_version(*)[0m
-  [4;36;1mSQL (0.006667)[0m   [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
-  [4;35;1mSQL (0.002288)[0m   [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
-  [4;36;1mSQL (0.000589)[0m   [0;1m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
-  [4;35;1mSQL (0.000257)[0m   [0mSELECT version FROM schema_migrations[0m
-Migrating to CreateTerminologies (20090725052538)
-  [4;36;1mSQL (0.000181)[0m   [0;1mSELECT version FROM schema_migrations[0m
-  [4;35;1mSQL (0.003100)[0m   [0mCREATE TABLE "terminologies" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar(255) DEFAULT NULL NULL, "name" varchar(255) DEFAULT NULL NULL, "lang" varchar(255) DEFAULT NULL NULL, "group" text DEFAULT NULL NULL, "rubric" varchar(255) DEFAULT NULL NULL, "description" text DEFAULT NULL NULL, "mappings" varchar(255) DEFAULT NULL NULL) [0m
-  [4;36;1mSQL (0.001752)[0m   [0;1mINSERT INTO schema_migrations (version) VALUES ('20090725052538')[0m
-  [4;35;1mSQL (0.000466)[0m   [0mSELECT version FROM schema_migrations[0m
-  [4;36;1mSQL (0.000426)[0m   [0;1m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
-  [4;35;1mSQL (0.000173)[0m   [0mPRAGMA index_list("terminologies")[0m
-
-
-Processing TerminologyController#show (for 127.0.0.1 at 2009-07-30 09:06:32) [GET]
-  Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo
-SGFzaHsABjoKQHVzZWR7AA==--105cbe01dd04ed0d7b386758f2b31d1ac05e1161
-  Parameters: {"name"=>"openehr", "code"=>"2", "action"=>"show", "lang"=>"en", "controller"=>"terminology"}
-  [4;36;1mTerminology Load (0.001633)[0m   [0;1mSELECT * FROM "terminologies" WHERE ("terminologies"."lang" = 'en' AND "terminologies"."code" = '2' AND "terminologies"."name" = 'openehr') LIMIT 1[0m
-Completed in 0.01646 (60 reqs/sec) | Rendering: 0.00051 (3%) | DB: 0.00163 (9%) | 404 Not Found [http://localhost/terminology/openehr/en/2]
-
-
-Processing TerminologyController#show (for 127.0.0.1 at 2009-07-30 09:06:35) [GET]
-  Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo
-SGFzaHsABjoKQHVzZWR7AA==--105cbe01dd04ed0d7b386758f2b31d1ac05e1161
-  Parameters: {"name"=>"openehr", "code"=>"3", "action"=>"show", "lang"=>"en", "controller"=>"terminology"}
-  [4;35;1mTerminology Load (0.001376)[0m   [0mSELECT * FROM "terminologies" WHERE ("terminologies"."lang" = 'en' AND "terminologies"."code" = '3' AND "terminologies"."name" = 'openehr') LIMIT 1[0m
-Completed in 0.01552 (64 reqs/sec) | Rendering: 0.00046 (2%) | DB: 0.00138 (8%) | 200 OK [http://localhost/terminology/openehr/en/3]
-
-
-Processing TerminologyController#show (for 127.0.0.1 at 2009-07-30 09:06:51) [GET]
-  Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo
-SGFzaHsABjoKQHVzZWR7AA==--105cbe01dd04ed0d7b386758f2b31d1ac05e1161
-  Parameters: {"name"=>"openehr", "code"=>"3", "action"=>"show", "lang"=>"ja", "controller"=>"terminology"}
-  [4;36;1mTerminology Load (0.001251)[0m   [0;1mSELECT * FROM "terminologies" WHERE ("terminologies"."lang" = 'ja' AND "terminologies"."code" = '3' AND "terminologies"."name" = 'openehr') LIMIT 1[0m
-Completed in 0.01486 (67 reqs/sec) | Rendering: 0.00061 (4%) | DB: 0.00125 (8%) | 404 Not Found [http://localhost/terminology/openehr/ja/3]
-  [4;36;1mSQL (0.8ms)[0m   [0;1m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
-  [4;35;1mSQL (0.4ms)[0m   [0mSELECT version FROM schema_migrations[0m
-  [4;36;1mSQL (0.3ms)[0m   [0;1mselect sqlite_version(*)[0m
-  [4;35;1mSQL (0.6ms)[0m   [0m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
-  [4;36;1mSQL (37.7ms)[0m   [0;1mCREATE TABLE "terminologies" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar(255), "name" varchar(255), "lang" varchar(255), "group" text, "rubric" varchar(255), "description" text, "mappings" varchar(255)) [0m
-  [4;35;1mSQL (0.2ms)[0m   [0m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
-  [4;36;1mSQL (2.2ms)[0m   [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
-  [4;35;1mSQL (2.9ms)[0m   [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
-  [4;36;1mSQL (0.2ms)[0m   [0;1m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
-  [4;35;1mSQL (0.1ms)[0m   [0mSELECT version FROM "schema_migrations"[0m
-  [4;36;1mSQL (2.3ms)[0m   [0;1mINSERT INTO "schema_migrations" (version) VALUES ('20090725052538')[0m
-  [4;36;1mSQL (1.7ms)[0m   [0;1m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
-  [4;35;1mSQL (0.3ms)[0m   [0mSELECT version FROM schema_migrations[0m
-  [4;36;1mSQL (0.3ms)[0m   [0;1mselect sqlite_version(*)[0m
-  [4;35;1mSQL (0.6ms)[0m   [0m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
-  [4;36;1mSQL (60.8ms)[0m   [0;1mCREATE TABLE "terminologies" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar(255), "name" varchar(255), "lang" varchar(255), "group" text, "rubric" varchar(255), "description" text, "mappings" varchar(255)) [0m
-  [4;35;1mSQL (0.4ms)[0m   [0m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
-  [4;36;1mSQL (2.6ms)[0m   [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
-  [4;35;1mSQL (2.7ms)[0m   [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
-  [4;36;1mSQL (0.3ms)[0m   [0;1m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
-  [4;35;1mSQL (0.1ms)[0m   [0mSELECT version FROM "schema_migrations"[0m
-  [4;36;1mSQL (2.4ms)[0m   [0;1mINSERT INTO "schema_migrations" (version) VALUES ('20090725052538')[0m
-  [4;36;1mSQL (0.9ms)[0m   [0;1m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
-  [4;35;1mSQL (0.4ms)[0m   [0mSELECT version FROM schema_migrations[0m
-  [4;36;1mSQL (0.3ms)[0m   [0;1mselect sqlite_version(*)[0m
-  [4;35;1mSQL (0.7ms)[0m   [0m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
-  [4;36;1mSQL (3.6ms)[0m   [0;1mCREATE TABLE "terminologies" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar(255), "name" varchar(255), "lang" varchar(255), "group" text, "rubric" varchar(255), "description" text, "mappings" varchar(255)) [0m
-  [4;35;1mSQL (0.3ms)[0m   [0m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
-  [4;36;1mSQL (6.9ms)[0m   [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
-  [4;35;1mSQL (2.7ms)[0m   [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
-  [4;36;1mSQL (0.4ms)[0m   [0;1m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
-  [4;35;1mSQL (0.2ms)[0m   [0mSELECT version FROM "schema_migrations"[0m
-  [4;36;1mSQL (2.1ms)[0m   [0;1mINSERT INTO "schema_migrations" (version) VALUES ('20090725052538')[0m
-  [4;36;1mSQL (1.1ms)[0m   [0;1m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
-  [4;35;1mSQL (0.5ms)[0m   [0mSELECT version FROM schema_migrations[0m
-  [4;36;1mSQL (0.4ms)[0m   [0;1mselect sqlite_version(*)[0m
-  [4;35;1mSQL (0.4ms)[0m   [0m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
-  [4;36;1mSQL (6.2ms)[0m   [0;1mCREATE TABLE "terminologies" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar(255), "name" varchar(255), "lang" varchar(255), "group" text, "rubric" varchar(255), "description" text, "mappings" varchar(255)) [0m
-  [4;35;1mSQL (0.4ms)[0m   [0m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
-  [4;36;1mSQL (2.6ms)[0m   [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
-  [4;35;1mSQL (32.7ms)[0m   [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
-  [4;36;1mSQL (0.4ms)[0m   [0;1m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
-  [4;35;1mSQL (0.2ms)[0m   [0mSELECT version FROM "schema_migrations"[0m
-  [4;36;1mSQL (2.4ms)[0m   [0;1mINSERT INTO "schema_migrations" (version) VALUES ('20090725052538')[0m
-  [4;36;1mSQL (1.8ms)[0m   [0;1m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
-  [4;35;1mSQL (0.3ms)[0m   [0mSELECT version FROM schema_migrations[0m
-  [4;36;1mSQL (0.4ms)[0m   [0;1mselect sqlite_version(*)[0m
-  [4;35;1mSQL (0.4ms)[0m   [0m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
-  [4;36;1mSQL (163.7ms)[0m   [0;1mCREATE TABLE "terminologies" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar(255), "name" varchar(255), "lang" varchar(255), "group" text, "rubric" varchar(255), "description" text, "mappings" varchar(255)) [0m
-  [4;35;1mSQL (0.5ms)[0m   [0m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
-  [4;36;1mSQL (2.8ms)[0m   [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
-  [4;35;1mSQL (2.8ms)[0m   [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
-  [4;36;1mSQL (0.4ms)[0m   [0;1m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
-  [4;35;1mSQL (0.2ms)[0m   [0mSELECT version FROM "schema_migrations"[0m
-  [4;36;1mSQL (2.3ms)[0m   [0;1mINSERT INTO "schema_migrations" (version) VALUES ('20090725052538')[0m
-  [4;36;1mSQL (1.0ms)[0m   [0;1m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
-  [4;35;1mSQL (0.3ms)[0m   [0mSELECT version FROM schema_migrations[0m
-  [4;36;1mSQL (0.4ms)[0m   [0;1mselect sqlite_version(*)[0m
-  [4;35;1mSQL (0.4ms)[0m   [0m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
-  [4;36;1mSQL (3.8ms)[0m   [0;1mCREATE TABLE "terminologies" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar(255), "name" varchar(255), "lang" varchar(255), "group" text, "rubric" varchar(255), "description" text, "mappings" varchar(255)) [0m
-  [4;35;1mSQL (0.4ms)[0m   [0m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
-  [4;36;1mSQL (2.9ms)[0m   [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
-  [4;35;1mSQL (7.4ms)[0m   [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
-  [4;36;1mSQL (0.4ms)[0m   [0;1m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
-  [4;35;1mSQL (0.2ms)[0m   [0mSELECT version FROM "schema_migrations"[0m
-  [4;36;1mSQL (2.7ms)[0m   [0;1mINSERT INTO "schema_migrations" (version) VALUES ('20090725052538')[0m
-  [4;36;1mSQL (1.0ms)[0m   [0;1m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
-  [4;35;1mSQL (0.2ms)[0m   [0mSELECT version FROM schema_migrations[0m
-  [4;36;1mSQL (0.3ms)[0m   [0;1mselect sqlite_version(*)[0m
-  [4;35;1mSQL (0.6ms)[0m   [0m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
-  [4;36;1mSQL (9.1ms)[0m   [0;1mCREATE TABLE "terminologies" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar(255), "name" varchar(255), "lang" varchar(255), "group" text, "rubric" varchar(255), "description" text, "mappings" varchar(255)) [0m
-  [4;35;1mSQL (0.3ms)[0m   [0m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
-  [4;36;1mSQL (3.5ms)[0m   [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
-  [4;35;1mSQL (2.6ms)[0m   [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
-  [4;36;1mSQL (0.5ms)[0m   [0;1m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
-  [4;35;1mSQL (0.2ms)[0m   [0mSELECT version FROM "schema_migrations"[0m
-  [4;36;1mSQL (2.4ms)[0m   [0;1mINSERT INTO "schema_migrations" (version) VALUES ('20090725052538')[0m
-  [4;36;1mSQL (1.0ms)[0m   [0;1m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
-  [4;35;1mSQL (0.3ms)[0m   [0mSELECT version FROM schema_migrations[0m
-  [4;36;1mSQL (0.5ms)[0m   [0;1mselect sqlite_version(*)[0m
-  [4;35;1mSQL (0.5ms)[0m   [0m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
-  [4;36;1mSQL (7.0ms)[0m   [0;1mCREATE TABLE "terminologies" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar(255), "name" varchar(255), "lang" varchar(255), "group" text, "rubric" varchar(255), "description" text, "mappings" varchar(255)) [0m
-  [4;35;1mSQL (0.4ms)[0m   [0m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
-  [4;36;1mSQL (2.5ms)[0m   [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
-  [4;35;1mSQL (5.1ms)[0m   [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
-  [4;36;1mSQL (0.5ms)[0m   [0;1m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
-  [4;35;1mSQL (0.2ms)[0m   [0mSELECT version FROM "schema_migrations"[0m
-  [4;36;1mSQL (2.5ms)[0m   [0;1mINSERT INTO "schema_migrations" (version) VALUES ('20090725052538')[0m
-  [4;36;1mSQL (1.0ms)[0m   [0;1m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
-  [4;35;1mSQL (0.3ms)[0m   [0mSELECT version FROM schema_migrations[0m
-  [4;36;1mSQL (0.3ms)[0m   [0;1mselect sqlite_version(*)[0m
-  [4;35;1mSQL (0.5ms)[0m   [0m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
-  [4;36;1mSQL (175.2ms)[0m   [0;1mCREATE TABLE "terminologies" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar(255), "name" varchar(255), "lang" varchar(255), "group" text, "rubric" varchar(255), "description" text, "mappings" varchar(255)) [0m
-  [4;35;1mSQL (2.4ms)[0m   [0m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
-  [4;36;1mSQL (2.8ms)[0m   [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
-  [4;35;1mSQL (3.2ms)[0m   [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
-  [4;36;1mSQL (0.5ms)[0m   [0;1m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
-  [4;35;1mSQL (0.2ms)[0m   [0mSELECT version FROM "schema_migrations"[0m
-  [4;36;1mSQL (2.7ms)[0m   [0;1mINSERT INTO "schema_migrations" (version) VALUES ('20090725052538')[0m
Index: /ruby/trunk/spec/models/archetype_datum_spec.rb
===================================================================
--- /ruby/trunk/spec/models/archetype_datum_spec.rb	(revision 404)
+++ /ruby/trunk/spec/models/archetype_datum_spec.rb	(revision 404)
@@ -0,0 +1,19 @@
+require 'spec_helper'
+
+describe ArchetypeDatum do
+  before(:each) do
+    @valid_attributes = {
+      :oid => "value for oid",
+      :archetype_id => "value for archetype_id",
+      :concept => "value for concept",
+      :path => "value for path",
+      :text_data => "value for text_data",
+      :integer_data => 1,
+      :real_data => 
+    }
+  end
+
+  it "should create a new instance given valid attributes" do
+    ArchetypeDatum.create!(@valid_attributes)
+  end
+end
