Bootstrap: Activities

This commit is contained in:
Dmitriy Zaporozhets 2012-01-28 16:47:55 +02:00
parent 15b06b0164
commit 0a4222fb98
26 changed files with 324 additions and 365 deletions

View file

@ -1,4 +1,6 @@
class Commit
include ActiveModel::Conversion
extend ActiveModel::Naming
attr_accessor :commit
attr_accessor :head
@ -16,6 +18,10 @@ class Commit
:id,
:to => :commit
def persisted?
false
end
def initialize(raw_commit, head = nil)
@commit = raw_commit
@head = head