From 029631df6da051b06a633e3ee9b6973272e10bfe Mon Sep 17 00:00:00 2001 From: Marcin Kulik Date: Sat, 10 Mar 2012 14:56:43 +0100 Subject: [PATCH] Random description for asciicast --- app/helpers/asciicasts_helper.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/helpers/asciicasts_helper.rb b/app/helpers/asciicasts_helper.rb index b05a6eb..fae75eb 100644 --- a/app/helpers/asciicasts_helper.rb +++ b/app/helpers/asciicasts_helper.rb @@ -41,4 +41,7 @@ module AsciicastsHelper EOS end + def random_description + ("

" + Faker::Lorem.sentences(6).join + "

").html_safe + end end