« Back to channel list

#RubyOnRails - 20 May 2017

« Back 1 day Forward 1 day »
[00:02:46] ascarter: has joined #RubyOnRails
[00:05:29] bronson: has joined #RubyOnRails
[00:16:57] urkle: has joined #RubyOnRails
[00:17:34] tanuki: has joined #RubyOnRails
[00:17:38] ResidentBiscuit: has joined #RubyOnRails
[00:30:07] Mission-Critical: has joined #RubyOnRails
[01:03:31] knight33: has joined #RubyOnRails
[01:06:20] bga57: has joined #RubyOnRails
[01:08:42] ResidentBiscuit: has joined #RubyOnRails
[01:09:39] waseem_: has joined #RubyOnRails
[01:50:16] duderonomy: has joined #RubyOnRails
[01:59:22] Technodrome: has joined #RubyOnRails
[02:03:12] HoierM: has joined #RubyOnRails
[02:03:57] HoierM: has joined #RubyOnRails
[02:04:42] HoierM: has joined #RubyOnRails
[02:06:06] bronson: has joined #RubyOnRails
[02:07:38] hndk: has joined #RubyOnRails
[02:12:01] amperry: has left #RubyOnRails: ("ERC (IRC client for Emacs 24.5.1)")
[02:22:38] rdavila: has joined #RubyOnRails
[02:39:14] patarr: has joined #RubyOnRails
[02:47:03] hndk: has joined #RubyOnRails
[03:00:06] ResidentBiscuit: has joined #RubyOnRails
[03:10:41] ResidentBiscuit: has joined #RubyOnRails
[03:10:47] hobodave: has joined #RubyOnRails
[03:14:57] amperry: has joined #RubyOnRails
[03:20:27] nertzy: has joined #RubyOnRails
[03:24:19] amperry: hey folks, if I've got a Property and I need to reference User twice, once as manager and once as supervisor, is it okay to have two 'has_one' lines, e.g., 'has_one :user, foreign_key: :manager_id' and 'has_one :user, foreign_key: :supervisor_id'?
[03:32:27] fryguy: you'll need to change the syntax a little bit more than that though, otherwise you'll define #user twice
[03:33:07] fryguy: you'll want to do 'has_one :manager' and 'has_one :supervisor' and specify foreign key and class name
[03:33:27] amperry: howzat done?
[03:33:42] nertzy: has joined #RubyOnRails
[03:33:47] fryguy: http://guides.rubyonrails.org/association_basics.html#has-one-association-reference
[03:35:03] bheesham: has joined #RubyOnRails
[03:35:57] amperry: fryguy: so something like: 'has_one :supervisor, class_name: :user, foreign_key: :supervisor_id' ?
[03:46:09] nertzy: has joined #RubyOnRails
[03:55:06] pwnd_nsfw: has joined #RubyOnRails
[04:05:48] srinidhi: has joined #RubyOnRails
[04:07:10] bronson: has joined #RubyOnRails
[04:24:36] rakm: has joined #RubyOnRails
[04:39:30] patarr: has joined #RubyOnRails
[04:40:09] uks: has joined #RubyOnRails
[05:10:13] dmz: has joined #RubyOnRails
[05:11:35] waseem_: has joined #RubyOnRails
[05:19:44] bronson: has joined #RubyOnRails
[05:20:52] wethu: has joined #RubyOnRails
[05:23:51] ayonkhan: has joined #RubyOnRails
[05:35:06] xall: has joined #RubyOnRails
[05:36:44] ayonkhan_: has joined #RubyOnRails
[05:41:42] v|sh: has joined #RubyOnRails
[05:54:37] v|sh: has joined #RubyOnRails
[06:34:05] nertzy: has joined #RubyOnRails
[06:40:19] patarr: has joined #RubyOnRails
[06:41:01] FastJack: has joined #RubyOnRails
[06:46:09] defsdoor: has joined #RubyOnRails
[07:05:43] bronson: has joined #RubyOnRails
[07:29:19] ResidentBiscuit: has joined #RubyOnRails
[07:33:58] blackmesa: has joined #RubyOnRails
[07:36:29] bheesham: has joined #RubyOnRails
[07:39:44] thecharacterman: has joined #RubyOnRails
[07:42:04] b0mbnet: has joined #RubyOnRails
[07:49:36] ResidentBiscuit: has joined #RubyOnRails
[07:50:53] srinidhi: has joined #RubyOnRails
[07:56:31] srinidhi: has joined #RubyOnRails
[08:10:14] ar1a: Hey, I'm trying to save this object but it keeps failing, and no notice or alert is being printed
[08:10:21] ar1a: the server log doesn't tell me why the transaction failed
[08:11:00] ar1a: ah, actually, i think something is breaking with my form
[08:11:23] ar1a: it doesn't look like one of the text_areas is being pushed in the form, i think maybe because im doing stuff to it with jquery?
[08:12:02] Technodrome: has joined #RubyOnRails
[08:12:38] ar1a: yeah it is, im editing the div and so the textarea isn't being POST'd
[08:14:36] mikecmpbll: has joined #RubyOnRails
[08:15:18] ar1a: or the patch, whatever
[08:38:58] bheesham: has joined #RubyOnRails
[08:39:24] ar1a: fixed it
[08:39:25] ar1a: has left #RubyOnRails: ("WeeChat 1.8")
[08:41:18] patarr: has joined #RubyOnRails
[08:45:35] marr: has joined #RubyOnRails
[08:49:04] rgr: has joined #RubyOnRails
[09:06:28] bronson: has joined #RubyOnRails
[09:17:25] blackmesa: has joined #RubyOnRails
[09:25:25] SteenJobs: has joined #RubyOnRails
[09:31:04] |RicharD|: has joined #RubyOnRails
[09:39:57] patarr: has joined #RubyOnRails
[09:41:59] AzaToth: has joined #RubyOnRails
[09:48:32] wethu: has joined #RubyOnRails
[09:59:18] fgielow: has joined #RubyOnRails
[10:07:54] sloggerkhan: has joined #RubyOnRails
[10:15:17] srinidhi: has joined #RubyOnRails
[10:16:41] Ropeney_: has joined #RubyOnRails
[10:17:16] ResidentBiscuit: has joined #RubyOnRails
[10:22:38] ErhardtMundt: has joined #RubyOnRails
[10:30:37] Violentr: has joined #RubyOnRails
[10:30:56] Violentr: ACTION Hello everyone !
[10:31:20] Violentr: (~romank@178.121.224.225) has joined: #ruby
[10:31:20] Violentr: <ViolentR> Can anyone help me ? i have an issue with gem Faraday trying to authenticate with user and password
[10:32:09] Violentr: like so conn.post('api/sessions', user_credentials)
[10:32:35] Violentr: but having response "not found"
[10:41:31] User458764: has joined #RubyOnRails
[10:45:52] wethu: has joined #RubyOnRails
[10:55:03] fgielow: has joined #RubyOnRails
[11:07:27] joelwallis: has joined #RubyOnRails
[11:07:43] bronson: has joined #RubyOnRails
[11:08:49] mdw: has joined #RubyOnRails
[11:16:21] gil_: has joined #RubyOnRails
[11:20:02] arBmind: has joined #RubyOnRails
[11:29:54] Jameser: has joined #RubyOnRails
[11:34:30] sonOfRa: has joined #RubyOnRails
[11:35:49] xall: has joined #RubyOnRails
[11:47:21] xall_: has joined #RubyOnRails
[11:49:37] fgielow: has joined #RubyOnRails
[11:54:52] lxsameer: has joined #RubyOnRails
[11:59:31] DoubleMalt: has joined #RubyOnRails
[12:04:05] shilon: has joined #RubyOnRails
[12:04:23] shilon: hi everyone! Anyone knows why Faker::Company.logo after seed returns logo: nil after seeding. Every other Faker methods work fine. P.S.: I’m using CarrierWave and I have a default logo, could it be the problem?
[12:44:13] Qchmqs__: has joined #RubyOnRails
[12:55:27] blackmesa: has joined #RubyOnRails
[12:59:50] ResidentBiscuit: has joined #RubyOnRails
[13:03:37] sonOfRa: has joined #RubyOnRails
[13:05:26] renegadeandy: has joined #RubyOnRails
[13:06:01] Qchmqs__: has joined #RubyOnRails
[13:08:47] bronson: has joined #RubyOnRails
[13:23:02] defsdoor: has joined #RubyOnRails
[13:28:49] shilon: has joined #RubyOnRails
[13:29:18] mahloun: has joined #RubyOnRails
[13:43:52] bpmedley: has joined #RubyOnRails
[14:03:34] doublemalt_: has joined #RubyOnRails
[14:10:19] Technodrome: has joined #RubyOnRails
[14:18:19] fgielow: has joined #RubyOnRails
[14:19:57] unreal: has joined #RubyOnRails
[14:24:56] srinidhi: has joined #RubyOnRails
[14:27:37] ResidentBiscuit: has joined #RubyOnRails
[14:39:58] mahloun: has joined #RubyOnRails
[14:44:06] v|sh: has joined #RubyOnRails
[14:53:08] User458764: has joined #RubyOnRails
[14:59:09] Ropeney_: has joined #RubyOnRails
[15:00:06] srinidhi: has joined #RubyOnRails
[15:01:44] blackmesa: has joined #RubyOnRails
[15:09:35] bronson: has joined #RubyOnRails
[15:11:14] b0mbnet: has joined #RubyOnRails
[15:26:16] bheesham: has joined #RubyOnRails
[15:43:21] shilon: has joined #RubyOnRails
[15:51:11] HoierM: has joined #RubyOnRails
[15:51:49] Saukk: has joined #RubyOnRails
[15:55:07] DLSteve: has joined #RubyOnRails
[15:56:52] desnudopenguino: has joined #RubyOnRails
[15:57:12] shilon: has left #RubyOnRails: ()
[15:59:35] SteenJobs: has joined #RubyOnRails
[16:06:19] ResidentBiscuit: has joined #RubyOnRails
[16:23:11] marahin: has joined #RubyOnRails
[16:44:07] rgr_: has joined #RubyOnRails
[16:49:47] danguita: has joined #RubyOnRails
[16:52:06] justinweiss: has joined #RubyOnRails
[16:56:27] ResidentBiscuit: has joined #RubyOnRails
[17:00:25] nettoweb_: has joined #RubyOnRails
[17:01:30] xall: has joined #RubyOnRails
[17:03:18] User458764: has joined #RubyOnRails
[17:04:21] nettoweb_: Hello guys, Im deploy my RoR app with Capistrano and Puma... When finish the deploy I get this: 502 Bad Gateway but when I ssh on my server and start uma this way: bundle exec puma -e production -b unix:///home/deploy/myapp/shared/tmp/sockets/puma.sock it works fine
[17:04:31] nettoweb_: does someone know what can be?
[17:05:35] nettoweb_: In my nginx log I'm getting this: connect() to unix:/home/deploy/myapp/shared/tmp/sockets/puma.sock failed (111: Connection refused)
[17:11:04] bronson: has joined #RubyOnRails
[17:11:54] desnudopenguino: how are you starting Puma with capistrano deploying it?
[17:14:43] SteenJobs: has joined #RubyOnRails
[17:16:11] desnudopenguino: it looks like puma isn't being started, or it is, but not with the socket that nginx is expecting, you might get more action over at #capistrano
[17:17:19] nettoweb_: desnudopenguino: Im using https://github.com/seuros/capistrano-puma
[17:19:10] DrYockel1: has joined #RubyOnRails
[17:20:24] dionysus69: has joined #RubyOnRails
[17:22:39] mahloun: has joined #RubyOnRails
[17:22:55] nettoweb__: has joined #RubyOnRails
[17:23:52] SteenJobs: has joined #RubyOnRails
[17:26:32] bheesham: has joined #RubyOnRails
[17:28:04] desnudopenguino: what's your puma.config look like?
[17:41:04] armyriad: has joined #RubyOnRails
[17:41:38] Aherin: has joined #RubyOnRails
[17:44:25] blackmesa: has joined #RubyOnRails
[17:46:37] nettoweb_: desnudopenguino: https://gist.github.com/osnysantos/5823105cac97fc1c20abfb9f063e699c
[17:50:49] lxsameer: has joined #RubyOnRails
[17:58:11] desnudopenguino: i don't use capistrano or puma, but from the look of it, you have it set up alright. for whatever reason puma isn't starting. is there a way to validate the config file? Does the user that runs capistrano have access to write to the pid and socket file directories?
[18:01:12] daydream: has joined #RubyOnRails
[18:09:20] KeyJoo: has joined #RubyOnRails
[18:15:55] DLSteve: has joined #RubyOnRails
[18:34:27] srinidhi: has joined #RubyOnRails
[18:46:52] aljmo_: has joined #RubyOnRails
[18:51:31] aljmo: has joined #RubyOnRails
[19:06:40] User458764: has joined #RubyOnRails
[19:11:46] bronson: has joined #RubyOnRails
[19:12:14] aljmo: has joined #RubyOnRails
[19:13:03] fgielow: has joined #RubyOnRails
[19:19:50] ResidentBiscuit: has joined #RubyOnRails
[19:25:08] danguita: has joined #RubyOnRails
[19:26:49] bheesham: has joined #RubyOnRails
[19:31:32] aljmo_: has joined #RubyOnRails
[19:39:13] aljmo__: has joined #RubyOnRails
[19:41:14] renegadeandy: has joined #RubyOnRails
[19:49:52] bheesham: has joined #RubyOnRails
[20:13:08] gambl0re: has joined #RubyOnRails
[20:28:54] Technodrome: has joined #RubyOnRails
[20:44:07] SteenJobs: has joined #RubyOnRails
[20:51:19] blackmesa: has joined #RubyOnRails
[20:53:48] bheesham: has joined #RubyOnRails
[21:08:29] Technodrome: has joined #RubyOnRails
[21:12:33] bronson: has joined #RubyOnRails
[21:27:06] blackmesa: has joined #RubyOnRails
[21:27:20] Technodrome: has joined #RubyOnRails
[21:32:26] renegadeandy: has joined #RubyOnRails
[21:35:51] djbkd: has joined #RubyOnRails
[21:57:03] bheesham: has joined #RubyOnRails
[22:04:35] bheesham: has joined #RubyOnRails
[22:10:20] Technodrome: has joined #RubyOnRails
[22:24:28] SteenJobs: has joined #RubyOnRails
[23:08:43] bheesham: has joined #RubyOnRails
[23:13:49] bronson: has joined #RubyOnRails
[23:22:54] nahtnam: has joined #RubyOnRails
[23:28:07] renegadeandy: has joined #RubyOnRails
[23:49:45] arBmind: has joined #RubyOnRails