class ActsAsFollowableGenerator
Public Instance Methods
create_migration_file()
click to toggle source
# File lib/generators/acts_as_followable_generator.rb, line 4 def create_migration_file migration_template 'follow_migration.rb', 'db/migrate/acts_as_followable_migration.rb' end
create_model()
click to toggle source
# File lib/generators/acts_as_followable_generator.rb, line 8 def create_model template "follow.rb", File.join('app/models', "follow.rb") end