hi all! i’m testing an api endpoint and so far i have this but not sure how to proceed with minittest https://gist.github.com/xcobar/82ebf7e51810040680d3d9d828754bc7 i don’t want to query the api endpoint every time. how do i test this endpoint with say some fake data?
i understand Ruby fairly enough but for some reason i want to spend money to buy the print version of The Well-Ground Rubyist 3rd edition and read back to back like im’ a Ruby beginner… what do you make of this idea? Would it be impulse buying? Silly?
but seriously i tend to forget some basic think while buried deep in deeper stuff and i think a refresher would be good or just have the book and read a few pages just to get the basics to sink in even more
i think a method that’s not “parameter-less” can also take a block… 🤔
Linell: ok i think i found a question to ask. If i’m using a scheduler to run sidekiq tasks, in the controller what do i call? Worker.perform or Worker.perform_async or Worker.perform_now?
sweet. i need the keywords to google or an idear how to go about this
i’d like to avoid react/vue/ember and all the front end frameworks
havenwood: you mean with the js autoscrolling to the tables location?