Hi there,
i’ve exported users from my blog into a csv. Trying to import on discourse through a rake script i’m getting the following error:
NoMethodError: undefined method `bio_raw_will_change!' for nil:NilClass
/var/www/discourse/lib/promotion.rb:57:in `change_trust_level!'
/var/www/discourse/app/models/user.rb:757:in `change_trust_level!'
/var/www/discourse/app/services/trust_level_granter.rb:13:in `grant'
/var/www/discourse/app/services/trust_level_granter.rb:8:in `grant'
/var/www/discourse/app/models/group_user.rb:73:in `grant_trust_level'
Here is the script:
https://gist.github.com/michaeltcoelho/6616f3b707692fb4eedaa75d85c299d3
Anyone could help me on this?
it would be very nice if i could a reset password email to each user. if i do it am i going to get rate limited?
** Sorry but i’m not a ruby dev…