include AssignUuid
include KindAndEtag
include CommonApiTemplate
+ serialize :properties, Hash
api_accessible :superuser, :extend => :common do |t|
t.add :material
+ t.add :properties
+ end
+
+ def properties
+ @properties ||= Hash.new
+ super
end
end
#
# It's strongly recommended to check this file into your version control system.
-ActiveRecord::Schema.define(:version => 20130128202518) do
+ActiveRecord::Schema.define(:version => 20130128231343) do
create_table "api_client_authorizations", :force => true do |t|
t.string "api_token", :null => false
t.datetime "modified_at"
t.string "material"
t.datetime "updated_at"
+ t.text "properties"
end
add_index "specimens", ["uuid"], :name => "index_specimens_on_uuid", :unique => true