From 9fbeabbbca03ef246313b5e1651fdb1e1ef132cd Mon Sep 17 00:00:00 2001 From: Joe Sak Date: Tue, 21 Sep 2010 22:42:03 -0500 Subject: Generators had some typos --- lib/generators/refinery_blog_generator.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/generators/refinery_blog_generator.rb b/lib/generators/refinery_blog_generator.rb index db2e2ef..4f0cbe6 100644 --- a/lib/generators/refinery_blog_generator.rb +++ b/lib/generators/refinery_blog_generator.rb @@ -16,7 +16,8 @@ class RefineryBlogGenerator < Rails::Generators::NamedBase :attributes => [ Rails::Generators::GeneratedAttribute.new('title', 'string'), Rails::Generators::GeneratedAttribute.new('body', 'text'), - Rails::Generators::GeneratedAttribute.new('draft', 'boolean') + Rails::Generators::GeneratedAttribute.new('draft', 'boolean'), + Rails::Generators::GeneratedAttribute.new('published_at', 'datetime') ], :id => true },{ :table_name => 'blog_comments', -- cgit v1.2.3