diff options
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 |