Sha256: 3439af0ce660177d69f45a11dff44967d0a4b68bc37634bc9031d83095e67db7
Contents?: true
Size: 960 Bytes
Versions: 4
Compression:
Stored size: 960 Bytes
Contents
page = Page.create(:title => 'Home') body = page.page_parts.find_by_title('body') body.update_attributes(:filter => 'textile', :content => "h1. Welcome Aenean dictum porttitor arcu vitae vehicula. Nullam posuere augue vitae lorem ultrices facilisis? Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent non nisi erat? Donec id eros sed metus lobortis semper sed non nulla. Cras cursus ipsum eget neque imperdiet feugiat. Etiam sed sapien id felis aliquam aliquet. Nam fermentum tempus suscipit. Mauris non mi mi, a vulputate nunc! Phasellus aliquam urna nec lorem consectetur in porttitor sapien laoreet! Nam erat elit, aliquam quis auctor et, tempor quis arcu. Cras diam nunc, mollis pharetra pulvinar eu, dapibus in augue. Aenean malesuada nulla ac neque facilisis congue? Nulla interdum euismod eros; at tempor magna sagittis id. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Aliquam orci aliquam. )")
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
page_engine-0.0.4 | db/seed.rb |
page_engine-0.0.3 | db/seed.rb |
page_engine-0.0.2 | db/seed.rb |
page_engine-0.0.1 | db/seed.rb |