#RubyOnRails - 19 April 2019
« Back 1 day Forward 1 day »
[10:51:54] garyserj: I am trying to use action cable. I got the server to send to the client. But I also want the client to send to the server. I tried this in my coffeescript file
[10:51:54] garyserj: that last line doesn't seem to cause an alert, so it doesn't seem to trigger the received method
[10:51:54] garyserj: I know the alert line works though because when sending a message from server to client, I trigger it. It's just that the last line in the coffeescript, which is meant to send from client to server, is not triggering that received method, / is not causing an alert
[12:41:20] Sylario: If anybody if familiar with AMS I have a deserialisation problem with a polymorphic relation : https://stackoverflow.com/questions/55760125/ams-do-not-use-the-type-when-saving-a-polymorphic-relation
[14:42:35] wallace_mu: guys, is it worth to have chain of cache like 1 layer: in memory cache, 2 layer : memcached 3 layer: database, sounds crazy but all we want do is reduce memecache call and also db calls
[18:39:31] charlielor: I’m running rails db:setup and it fills my whole screen with some errors but iTerm2 won’t let me scroll far up enough. Is there a way to halt the scrolling?
[19:29:27] charlielor: I kept getting this error /Users/charlie2/.rvm/gems/ruby-2.6.2/gems/forgery-0.6.0/lib/forgery/forgery/lorem_ipsum.rb:41: warning: constant ::Fixnum is deprecated rails aborted!
[21:16:00] IGnorAND: anyone know how to get the values of bin/rails credentials:view in a poro? Rails.application.credentials.foo will access the value of foo in rails