I think something like
./launcher enter app
rails c
User.last
User.all.update_all(last_ip: nil)
I’m not sure what the field name for the last ip is, so you’ll look at the fields in User.last to find its name. You type q to leave the pager.
I think something like
./launcher enter app
rails c
User.last
User.all.update_all(last_ip: nil)
I’m not sure what the field name for the last ip is, so you’ll look at the fields in User.last to find its name. You type q to leave the pager.