From 5e3d54c17a1c11bba63138102d531e845ab5b1c0 Mon Sep 17 00:00:00 2001 From: Daniela Soares Feitosa Date: Thu, 28 May 2009 16:59:01 -0300 Subject: [PATCH] ActionItem1049: adding to_i in article_bloc --- app/models/article_block.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/article_block.rb b/app/models/article_block.rb index 7a18ba0..64263a5 100644 --- a/app/models/article_block.rb +++ b/app/models/article_block.rb @@ -17,7 +17,7 @@ class ArticleBlock < Block end def article_id= value - self.settings[:article_id] = value + self.settings[:article_id] = value.to_i end def article(reload = false) -- libgit2 0.21.2