backend

[ruby] your_model = User column_names = your_model.column_names - ['created_at', 'updated_at'] # we can ignore some unimportant fields backup_array = [] your_model.find_each(batch_size: 500) do |your_record| p_hash = {} column_names.each do |col_name| p_hash.merge!("#{col_name}" => your_record.send(col_name)) end backup_array << p_hash end [/ruby] This will create an array of...

I just realized that the facebook authentication is failing, this is the error I get in heroku: [shell] 2017-04-20T16:23:30.596766+00:00 app[web.1]: I, [2017-04-20T16:23:30.596716 #7] INFO -- omniauth: (facebook) Callback phase initiated. 2017-04-20T16:23:30.647209+00:00 app[web.1]: E, [2017-04-20T16:23:30.647151 #7] ERROR -- omniauth: (facebook) Authentication failure! invalid_credentials: OAuth2::Error, : [/shell] and the way to...