« Back to channel list

#RubyOnRails - 15 May 2019

« Back 1 day Forward 1 day »
[00:02:01] mlt-: has joined #RubyOnRails
[00:02:09] orbyt_: has joined #RubyOnRails
[00:10:31] skryking: has joined #RubyOnRails
[00:13:10] tf2ftw: has joined #RubyOnRails
[00:15:20] cnsvc: has joined #RubyOnRails
[00:24:27] octos: has joined #RubyOnRails
[00:25:09] duderonomy: has joined #RubyOnRails
[00:36:40] al-damiri: has joined #RubyOnRails
[00:36:43] cnsvc: has joined #RubyOnRails
[00:45:06] gambl0r3: has joined #RubyOnRails
[00:48:41] duderonomy: has joined #RubyOnRails
[00:50:06] cnsvc: has joined #RubyOnRails
[01:11:29] Haydos: has joined #RubyOnRails
[01:13:04] weteamsteve: do you guys believe ruby on rails is still relevant? or should i go into angular
[01:16:05] orbyt_: has joined #RubyOnRails
[01:29:57] tf2ftw: has joined #RubyOnRails
[01:38:35] arooni: has joined #RubyOnRails
[01:49:59] duderonomy: has joined #RubyOnRails
[01:50:51] xcesariox: has joined #RubyOnRails
[02:10:01] brool: weteamsteve: it's definitely still relevant, especially for start-ups, but if you're going the JS route i get the impression that the react+express stack is more popular than angular
[02:20:21] bambanx: has joined #RubyOnRails
[02:21:27] octos: has joined #RubyOnRails
[02:24:59] Momentum: weteamsteve: Ruby on Rails is mostly a backend framework you can't compare it with Angular, Angular is for the front-end you can even use it with Ruby on Rails
[02:27:33] brool: i thought angular was a full stack framework
[02:28:18] cnsvc: has joined #RubyOnRails
[02:30:33] Momentum: there are some approaches like MEAN stack which can be compared to RoR
[02:30:47] Momentum: stands for Mongodb Express Angular and Node
[02:34:05] ephemer0l: has joined #RubyOnRails
[02:35:41] ur5us: has joined #RubyOnRails
[02:48:41] ephemer0l: has joined #RubyOnRails
[02:49:36] Technodrome: has joined #RubyOnRails
[03:01:17] beholders_eye: has joined #RubyOnRails
[03:02:23] 7JTABSQ9L: has joined #RubyOnRails
[03:09:30] Saukk: has joined #RubyOnRails
[03:10:06] braincrash: has joined #RubyOnRails
[03:11:00] lato: has joined #RubyOnRails
[03:19:31] xcesariox: has joined #RubyOnRails
[03:22:11] xcesariox: has joined #RubyOnRails
[03:45:29] tris: has joined #RubyOnRails
[03:46:32] dustinm`: has joined #RubyOnRails
[03:47:25] beholders_eye: has joined #RubyOnRails
[03:48:43] LtHummus: has joined #RubyOnRails
[03:49:25] GodFather_: has joined #RubyOnRails
[03:49:54] GodFather: has joined #RubyOnRails
[04:17:11] tris: has joined #RubyOnRails
[04:17:18] srinidhi: has joined #RubyOnRails
[04:20:21] Milos: has joined #RubyOnRails
[05:08:20] dustinm`: has joined #RubyOnRails
[05:09:14] cnsvc: has joined #RubyOnRails
[05:15:15] conta: has joined #RubyOnRails
[05:16:35] srinidhi: has joined #RubyOnRails
[05:35:00] conta: has joined #RubyOnRails
[05:51:08] srinidhi: has joined #RubyOnRails
[06:00:33] ur5us: has joined #RubyOnRails
[06:08:06] srinidhi: has joined #RubyOnRails
[06:11:14] za1b1tsu: has joined #RubyOnRails
[06:43:17] Rustputin: has joined #RubyOnRails
[06:54:51] pd09041999: has joined #RubyOnRails
[07:15:35] Ergo: has joined #RubyOnRails
[07:29:15] lxsameer: has joined #RubyOnRails
[07:41:25] Rustputin: has joined #RubyOnRails
[07:46:18] polydo_s: has joined #RubyOnRails
[07:49:08] gambl0r3: has joined #RubyOnRails
[08:02:19] jefffrails35: has joined #RubyOnRails
[08:03:14] davidh38: has joined #RubyOnRails
[08:04:18] mikecmpbll: has joined #RubyOnRails
[08:05:53] prestorium: has joined #RubyOnRails
[08:10:53] nsalunke: has joined #RubyOnRails
[08:23:28] octos: has joined #RubyOnRails
[08:30:40] ramfjord: has joined #RubyOnRails
[08:38:05] srinidhi: has joined #RubyOnRails
[08:42:40] Rustputin: has joined #RubyOnRails
[08:51:24] cnsvc: has joined #RubyOnRails
[09:10:17] Rustputin: has joined #RubyOnRails
[09:14:47] powerbit: has joined #RubyOnRails
[09:19:06] davidh38: has joined #RubyOnRails
[09:28:19] uks: has joined #RubyOnRails
[09:34:46] Rustputin: has joined #RubyOnRails
[09:48:47] Rustputin: has joined #RubyOnRails
[09:52:49] pd09041999: has joined #RubyOnRails
[09:53:31] davidh38: has joined #RubyOnRails
[10:00:42] Rustputin: has joined #RubyOnRails
[10:07:41] mangold: has joined #RubyOnRails
[10:29:40] jammanbo: has joined #RubyOnRails
[10:31:20] davidh38: has joined #RubyOnRails
[10:37:07] KeyJoo: has joined #RubyOnRails
[10:42:05] conta: has joined #RubyOnRails
[10:43:17] cnsvc: has joined #RubyOnRails
[10:53:00] Rustputin: has joined #RubyOnRails
[10:53:30] lankanmon: has joined #RubyOnRails
[10:56:01] mangold: has joined #RubyOnRails
[10:59:40] apparition: has joined #RubyOnRails
[11:06:42] ur5us: has joined #RubyOnRails
[11:12:26] tf2ftw: has joined #RubyOnRails
[11:20:41] Silex: has joined #RubyOnRails
[11:21:36] Silex: Hello, since rails 5.2 actionmailer methods don't take parameters but extract it all from `params`, while earlier it was parameters... should I always use params[] like in the examples? is there a rationale for it?
[11:22:11] Silex: intuitively I feel using params[] is more flexible but there are maybe drawbacks
[11:38:10] tbuehlmann: Silex: that's not correct, you can and should still use regular arguments
[11:39:43] Silex: tbuehlmann: hum, then https://guides.rubyonrails.org/v5.1/action_mailer_basics.html vs https://guides.rubyonrails.org/v5.2/action_mailer_basics.html is a bit misleading
[11:40:11] Silex: under "2.1.2 Edit the Mailer"
[11:40:27] Silex: but alright, thanks for clarifying
[11:43:35] lato: has joined #RubyOnRails
[11:47:09] davidh38: has joined #RubyOnRails
[11:51:22] cnsvc: has joined #RubyOnRails
[11:52:19] tbuehlmann: indeed that's weird and I wouldn't have expected this
[11:53:59] MrCrackPotBuilde: has joined #RubyOnRails
[12:05:48] Silex: tbuehlmann: what I'll remember is that params[] is great for "global" parameters that affect all methods, e.g the locale. Named parameters for the specific stuffs
[12:20:33] conta1: has joined #RubyOnRails
[12:24:49] pd09041999: has joined #RubyOnRails
[12:39:11] hive-mind: has joined #RubyOnRails
[12:45:25] Rustputin: has joined #RubyOnRails
[12:55:11] DTZUZO: has joined #RubyOnRails
[13:00:10] duderonomy: has joined #RubyOnRails
[13:09:39] srinidhi: has joined #RubyOnRails
[13:13:07] Rustputin: has joined #RubyOnRails
[13:15:54] davidh38: has joined #RubyOnRails
[13:17:39] cnsvc: has joined #RubyOnRails
[13:33:17] pd09041999: has joined #RubyOnRails
[13:51:31] zer0python: has left #RubyOnRails: ()
[14:22:18] davidh38: has joined #RubyOnRails
[14:23:28] cnsvc: has joined #RubyOnRails
[14:25:08] davidh38: has joined #RubyOnRails
[14:30:19] davidh38: has joined #RubyOnRails
[14:42:36] Dbugger: has joined #RubyOnRails
[15:09:58] davidh38: has joined #RubyOnRails
[15:12:04] davidh38: has joined #RubyOnRails
[15:18:25] davidh38: has joined #RubyOnRails
[15:19:51] weteamsteve: has joined #RubyOnRails
[15:33:24] cnsvc: has joined #RubyOnRails
[15:34:56] duderonomy: has joined #RubyOnRails
[15:58:21] brool: has joined #RubyOnRails
[16:00:13] tf2ftw: has joined #RubyOnRails
[16:01:18] ovnimancer: has joined #RubyOnRails
[16:01:47] tf2ftw: has joined #RubyOnRails
[16:10:05] cnsvc_: has joined #RubyOnRails
[16:12:07] haengma: has joined #RubyOnRails
[16:19:26] pd09041999: has joined #RubyOnRails
[16:21:45] davidh38: has joined #RubyOnRails
[16:23:24] GodFather_: has joined #RubyOnRails
[16:25:41] tdy1: has joined #RubyOnRails
[16:25:54] davidh38: has joined #RubyOnRails
[16:27:14] davidh38: has joined #RubyOnRails
[16:37:26] gambl0r3: has joined #RubyOnRails
[16:40:18] Rustputin: has joined #RubyOnRails
[16:49:10] weteamsteve: has joined #RubyOnRails
[16:49:31] dviola: has joined #RubyOnRails
[17:00:04] cnsvc_: has joined #RubyOnRails
[17:10:19] MrCrackPotBuilde: has joined #RubyOnRails
[17:11:12] Rustputin: has joined #RubyOnRails
[17:18:53] Saukk: has joined #RubyOnRails
[17:18:54] eddof13: has joined #RubyOnRails
[17:24:03] davidh38: has joined #RubyOnRails
[17:24:46] kapilp: has joined #RubyOnRails
[17:29:03] sameerynho: has joined #RubyOnRails
[17:30:52] dretnx: has joined #RubyOnRails
[17:31:22] dretnx: I'm watching some presentations on web, regarding Rails performance with new JIT compiler
[17:32:07] dretnx: We get less requests per second with JIT option turned on
[17:33:17] Dbugger: Hi everyone
[17:33:48] Dbugger: I am using this code to create a my model, but I was wondering if there is shorter way to do it: https://www.hastebin.com/iqubiyotub.rb
[17:34:41] GodFather: has joined #RubyOnRails
[17:36:27] GodFather: has joined #RubyOnRails
[17:37:40] GodFather: has joined #RubyOnRails
[18:02:01] greengriminal: has joined #RubyOnRails
[18:06:22] [Butch]: has joined #RubyOnRails
[18:08:03] cnsvc_: has joined #RubyOnRails
[18:18:05] jottr: has joined #RubyOnRails
[18:35:52] Rustputin: has joined #RubyOnRails
[18:36:51] zacts: has joined #RubyOnRails
[18:42:47] GodFather_: has joined #RubyOnRails
[19:02:02] jottr: has joined #RubyOnRails
[19:10:52] cnsvc_: has joined #RubyOnRails
[19:15:53] duderonomy: has joined #RubyOnRails
[19:16:11] zacts: has joined #RubyOnRails
[19:22:25] davidh38: has joined #RubyOnRails
[19:27:10] maloik: has joined #RubyOnRails
[19:30:40] maloik: Hi, Is there out anybody here? I need some help, I Spent many hours with an issue, recently I migrate my rails project using webpack3 to webpack4, everything seems fine, but... for some reasons when I use assets:precompile for now there are no non-digest assets
[19:35:25] jottr: has joined #RubyOnRails
[19:36:09] maloik: I'm using ruby 2.5.1 & rails 5.1
[19:41:05] Rustputin: has joined #RubyOnRails
[19:43:20] MasterAsia: has joined #RubyOnRails
[19:43:33] eddof13: has joined #RubyOnRails
[19:46:28] weteamsteve1: has joined #RubyOnRails
[19:47:15] Dbugger: has joined #RubyOnRails
[19:47:36] Dbugger: has joined #RubyOnRails
[20:05:38] haengma: has joined #RubyOnRails
[20:05:45] jottr: has joined #RubyOnRails
[20:09:52] tdy1: has joined #RubyOnRails
[20:11:58] S007: has joined #RubyOnRails
[20:19:20] cnsvc_: has joined #RubyOnRails
[20:32:35] xco: has joined #RubyOnRails
[20:32:55] xco: Hi! What does the “# :nodoc” in Rails’ source mean?
[20:36:30] havenwood: xco: It means that it's not documented, as in documentation (they grey stuff).
[20:37:14] xco: havenwood: thanks. does it suggest that we can document it?
[20:37:25] havenwood: xco: Doc linters will complain when documentation is missing, but a :nodoc means it's meant to be not documented.
[20:37:55] havenwood: it usually means the coder doesn't want to bother documenting the thing, or doesn't know what to say
[20:38:22] xco: ah ok :)
[20:38:26] havenwood: if you see a :nodoc, and documentation is called for, they'll probably accept a PR with good docs
[20:38:50] xco: ah awesome!!
[20:38:51] xco: thanks :)
[20:39:51] s00pcan: has joined #RubyOnRails
[20:44:36] zacts: has joined #RubyOnRails
[20:46:26] zacts: has joined #RubyOnRails
[21:03:33] duderonomy: has joined #RubyOnRails
[21:08:17] cnsvc_: has joined #RubyOnRails
[21:13:22] Rustputin: has joined #RubyOnRails
[21:14:06] al-damiri: has joined #RubyOnRails
[21:14:54] Technodrome: has joined #RubyOnRails
[21:21:07] jottr: has joined #RubyOnRails
[21:22:20] davidh38: has joined #RubyOnRails
[21:25:48] cnsvc: has joined #RubyOnRails
[21:50:09] s00pcan: has joined #RubyOnRails
[21:55:14] gambl0r3: has joined #RubyOnRails
[22:02:48] TvL2386: has joined #RubyOnRails
[22:11:30] tjbp: has joined #RubyOnRails
[22:11:42] s00pcan: has joined #RubyOnRails
[22:15:38] davidh38: has joined #RubyOnRails
[22:16:27] choke: has joined #RubyOnRails
[22:18:57] hightower2: has joined #RubyOnRails
[22:19:13] choke: i've got a small issue in production and i'm not sure what the actual problem is. if i run `rails s` within production, i'm getting `Mail is not a module` error, but nowhere in my code have I defined Mail as a module. https://gist.github.com/jblac/7e9d341882e825252eb7c0b78c8fcf9a is a link to the gist, any assistance provided is greatly appreciated.
[22:21:31] davidh38: has joined #RubyOnRails
[22:23:06] cnsvc_: has joined #RubyOnRails
[22:25:51] havenwood: choke: Do you have a Mail class in your models? That's my first thought.
[22:26:22] s00pcan: has joined #RubyOnRails
[22:31:29] havenwood: choke: Try checking where Mail class methods are defined?
[22:31:46] havenwood: choke: Mail.method(Mail.methods(false).first).source_location
[22:32:41] choke: @havenwood I do not, in fact the only models I have that start with m is message, message_observer, message_template and metric. This pull request also introduces a mail_helper within the helpers, which does make reference to SendGrid::Mail.new
[22:33:10] havenwood: choke: what does the Mail.methods command above show from a Rails console?
[22:33:50] havenwood: (Grabbing the first non-inherited instance method and checking its source location.)
[22:35:31] havenwood: choke: As long as you haven't done an `include Sendgrid`, its Mail class shouldn't conflict at top level.
[22:36:20] havenwood: Assuming you're not in the Sendgrid namespace when you run into this? You could sanity check: Module.nesting
[22:36:38] choke: I actually have done an include SendGrid -- i wonder if i remove that, if the sendgrid will still work (i forget why I added it). as is, i can't even `rails c` from within the directory
[22:37:04] havenwood: choke: Ah, yeah, then you have a top level collision of the Mail class from Sendgrid and the module from Mail gem.
[22:37:22] havenwood: choke: Just use the full Sendgrid::Mail.new for Sendgrid, and the collision should go away.
[22:37:30] havenwood: No include.
[22:39:05] choke: i removed the include and i can indeed get it started... just clarifying more, I also have `require 'sendgrid-ruby'`, `require 'json'` and `include UrlHelper`. - any of those have customary no-nos attached to them that you're aware of?
[22:40:15] havenwood: choke: Other than Sendgrid naming their gem poorly, looks good!
[22:40:23] havenwood: https://guides.rubygems.org/name-your-gem/
[22:40:29] choke: cool, thanks a bunch @havenwood
[23:02:29] _aeris_: has joined #RubyOnRails
[23:03:12] weaksauce: has joined #RubyOnRails
[23:04:12] weteamsteve1: has joined #RubyOnRails
[23:10:46] choke: has joined #RubyOnRails
[23:23:43] uksio: has joined #RubyOnRails
[23:29:00] jottr: has joined #RubyOnRails
[23:37:18] funnel: has joined #RubyOnRails
[23:38:43] bambanx: has joined #RubyOnRails
[23:56:33] atrius: has joined #RubyOnRails
[23:58:21] gambl0re: has joined #RubyOnRails