Permalink
Browse files

add blanks between methods

  • Loading branch information...
1 parent 499ad11 commit 24ee573d6ce8bb11f7eb62224feca5a87fdd2a69 @vijaydev vijaydev committed Sep 5, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 actionpack/test/template/record_tag_helper_test.rb
@@ -5,14 +5,17 @@ class Post
extend ActiveModel::Naming
include ActiveModel::Conversion
attr_writer :id, :body
+
def initialize
@id = nil
@body = nil
super
end
+
def id
@id || 45
end
+
def body
super || @body || "What a wonderful world!"
end

0 comments on commit 24ee573

Please sign in to comment.