« Back to channel list

#RubyOnRails - 08 January 2018

« Back 1 day Forward 1 day »
[00:02:06] l_tonz: has joined #RubyOnRails
[00:04:00] bronson: has joined #RubyOnRails
[00:08:06] l_tonz: has joined #RubyOnRails
[00:10:37] hammer065: has joined #RubyOnRails
[00:11:28] mtkd: has joined #RubyOnRails
[00:11:37] Exagone313: has joined #RubyOnRails
[00:15:29] hfp_work: has joined #RubyOnRails
[00:16:48] cgfbee: has joined #RubyOnRails
[00:17:13] conceivably: has joined #RubyOnRails
[00:21:00] Fridtjof: has joined #RubyOnRails
[00:22:41] prometheus_falli: has joined #RubyOnRails
[00:28:27] amperry: hey folks, I'm having trouble in production getting my assets (images, css, js) to load, and every page hit generates around 263 error messages. Gist here: https://gist.github.com/amp108/018a375eaa3ba0869434bcb1c34e26d3 <--- but I don't know what files to add to it.
[00:31:33] Radar: amperry: Ah yes I've seen that one before too :D
[00:31:46] Radar: The invalid authenticity token one
[00:32:36] mcr: has joined #RubyOnRails
[00:33:11] amperry: Radar: deployment has been an endless slog of two steps forward, one step back :(
[00:45:31] Radar: amperry: almost like you should've paid for a consultant to do it for you.
[00:46:03] amperry: Radar: if I could have, I would have.
[00:46:51] amperry: believe me, that is something that I wish was on the table for me.
[01:04:52] bronson: has joined #RubyOnRails
[01:17:45] amperry: anyone know how to find out where Rails decides to look for a particular asset? Not necessarily the directory, but the hashed name?
[01:22:08] workmad3: has joined #RubyOnRails
[01:23:49] fryguy: amperry: it's in the manifest file, which should be in pubilc/assets
[01:27:32] amperry: fryguy: there's a zero-length manifest-<long_hash>.js file there, but that's all.
[01:27:58] fryguy: well that seems problematic, what about hidden file
[01:29:10] amperry: there's a hidden (also zero-length) .sprockets-manifest-<long_hash>.json file.
[01:29:26] xpl0iter: has joined #RubyOnRails
[01:30:11] amperry: part of the problem is, rails is looking for files that don't exist, even if you accounted for fingerprinting.
[01:32:24] Cache_Money: has joined #RubyOnRails
[01:34:45] Cache_Money: has joined #RubyOnRails
[01:45:24] Cache_Money: has joined #RubyOnRails
[01:51:05] hive-mind: has joined #RubyOnRails
[01:52:50] Cache_Money: has joined #RubyOnRails
[02:03:12] sevenseacat: has joined #RubyOnRails
[02:05:46] Jameser: has joined #RubyOnRails
[02:06:17] bronson: has joined #RubyOnRails
[02:08:34] l_tonz: has joined #RubyOnRails
[02:08:48] apparition: has joined #RubyOnRails
[02:11:02] maciuszek: has joined #RubyOnRails
[02:31:01] meesles: has joined #RubyOnRails
[02:47:36] ResidentBiscuit: has joined #RubyOnRails
[03:06:57] bronson: has joined #RubyOnRails
[03:26:31] Cache_Money: has joined #RubyOnRails
[03:26:55] kapil___: has joined #RubyOnRails
[03:29:07] ResidentBiscuit: has joined #RubyOnRails
[03:37:27] workmad3: has joined #RubyOnRails
[03:51:57] ebsen: has joined #RubyOnRails
[04:05:47] zwliew: has joined #RubyOnRails
[04:07:38] bronson: has joined #RubyOnRails
[04:08:58] hahuang65: has joined #RubyOnRails
[04:13:46] hahuang65: has joined #RubyOnRails
[04:17:28] Saukk: has joined #RubyOnRails
[04:22:43] hahuang65: has joined #RubyOnRails
[04:27:35] prometheus_falli: has joined #RubyOnRails
[04:38:30] l_tonz: has joined #RubyOnRails
[04:53:45] one_zero: has joined #RubyOnRails
[04:56:11] ali_g: has joined #RubyOnRails
[05:01:02] one_zero: has joined #RubyOnRails
[05:08:43] bronson: has joined #RubyOnRails
[05:11:20] iamarun: has joined #RubyOnRails
[05:12:37] ali_g: Hello all! Has anyone successfully enabled Edit/update functionality on a belongs_to model with a single _form partial? I have Project has_many :tasks and Task belongs_to :projects. I can create tasks but when clicking on edit, the new form is loaded. Here the gist: https://gist.github.com/ponentesincausa/02d4b5cba3a61c880d0d604056273529
[05:14:28] Radar: https://gist.github.com/ponentesincausa/02d4b5cba3a61c880d0d604056273529#file-projects_controller-rb-L26
[05:14:32] Radar: You can use find here instead.
[05:15:20] Radar: ali_g: https://gist.github.com/ponentesincausa/02d4b5cba3a61c880d0d604056273529#file-views-tasks-_form-html-erb-L2 this is doing @project.tasks.build, so you'll always get the new form
[05:15:35] Radar: In your tasks/edit template <%= render 'form', task: task %>
[05:15:53] Radar: In projects/show: <%= render 'form', task: @project.tasks.build %>
[05:16:04] Radar: In your form partial: <%= form_with(model: [@project, task]) do |form| %>
[05:16:23] Radar: That way then, it will use the passed-in task instead of always assuming you meant @project.tasks.build
[05:16:24] helpa: Next question, please!
[05:18:06] sevenseacat: has joined #RubyOnRails
[05:30:41] ali_g: brilliant. Didn't know you could use render like that. Looks much better but still throwing an error.:
[05:30:52] ali_g: https://www.irccloud.com/pastebin/5Z3WcYLo/
[05:32:02] ali_g: uh nevermind
[05:32:28] ali_g: I did task: @task before and had an error but now its fine somehow :)
[05:32:34] ali_g: thanks Radar!
[05:39:57] nso95: has joined #RubyOnRails
[05:41:23] Jameser: has joined #RubyOnRails
[05:44:17] Dimik: has joined #RubyOnRails
[05:47:34] srinidhi: has joined #RubyOnRails
[05:58:44] srinidhi: has joined #RubyOnRails
[06:07:20] srinidhi: has joined #RubyOnRails
[06:09:16] bronson: has joined #RubyOnRails
[06:26:53] ur5us: has joined #RubyOnRails
[06:29:35] amperry: has left #RubyOnRails: ("ERC (IRC client for Emacs 24.5.1)")
[06:34:24] bga57: has joined #RubyOnRails
[06:59:33] Jameser: has joined #RubyOnRails
[07:05:18] apeiros: has joined #RubyOnRails
[07:10:11] bronson: has joined #RubyOnRails
[07:13:18] mtkd: has joined #RubyOnRails
[07:13:42] justinweiss: has joined #RubyOnRails
[07:13:43] tycoon177: has joined #RubyOnRails
[07:13:49] dmnd: has joined #RubyOnRails
[07:14:02] fearoffish: has joined #RubyOnRails
[07:16:03] KeyJoo: has joined #RubyOnRails
[07:32:05] alfiemax: has joined #RubyOnRails
[07:39:03] workmad3: has joined #RubyOnRails
[07:54:49] dionysus69: has joined #RubyOnRails
[08:01:24] conta: has joined #RubyOnRails
[08:11:16] bronson: has joined #RubyOnRails
[08:13:30] ferr: has joined #RubyOnRails
[08:20:00] noocx: has joined #RubyOnRails
[08:21:12] ferr: has left #RubyOnRails: ("WeeChat 2.0")
[08:30:19] Puffball: has joined #RubyOnRails
[08:33:41] noob_on_rails: has joined #RubyOnRails
[08:51:30] ams__: has joined #RubyOnRails
[08:52:13] srinidhi: has joined #RubyOnRails
[09:00:05] mikecmpbll: has joined #RubyOnRails
[09:02:59] DrYockel: has joined #RubyOnRails
[09:10:09] marr: has joined #RubyOnRails
[09:12:05] bronson: has joined #RubyOnRails
[09:25:43] jottr: has joined #RubyOnRails
[09:35:54] srinidhi: has joined #RubyOnRails
[09:37:20] KeyJoo: has joined #RubyOnRails
[09:37:40] defsdoor: has joined #RubyOnRails
[09:39:57] workmad3: has joined #RubyOnRails
[09:42:08] dionysus69: has joined #RubyOnRails
[09:47:42] cabotto: has joined #RubyOnRails
[09:49:20] iamarun: has joined #RubyOnRails
[09:53:50] mtkd: has joined #RubyOnRails
[09:54:17] jackhum: has joined #RubyOnRails
[10:01:31] mikecmpbll: has joined #RubyOnRails
[10:12:28] l_tonz: has joined #RubyOnRails
[10:12:57] bronson: has joined #RubyOnRails
[10:12:59] mikecmpb_: has joined #RubyOnRails
[10:27:34] noocx: can you help me with this please? https://gist.github.com/noocx/3be4be613bc177631936a66acdcb745e
[10:31:10] Cavallari: has joined #RubyOnRails
[10:35:37] drptbl: has joined #RubyOnRails
[10:38:46] noob_on_rails: if i have constructed this string "ExampleHelper.one_method"
[10:39:04] noob_on_rails: how can i flat send() it?
[10:39:19] alfiemax: has joined #RubyOnRails
[10:40:17] drptbl: has joined #RubyOnRails
[10:40:33] cabotto: has joined #RubyOnRails
[10:41:33] iamarun: has joined #RubyOnRails
[10:45:03] tbuehlmann: noob_on_rails: rather not?
[10:46:44] zwliew: has joined #RubyOnRails
[10:48:00] noob_on_rails: u mean i shouldnt?
[10:48:26] noob_on_rails: dang :p , i have to kind of metaprogram various helpers and also various methods for each helper
[10:48:36] noob_on_rails: or do it dynamically anyway
[10:49:20] noob_on_rails: else ill have to write a 300 line switch -.- , what do you propose tbuehlmann ?
[10:49:35] cabotto: has joined #RubyOnRails
[10:51:14] workmad3: has joined #RubyOnRails
[10:52:50] za1b1tsu: has joined #RubyOnRails
[10:53:23] noob_on_rails: or maybe i could only do the second part with send
[10:53:25] noob_on_rails: hello za1b1tsu
[10:54:09] za1b1tsu: Factory bot bypasses my validations, this works (it should not): FactoryBot.create(:subject, type: Question, name: 'Test', min: 1) and this does not Subject.create(type: Question, name: 'Test', min: 1)
[10:57:44] za1b1tsu: https://gist.github.com/bbtdev/1c82397e650a315e805af208e3d0f4ba
[10:58:03] za1b1tsu: the model in question, the validation is that either both min and max are null, or neither
[11:01:14] cabotto: has joined #RubyOnRails
[11:03:38] za1b1tsu: fixed it, I don't know how
[11:12:39] l_tonz: has joined #RubyOnRails
[11:13:00] w0rd-driven: has joined #RubyOnRails
[11:13:42] Jameser: has joined #RubyOnRails
[11:13:45] bronson: has joined #RubyOnRails
[11:18:44] Ergo: has joined #RubyOnRails
[11:28:03] conta1: has joined #RubyOnRails
[11:30:07] waseem_: has joined #RubyOnRails
[11:51:50] srinidhi: has joined #RubyOnRails
[11:55:48] apeiros: has joined #RubyOnRails
[12:01:06] glasz: has joined #RubyOnRails
[12:07:19] za1b1tsu: I have a scope :averageable, -> where 'type!="Review" AND min IS NOT NULL AND max IS NOT NULL'
[12:07:59] za1b1tsu: it gives me this error ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column "Review" does not exist
[12:08:51] za1b1tsu: there is a sti relation, the one with th scope has many reviews
[12:10:37] mtkd: has joined #RubyOnRails
[12:14:35] bronson: has joined #RubyOnRails
[12:16:19] waseem_: za1b1tsu: Try using where.not(type: "Review").where("min IS NOT NULL AND max IS NOT NULL")
[12:27:33] za1b1tsu: waseem_ it needed single quotes
[12:29:44] fschuindt: has joined #RubyOnRails
[12:34:53] Jameser: has joined #RubyOnRails
[12:43:43] l_tonz: has joined #RubyOnRails
[12:44:35] NL3limin4t0r: has joined #RubyOnRails
[12:46:44] apparition: has joined #RubyOnRails
[12:48:04] _ritchie_: has joined #RubyOnRails
[12:50:38] tcopeland: has joined #RubyOnRails
[12:52:15] za1b1tsu: What is the best way to set default values (no sql) to a model?
[12:57:42] cabotto: has joined #RubyOnRails
[13:06:48] jottr: has joined #RubyOnRails
[13:09:10] Cavallari: has joined #RubyOnRails
[13:11:48] crova: has joined #RubyOnRails
[13:15:35] bronson: has joined #RubyOnRails
[13:15:43] cabotto: has joined #RubyOnRails
[13:21:47] l_tonz: has joined #RubyOnRails
[13:24:19] _aeris_: has joined #RubyOnRails
[13:25:19] mikecmpbll: has joined #RubyOnRails
[13:31:07] mtkd: has joined #RubyOnRails
[13:34:36] jnollette: has joined #RubyOnRails
[13:45:09] l_tonz: has joined #RubyOnRails
[13:54:38] workmad3_: has joined #RubyOnRails
[13:58:12] dionysus69: I have a weird behavior
[13:58:39] dionysus69: I have devise :confirmable
[13:58:43] dionysus69: and include DeviseTokenAuth::Concerns::User bellow that
[13:59:00] dionysus69: in that case regular registration doesn't send out confirmation email, api registration does send one email
[13:59:26] dionysus69: if I put include DeviseTokenAuth::Concerns::User above that devise declaration, then regular sign up sends one email and api registration sends 2 emails
[13:59:29] dionysus69: any ideas ? :S
[14:12:18] l_tonz: has joined #RubyOnRails
[14:12:20] Cache_Money: has joined #RubyOnRails
[14:16:52] dviola: has joined #RubyOnRails
[14:17:03] bronson: has joined #RubyOnRails
[14:24:04] alfiemax: has joined #RubyOnRails
[14:58:31] crova: How is it going folks? I can't figure why I'm ending up with multiple records for the same date (I need one record only per day) https://gist.github.com/crova/92a55c23ae46b5bf0e5089d8d8e790c1 Anyone got any pointers?
[15:04:15] hfp_work: has joined #RubyOnRails
[15:08:56] safetypin: has joined #RubyOnRails
[15:11:17] l_tonz: has joined #RubyOnRails
[15:17:44] bronson: has joined #RubyOnRails
[15:18:12] _ritchie_: has joined #RubyOnRails
[15:26:05] CJKinni: has joined #RubyOnRails
[15:51:49] krawchyk: has joined #RubyOnRails
[15:52:25] _aeris_: has joined #RubyOnRails
[15:53:14] gregf_: has joined #RubyOnRails
[15:55:40] Jameser: has joined #RubyOnRails
[15:59:40] conta: has joined #RubyOnRails
[15:59:48] Saukk: has joined #RubyOnRails
[16:03:55] dionysus69: has joined #RubyOnRails
[16:10:13] AzaToth: has joined #RubyOnRails
[16:18:42] bronson: has joined #RubyOnRails
[16:22:06] troys: has joined #RubyOnRails
[16:43:23] uks: has joined #RubyOnRails
[16:43:24] conta: has joined #RubyOnRails
[16:50:22] xco: has joined #RubyOnRails
[16:51:25] alfiemax: has joined #RubyOnRails
[16:51:28] xco: hi. if i have a URL that looks like this “http://something:3000/uploads/image_request/image/1066/1066386/1066386245/Cat%2520name%2520with%2520spaces.jpg" is there a way in Rails to decode the file name so instale of “%2520” I actually have the spaces?
[16:55:27] Cache_Money: has joined #RubyOnRails
[16:55:29] tcopeland: xco: you can do
[16:55:30] tcopeland: >> URI.unescape(URI.unescape("http://something:3000/uploads/image_request/image/1066/1066386/1066386245/Cat%2520name%2520with%2520spaces.jpg"))
[16:55:30] tcopeland: => "http://something:3000/uploads/image_request/image/1066/1066386/1066386245/Cat name with spaces.jpg"
[16:57:14] xco: tcopeland: :) thank you
[16:57:50] xco: and i believe with Rails 5 we don’t have to require ‘uri’ anymore right?
[17:04:12] apeiros__: has joined #RubyOnRails
[17:08:56] one_zero: has joined #RubyOnRails
[17:09:34] Cache_Money: has joined #RubyOnRails
[17:15:17] l_tonz: has joined #RubyOnRails
[17:15:38] conta: has joined #RubyOnRails
[17:19:28] bronson: has joined #RubyOnRails
[17:21:31] nso95: has joined #RubyOnRails
[17:35:05] l_tonz: has joined #RubyOnRails
[17:41:31] yehowyada: has joined #RubyOnRails
[17:43:05] l_tonz: has joined #RubyOnRails
[17:44:44] arBmind: has joined #RubyOnRails
[17:46:48] conta: has joined #RubyOnRails
[17:50:12] cabotto: has joined #RubyOnRails
[17:50:45] Cache_Money: has joined #RubyOnRails
[17:50:53] marr: has joined #RubyOnRails
[17:56:13] SteenJobs: has joined #RubyOnRails
[17:57:08] l_tonz: has joined #RubyOnRails
[17:59:46] apeiros: has joined #RubyOnRails
[18:06:32] amperry: has joined #RubyOnRails
[18:12:07] l_tonz: has joined #RubyOnRails
[18:13:43] Dimik: has joined #RubyOnRails
[18:15:02] [Butch]: has joined #RubyOnRails
[18:18:07] l_tonz: has joined #RubyOnRails
[18:18:09] apeiros: has joined #RubyOnRails
[18:18:22] tcopeland: I think even before that it was required already… just tried it in a new rails 4 app and didn’t have to require ut
[18:20:18] bronson: has joined #RubyOnRails
[18:25:54] desperek: has joined #RubyOnRails
[18:28:33] dviola: has joined #RubyOnRails
[18:29:29] pbmarcano: has joined #RubyOnRails
[18:33:12] srinidhi: has joined #RubyOnRails
[18:34:12] l_tonz: has joined #RubyOnRails
[18:39:09] sameerynho: has joined #RubyOnRails
[18:42:57] dviola: has joined #RubyOnRails
[18:53:32] conta2: has joined #RubyOnRails
[18:56:23] brent__: has joined #RubyOnRails
[18:58:43] jottr: has joined #RubyOnRails
[19:09:24] kies: has joined #RubyOnRails
[19:11:59] l_tonz: has joined #RubyOnRails
[19:17:41] jottr: has joined #RubyOnRails
[19:19:26] KeyJoo: has joined #RubyOnRails
[19:20:03] conta2: has joined #RubyOnRails
[19:21:02] bronson: has joined #RubyOnRails
[19:27:33] jottr: has joined #RubyOnRails
[19:35:09] Aherin: has joined #RubyOnRails
[19:51:55] orbyt_: has joined #RubyOnRails
[20:12:18] safetypin: has joined #RubyOnRails
[20:13:28] AlHafoudh: what is the best way to handle social login when using rails api-only mode? I have an mobile app on the frontend and I was thinking passing social credentials acquired by the mobile app to the api in a form that omniauth /auth/:provider/callback accepts
[20:13:38] AlHafoudh: but omniauth requires sessions
[20:14:35] l_tonz: has joined #RubyOnRails
[20:23:55] borodin: has joined #RubyOnRails
[20:24:42] borodin: has joined #RubyOnRails
[20:26:33] borodin: kinda clueless on this - I setup a new dir in app/ called app/services where I have created various classes for connecting to other services outside of my app. In those classes in app/services, I can't seem to use logger - it says undefined local variable or method 'logger'
[20:27:06] workmad3: has joined #RubyOnRails
[20:27:07] borodin: so I created a generic_service.rb defining a GenericService class which contains logger = Rails.logger, but this didn't change the error.
[20:27:13] borodin: this is rails 5.1
[20:27:23] borodin: can anyone give me the secret sauce?
[20:27:31] borodin: I will be eternally grateful
[20:28:00] jottr: has joined #RubyOnRails
[20:33:21] cpruitt: has joined #RubyOnRails
[20:37:09] orbyt_: has joined #RubyOnRails
[20:39:51] [Butch]: has joined #RubyOnRails
[20:43:01] conceivably: has joined #RubyOnRails
[20:51:41] workmad3: has joined #RubyOnRails
[21:05:50] l_tonz: has joined #RubyOnRails
[21:13:16] ebsen: has joined #RubyOnRails
[21:21:44] alfiemax: has joined #RubyOnRails
[21:22:06] ebsen: has joined #RubyOnRails
[21:22:15] bronson: has joined #RubyOnRails
[21:22:37] orbyt_: has joined #RubyOnRails
[21:23:52] unreal: has joined #RubyOnRails
[21:27:56] jottr: has joined #RubyOnRails
[21:29:05] l_tonz: has joined #RubyOnRails
[21:31:42] arBmind: has joined #RubyOnRails
[21:36:11] ebsen: has joined #RubyOnRails
[21:39:27] ebsen: has joined #RubyOnRails
[21:41:47] ebsen: has joined #RubyOnRails
[21:42:16] herbst: has joined #RubyOnRails
[21:44:10] herbst: Not exactly a Rails question, and maybe someone has done something similar. I have a web applications and many (remote) servers that do things and feed of data from the web application. This can be easily be done by master->slave replication using postgres. However the slaves also need to report statistics back to the web application. And this is where i am stuck. Its a lot of data, and i feel i cant just remotely connect to my main db to write
[21:44:10] herbst: it there without having the web app suffering
[21:44:56] fryguy: herbst: not really a detailed enough problem definition, but message queues are probably the answer you are looking for
[21:46:12] herbst: This is basically the direction logstash would be as well?
[21:46:12] conceivably: Any opinions on sidekiq-cron vs. sidekiq-scheduler?
[21:46:44] hpfmn: has joined #RubyOnRails
[21:47:09] hpfmn: I'm running an instance of redmine and after an update it stopped sending mail
[21:48:49] hpfmn: I tried to enable the log to see if something fails but all action mailer says in the log is "Sent email "SUBJECT"" and then the list of addresses it was sent to
[21:48:56] hpfmn: but the mails doesn't get delivered
[21:49:01] herbst: To clearify it a bit: My "slaves" are email servers. And i need to count emails, as well as log some of them. Both should reflect more or less live in the web application.
[21:49:10] hpfmn: *don't get delivered
[21:49:29] hpfmn: I tested sending a mail via telnet and smtp and via sendmail
[21:49:31] SteenJobs: has joined #RubyOnRails
[21:49:33] hpfmn: both is working perfectly
[21:49:40] hpfmn: is there anyway to debug what is going on?
[21:50:01] hpfmn: I don't know much about rails and it seems quite complicated
[21:50:58] herbst: hpfmn, i assume you checked your spam directory and everything?
[21:51:20] hpfmn: herbst: yeah sure
[21:51:32] herbst: hpfmn, however this sounds like a issue with Redmine if its happened within the update, maybe you need to ask them directly
[21:51:35] fryguy: did the way you configure smtp server change in the update
[21:51:56] hpfmn: I didn't change anything in the configuration
[21:52:09] hpfmn: actually there is not much configuration of the smtp server
[21:52:17] hpfmn: I guess it is just using default values
[21:52:20] hpfmn: which should be fine
[21:52:45] fryguy: well, apparently it's not fine, since it doesn't work anymore
[21:53:20] hpfmn: fryguy: haha you're right
[21:53:35] hpfmn: it is just frustration to work without an error message ;)
[21:53:56] fryguy: what version did you upgrade from-to
[21:56:06] l_tonz: has joined #RubyOnRails
[21:56:06] hpfmn: I basically upgraded from debian jessie to stretch - that means from 3.0 to 3.3.1
[21:56:19] fryguy: so, you upgraded your entire operating system?
[21:56:27] hpfmn: fryguy: yep
[21:56:37] fryguy: what steps have you done to conclude that it's definitely only redmine that is the cause of the issue
[21:56:44] fryguy: seems premature to be in here
[21:57:22] hpfmn: fryguy: I send a mail via sendmail and telnet via smtp and it works fine
[21:57:40] hpfmn: so I'm assuming there is an redmine/rails issue somewhere
[22:01:23] hpfmn: fryguy: and I'm basically asking if you guys know how to turn on more verbosity in the log
[22:01:41] fryguy: i assume you've followed these steps: http://www.redmine.org/projects/redmine/wiki/EmailConfiguration ?
[22:04:10] fryguy: what does the configuration stanza for email_delivery show in your config/configuration.yml file
[22:05:01] hpfmn: fryguy: there is no configuration
[22:06:25] fryguy: so, follow the guide i linked to configure email sending
[22:07:13] hpfmn: fryguy: I just set it up with no auth and smtp and nothing changed
[22:07:30] hpfmn: maybe it is also debian because they handle this instance thing different somehow
[22:07:39] hpfmn: but I think there should be some error message in the log?
[22:07:44] hpfmn: if something went wrong?
[22:08:46] fryguy: maybe, maybe not
[22:10:19] fryguy: it could be still delivering mail, just not via a mechanism that you are expecting (local mail spool, for example), or using the deprecated email.yml file, or something else. redmine also doesn't have much for logging in the first place.
[22:11:06] l_tonz: has joined #RubyOnRails
[22:12:06] dviola: has joined #RubyOnRails
[22:12:20] hpfmn: I'm I set up the thing in the file and also tried to add a config to instances/default/config
[22:12:27] hpfmn: doesn't seem to help in anyway
[22:21:35] Radar: GOOD MORNING
[22:23:05] bronson: has joined #RubyOnRails
[22:25:46] rrichardsr3: has joined #RubyOnRails
[22:39:25] gambl0re: has joined #RubyOnRails
[22:46:55] conceivably: has left #RubyOnRails: ("ERC (IRC client for Emacs 25.3.1)")
[22:49:13] alfiemax: has joined #RubyOnRails
[22:59:10] conceivably: has joined #RubyOnRails
[23:00:45] orbyt_: has joined #RubyOnRails
[23:03:57] unreal: has joined #RubyOnRails
[23:12:45] jottr: has joined #RubyOnRails
[23:12:53] l_tonz: has joined #RubyOnRails
[23:21:53] alfiemax: has joined #RubyOnRails
[23:23:09] workmad3: has joined #RubyOnRails
[23:23:23] Intii: has joined #RubyOnRails
[23:23:54] bronson: has joined #RubyOnRails
[23:24:06] jobewan: has joined #RubyOnRails
[23:25:02] Intii: Hi everyone, I have a organization/logic question... I have a model called School and it needs to be accessed via /schools and /conferences/:id/schools. Is the best practice to have one controller and load the data based on params? (I found this https://everydayrails.com/2010/07/13/nested-routes-controllers.html but it is a bit outdated) If that is the best practice, how would I handle creating a school from /schools and /conferenc
[23:25:09] Intii: The later automatically assigning the conference to the school
[23:40:21] jobewan: has joined #RubyOnRails
[23:40:55] mikecmpbll: has joined #RubyOnRails
[23:42:55] Radar: Intii: Yes, that's what you could do.
[23:43:06] Radar: I have another approach that I will Gist up.
[23:44:26] Intii: Cool! Thanks Radar! Also have another question that's similar.. It has to do with users. Users can belong to both a school and a conference and they need to be managed by their respective parent. Would I still follow the same approach? A user created on the conference resource should automatically be assigend to that conference. A user created on the school resource should be assigned to the school
[23:45:18] Radar: Intii: https://gist.github.com/radar/ecbe22f3bf2e05778341c231d342160c
[23:52:26] TViernion: has joined #RubyOnRails
[23:55:14] alfiemax: has joined #RubyOnRails
[23:55:50] tcopeland: has joined #RubyOnRails
[23:58:58] bitch: has joined #RubyOnRails