Permalink
Browse files

Restore url and session_id

  • Loading branch information...
1 parent c203da7 commit 740b9c188b70a74b58417441ff0170c3203bf16b @avsej avsej committed Apr 6, 2012
Showing with 1 addition and 0 deletions.
  1. 0 app/models/.gitkeep
  2. +1 −0 app/models/link.rb
View
0 app/models/.gitkeep
No changes.
View
1 app/models/link.rb
@@ -5,6 +5,7 @@ class Link < Couchbase::Model
extend ActiveModel::Callbacks
extend ActiveModel::Naming
+ attribute :url, :session_id
attribute :views, :default => 0
attribute :created_at, :default => lambda { Time.zone.now }

0 comments on commit 740b9c1

Please sign in to comment.