Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@embs
Copy link
Owner

@embs embs commented Apr 19, 2025

em #8 eu tentei ir direto pro ruby 2.6 pq o activerecord-import depende do ruby 2.4 mas não deu bom pro Rails.

@embs embs mentioned this pull request Apr 19, 2025
@embs
Copy link
Owner Author

embs commented Apr 19, 2025

☝️ conserta humanizer

@embs
Copy link
Owner Author

embs commented Apr 20, 2025

☝️ roda testes local

@embs
Copy link
Owner Author

embs commented Apr 20, 2025

☝️ debugging Can't connect to MySQL server on 'redu_mysql' (111): https://github.com/embs/redu/actions/runs/14560120485/job/40842285402?pr=9

@embs
Copy link
Owner Author

embs commented Apr 20, 2025

☝️ fix running specs:

  • moar regex fixes
  • manually removed net-smtp from Gemfile.lock to fix /usr/local/bundle/gems/net-smtp-0.1.0/lib/net/smtp.rb:170:in <module:Net>': superclass mismatch for class SMTP (TypeError)

@embs embs force-pushed the rails-4-0 branch 2 times, most recently from 3e96830 to dfba7bf Compare April 20, 2025 14:44
@embs
Copy link
Owner Author

embs commented Apr 20, 2025

@embs
Copy link
Owner Author

embs commented Apr 21, 2025

☝️ mock delayedjob and activerecord import

@embs
Copy link
Owner Author

embs commented Apr 21, 2025

☝️ trying to help with

Couldn't create database for {"adapter"=>"mysql2", "username"=>"root", "password"=>"password", "database"=>"redu_test", "host"=>"redu_mysql"}, {:charset=>"utf8", :collation=>"utf8_unicode_ci"}

https://github.com/embs/redu/actions/runs/14574024934/job/40876296590?pr=9

@embs
Copy link
Owner Author

embs commented Apr 21, 2025

☝️ fix

     NoMethodError:
       undefined method `values_of' for #<ActiveRecord::Relation []>

not sure why this is the case. haven't find anything about that in the docs.

values_of is dynamically defined in 3.2.13 here

@embs
Copy link
Owner Author

embs commented Apr 21, 2025

☝️ similar to above

  1730) EnrollmentService::Jobs::LinkedJobOptions#set should keep the ids when an ActiveRecord::Relation
     Failure/Error: subject.set(:social_network, SocialNetwork.limit(2))
     NoMethodError:
       undefined method `value_of' for #<ActiveRecord::Relation []>
     # ./app/services/enrollment_service/jobs/linked_job_options.rb:40:in `pluck_ids_of'
     # ./app/services/enrollment_service/jobs/linked_job_options.rb:15:in `set'
     # ./spec/services/enrollment_service/linked_job_options_spec.rb:15:in `block (3 levels) in <module:Jobs>'

@embs
Copy link
Owner Author

embs commented Apr 21, 2025

☝️ disable observers in test env

@embs
Copy link
Owner Author

embs commented Apr 21, 2025

☝️ skip vis tests

@embs embs force-pushed the rails-4-0 branch 6 times, most recently from b16db25 to 0b8c22e Compare April 22, 2025 23:08
@embs
Copy link
Owner Author

embs commented Apr 22, 2025

☝️ reintroduce oauth 👀

@embs embs force-pushed the rails-4-0 branch 3 times, most recently from 7312e4f to 2556cf1 Compare April 24, 2025 21:28
@embs
Copy link
Owner Author

embs commented Apr 24, 2025

☝️ re-introduce ActiveRecord::Observer.with_observers

result: https://github.com/embs/redu/actions/runs/14652042592/job/41119881990?pr=9

@embs
Copy link
Owner Author

embs commented Apr 24, 2025

☝️ implement BaseMailer.delay as noop

result: https://github.com/embs/redu/actions/runs/14652123048/job/41120139188?pr=9

@embs
Copy link
Owner Author

embs commented Apr 24, 2025

☝️ revert commenting out .delay calls since now we have it

result: https://github.com/embs/redu/actions/runs/14652246222/job/41120530995?pr=9

@embs
Copy link
Owner Author

embs commented Apr 24, 2025

☝️ re-implement visitor method for roles

result: https://github.com/embs/redu/actions/runs/14653762477/job/41125015118?pr=9

@embs
Copy link
Owner Author

embs commented Apr 24, 2025

☝️ allow bulk updating (activerecord-import)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant