I\'ve looked at ActiveRecord::DangerousAttributeError and other similar threads on SO, but they don\'t address the same issue.
I\'m following the omniauth tutorial:
I just ran into this following the same RailsCast.
The tutorial says to run:
rails g nifty:scaffold authentication user_id:integer \
provider:string uid:string index create destroy
But not having the nifty scaffold stuff on my machine, I just ran
rails g scaffold authentication user_id:integer \
provider:string uid:string index create destroy
Which behaves differently. Instead of creating stub 'index', 'create', and 'destroy' controller methods, it created fields in the database.
Remove them and it works fine, as mentioned previously.