diff options
author | mr <mr@mrautenberg.de> | 2010-12-14 12:31:57 +0100 |
---|---|---|
committer | mr <mr@mrautenberg.de> | 2010-12-14 12:31:57 +0100 |
commit | 5a01f50477e3fecd5921a8686c80045dbfcf799d (patch) | |
tree | 7e1977f8fc6ea0f20cf2af9e5daab046cd003952 /model.rb | |
parent | 42423071defcc0798c4fd97a9817f77867d2ffcb (diff) |
remove token_id from tox_create_models
Diffstat (limited to 'model.rb')
-rw-r--r-- | model.rb | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -38,9 +38,11 @@ class ToxCreateModel property :root_mean_squared_error, Float property :mean_absolute_error, Float - property :token_id, String, :length => 255 property :web_uri, String, :length => 255 + attr_accessor :token_id + @token_id = nil + after :save, :check_policy =begin |