acts_as_publicable 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
data/README.textile
CHANGED
@@ -3,7 +3,7 @@ class ActsAsPublicableGenerator < Rails::Generators::NamedBase
|
|
3
3
|
source_root File.expand_path('../templates', __FILE__)
|
4
4
|
|
5
5
|
def manifest
|
6
|
-
migration_template 'migration.rb', "db/migrate/
|
6
|
+
migration_template 'migration.rb', "db/migrate/add_published_to_#{table_name}"
|
7
7
|
end
|
8
8
|
|
9
9
|
def self.next_migration_number(path)
|