aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJoe Sak <joe@joesak.com>2010-09-21 22:42:03 -0500
committerJoe Sak <joe@joesak.com>2010-09-21 22:42:03 -0500
commit9fbeabbbca03ef246313b5e1651fdb1e1ef132cd (patch)
tree77d004586b122b177226fb1ec760b24ac6780aab /lib
parent1cfbfdb5da9a8768f219130a8a144de54bb329b3 (diff)
downloadrefinerycms-blog-9fbeabbbca03ef246313b5e1651fdb1e1ef132cd.tar.gz
refinerycms-blog-9fbeabbbca03ef246313b5e1651fdb1e1ef132cd.tar.bz2
refinerycms-blog-9fbeabbbca03ef246313b5e1651fdb1e1ef132cd.zip
Generators had some typos
Diffstat (limited to 'lib')
-rw-r--r--lib/generators/refinery_blog_generator.rb3
1 files changed, 2 insertions, 1 deletions
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',