Sha256: 5e0213f5e38e2b03284a3004d986dbfbdaf4ecd816e8fb70ed11920304edbc29

Contents?: true

Size: 313 Bytes

Versions: 1

Compression:

Stored size: 313 Bytes

Contents

class TwitterAuthGenerator < Rails::Generator::Base 
  def manifest 
    record do |m| 
      m.class_collisions 'User'
      
      m.migration_template 'migration.rb', 'db/migrate', :migration_file_name => "twitter_auth_migration"
      m.template 'user.rb', File.join('app/models', 'user.rb')
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mbleigh-twitter-auth-0.0.2 generators/twitter_auth/twitter_auth_generator.rb