diff options
Diffstat (limited to 'generators')
-rw-r--r-- | generators/refinery_blog/refinery_blog_generator.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generators/refinery_blog/refinery_blog_generator.rb b/generators/refinery_blog/refinery_blog_generator.rb index 36fce61..383d237 100644 --- a/generators/refinery_blog/refinery_blog_generator.rb +++ b/generators/refinery_blog/refinery_blog_generator.rb @@ -37,7 +37,7 @@ class RefineryBlogGenerator < Rails::Generator::NamedBase :attributes => [ Rails::Generator::GeneratedAttribute.new('title', 'string'), Rails::Generator::GeneratedAttribute.new('body', 'text'), - Rails::Generator::GeneratedAttribute.new('draft', 'boolean') + Rails::Generator::GeneratedAttribute.new('draft', 'boolean'), Rails::Generator::GeneratedAttribute.new('published_at', 'datetime') ], :id => true },{ |