jingweno/devise_uid — pull request #3 by jingweno (2013-11-25 14:39:46+00:00)
Title: Incorrect table name in generated migration

After running the generator:
`rails generate devise_uid DeviceUser` (the model represents users of electronic devices )

```ruby
class DeviseUidAddToDeviceUsers < ActiveRecord::Migration
def change
add_column :users, :uid, :string
add_index :users, :uid, :unique => true
end
end
```
the generated file references the _users_ table and not _device__users_ for the add_column and add_index lines.