Skip to content

Commit

Permalink
Nodes has timestamps
Browse files Browse the repository at this point in the history
In order to make cache_key work correctly
  • Loading branch information
arvida committed Sep 19, 2013
1 parent 8ca2092 commit 3774c0a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/models/node.rb
Expand Up @@ -18,6 +18,8 @@ class Node
key :resource_type, String
key :handle, String

timestamps!

belongs_to :resource,
:polymorphic => true

Expand Down

0 comments on commit 3774c0a

Please sign in to comment.