xco you are running in production, you need to config.consider_all_requests_local to true in production.rb, but of course you should not do that if your server is really in production
Have you ever heard of such controller pattern? to have only single action in controller and determine action by passed in param, it could potentially make development faster by eliminating need for extra routes and stuff, all params like action_id, http_method_sym and params could be sent to this one action
ok to make it short, as we already discussed earlier, I am making my custom admin more modular, so I am trying to build one universal partial that will allow me to filter all admin index pages with scopes, but there are models like user and couple others, i would check conditionally if they exist, I would let the admin filter based on them too, only if the model on current page has belongs to or has_many
is it possible to allocate certain number of threads to the sidekiq queues? I have scenarios where I need multiple single threaded queues, but obviously I don't want to launch separate processes for a single thread
is anyone interested in a hobby project to create blockchain from scratch? including its decentralized nature of course
one more question, since binance has the payment_id thing I have to also implement it... boss's orders I guess, so when I read the payment id can be a 32 or 64 bit string, what does it mean?
thanks adam12 that will kinda help, but thing is, I will still have to investigate other edge cases before I implement this, I could even PR on that gem with the following approach
does it make sense when I am wondering why module methods aren't class methods by default?
if OOP structure makes more sense for module, then I would use class instead in the first place
line 60, json['params'], = *args so I assume this works like the following: we are dealing with mass assignment but only with one variable, first element of the array args gets assigned to json["params"], I just dont get why I cant just assign splatted array to the params as hash
I also have one more question to everyone about monkey patching. So I am monkey patching a gem which pretty much has a single file and I am just changing this line 60, so I am basically only monkey patching method_missing method on line 37 in the link I posted. but when I insert this code RPC > JSON > Client > def method_missing other methods do not get inherited from the gem, so I am forced to copy all methods