« Back to channel list

#RubyOnRails - 19 May 2018

« Back 1 day Forward 1 day »
[00:07:23] foli: can i use project has_many :employees and employee has_many :projects
[00:12:46] alfiemax: has joined #RubyOnRails
[00:14:34] Technodrome: has joined #RubyOnRails
[00:22:45] weird_error: has joined #RubyOnRails
[00:46:14] cagomez: has joined #RubyOnRails
[00:49:41] Technodrome: has joined #RubyOnRails
[00:56:24] alfiemax: has joined #RubyOnRails
[01:06:43] orbyt_: has joined #RubyOnRails
[01:14:46] Puffball: has joined #RubyOnRails
[01:23:53] za1b1tsu_: has joined #RubyOnRails
[01:27:30] darkhanb: has joined #RubyOnRails
[01:38:57] Technodrome: has joined #RubyOnRails
[01:45:45] wethu: has joined #RubyOnRails
[01:55:59] duderonomy: has joined #RubyOnRails
[02:25:20] alfiemax: has joined #RubyOnRails
[02:41:15] kapil___: has joined #RubyOnRails
[02:44:22] wethu: has joined #RubyOnRails
[03:01:29] wethu: has joined #RubyOnRails
[03:11:54] za1b1tsu_: has joined #RubyOnRails
[03:15:20] tjbp: has joined #RubyOnRails
[03:17:45] MrCrackPotBuilde: has joined #RubyOnRails
[03:17:46] dbugger_: has joined #RubyOnRails
[03:48:57] Dimik: has joined #RubyOnRails
[03:53:23] segy: has joined #RubyOnRails
[04:01:01] Technodrome: has joined #RubyOnRails
[04:13:01] nickjj_: has joined #RubyOnRails
[04:39:11] Technodrome: has joined #RubyOnRails
[04:57:48] psychoslave: has joined #RubyOnRails
[04:59:56] za1b1tsu_: has joined #RubyOnRails
[05:02:32] lord4163: has joined #RubyOnRails
[05:40:43] cschneid_: has joined #RubyOnRails
[05:50:58] reber: has joined #RubyOnRails
[05:57:47] wethu: has joined #RubyOnRails
[06:11:42] alfiemax: has joined #RubyOnRails
[06:18:05] za1b1tsu_: has joined #RubyOnRails
[06:38:31] mtkd: has joined #RubyOnRails
[06:48:05] psychoslave: has joined #RubyOnRails
[06:57:01] quazimodo: has joined #RubyOnRails
[06:58:03] srinidhi: has joined #RubyOnRails
[07:16:29] sandstrom: has joined #RubyOnRails
[07:52:38] psychoslave: has joined #RubyOnRails
[08:01:42] Puffball: has joined #RubyOnRails
[08:06:04] _aeris_: has joined #RubyOnRails
[08:09:16] marr: has joined #RubyOnRails
[08:22:42] reber: has joined #RubyOnRails
[08:26:31] srinidhi: has joined #RubyOnRails
[09:04:33] kapil___: has joined #RubyOnRails
[09:08:11] Ropeney: has joined #RubyOnRails
[09:08:34] lxsameer: has joined #RubyOnRails
[09:09:26] mtkd: has joined #RubyOnRails
[09:13:39] apeiros: has joined #RubyOnRails
[09:22:37] yottanami: has joined #RubyOnRails
[09:23:01] yottanami: I tried to generate an scaffold it just show text box for a relation (refrences). Is any solution to generate a drop down list in ui for one to many relations automatic?
[09:44:51] Saukk: has joined #RubyOnRails
[09:47:30] mtkd: has joined #RubyOnRails
[09:51:10] gambl0re: has joined #RubyOnRails
[10:06:06] easzero: has joined #RubyOnRails
[10:53:14] weird_error: has joined #RubyOnRails
[10:55:11] thone: has joined #RubyOnRails
[10:57:22] _aeris_: has joined #RubyOnRails
[11:02:27] alfiemax: has joined #RubyOnRails
[11:12:52] alfiemax: has joined #RubyOnRails
[11:18:02] Fernando-Basso: has joined #RubyOnRails
[11:19:51] za1b1tsu_: has joined #RubyOnRails
[11:20:35] ur5us: has joined #RubyOnRails
[11:30:38] alfiemax: has joined #RubyOnRails
[11:35:53] psychoslave: has joined #RubyOnRails
[11:37:21] quazimodo: has joined #RubyOnRails
[11:38:45] mikecmpbll: has joined #RubyOnRails
[11:40:25] psychoslave: has joined #RubyOnRails
[11:45:38] andywww: has joined #RubyOnRails
[11:51:05] dionysus69: has joined #RubyOnRails
[11:51:34] andywww: i have an arrangement where Trip has_many Ride has_many Waypoint, I want to keep a cache on Ride of the position of the first and last associated Waypoint so i can say “Ride starts at X and finishes at Y” and also a cache on Trip of the first and last Ride, etc. At the minute I’m running these checks after_save on the Waypoint if location_changed? but it feels inefficient due to there being sometimes in excess of 50 waypoints in a ride. Is there a mo
[11:51:35] andywww: efficient way of the Waypoint being able to query wether it is the first or last associated with the ride without having to do if waypoint.ride.waypoints.first/waypoint.ride.waypoints.last on every waypoint save?
[11:56:11] dbugger_: I am using "devise_token_auth" and I cant test for some reason the sign-out process: https://www.hastebin.com/hizecopawo.rb
[11:56:25] dbugger_: Can someone tell me if they see something wrong with my test?
[11:57:34] za1b1tsu: has joined #RubyOnRails
[12:05:51] alfiemax: has joined #RubyOnRails
[12:12:44] sidx64: has joined #RubyOnRails
[12:15:49] sidx64_: has joined #RubyOnRails
[12:18:25] jnollette: has joined #RubyOnRails
[12:25:25] conta: has joined #RubyOnRails
[12:30:54] psychoslave: has joined #RubyOnRails
[12:35:25] psychoslave: has joined #RubyOnRails
[12:47:52] cagomez: has joined #RubyOnRails
[12:50:53] psychoslave: has joined #RubyOnRails
[12:54:21] mikecmpbll: has joined #RubyOnRails
[12:55:25] psychoslave: has joined #RubyOnRails
[13:00:53] psychoslave: has joined #RubyOnRails
[13:05:25] psychoslave: has joined #RubyOnRails
[13:06:22] trautwein: has joined #RubyOnRails
[13:12:29] Technodrome: has joined #RubyOnRails
[13:14:24] apparition: has joined #RubyOnRails
[13:27:06] foli: has joined #RubyOnRails
[13:35:11] nopolitica: has joined #RubyOnRails
[13:40:12] andywww: has joined #RubyOnRails
[14:06:47] woohoou: has joined #RubyOnRails
[14:12:05] psychoslave: has joined #RubyOnRails
[14:12:19] orbyt_: has joined #RubyOnRails
[14:12:49] psychoslave: has joined #RubyOnRails
[14:17:39] jottr: has joined #RubyOnRails
[14:18:41] dionysus69: has joined #RubyOnRails
[14:29:06] duderonomy: has joined #RubyOnRails
[14:29:18] pLaTo0n: has joined #RubyOnRails
[14:39:38] za1b1tsu_: has joined #RubyOnRails
[14:42:30] catbusters_: has joined #RubyOnRails
[14:43:29] craysiii: has joined #RubyOnRails
[14:43:56] mattwc: has joined #RubyOnRails
[14:44:02] argoneus: has joined #RubyOnRails
[14:46:35] digitalfiz: has joined #RubyOnRails
[14:49:03] duderonomy: has joined #RubyOnRails
[14:52:26] quazimodo: has joined #RubyOnRails
[14:56:46] chouhoulis: has joined #RubyOnRails
[15:05:08] craysiii: has joined #RubyOnRails
[15:05:50] mikecmpbll: has joined #RubyOnRails
[15:06:18] reber: has joined #RubyOnRails
[15:10:29] cagomez: has joined #RubyOnRails
[15:26:16] za1b1tsu_: has joined #RubyOnRails
[15:30:43] dionysus69: has joined #RubyOnRails
[15:35:30] mjolnird: has joined #RubyOnRails
[15:36:01] bphogan: has joined #RubyOnRails
[15:36:11] podman: has joined #RubyOnRails
[15:36:14] mmun: has joined #RubyOnRails
[15:36:48] jxf: has joined #RubyOnRails
[15:37:19] craysiii: has joined #RubyOnRails
[15:37:35] dnyy: has joined #RubyOnRails
[15:38:22] epochwolf: has joined #RubyOnRails
[15:38:35] jottr: has joined #RubyOnRails
[15:40:16] FrostCandy: has joined #RubyOnRails
[15:41:03] FrostCandy: Hello, is therer a command i can use to see all accessable variables? I need to know what @vars I can access from a method. Something like puts @vars_avail
[15:42:11] tbuehlmann: FrostCandy: #instance_variables returns an array of instance variable names
[15:42:30] tbuehlmann: in rails, instance_values returns you something including the values
[15:42:31] FrostCandy: tbuehlmann: haha nice thanks
[15:42:58] tbuehlmann: if you're using pry, you can call `ls` when "in" an object to see all kinds of methods and variables
[15:43:07] FrostCandy: is the use just puts #instance_variables ?
[15:43:10] FrostCandy: trying it now
[15:44:00] tbuehlmann: puts instance_variables
[15:44:15] tbuehlmann: the # only denotes that it's an instance method
[15:45:10] FrostCandy: oh ok thanks agaon
[15:51:02] mtkd: has joined #RubyOnRails
[15:51:16] orbyt_: has joined #RubyOnRails
[15:55:22] quazimodo: has joined #RubyOnRails
[16:32:09] DrYockel: has joined #RubyOnRails
[16:32:20] za1b1tsu_: has joined #RubyOnRails
[16:40:24] uks: has joined #RubyOnRails
[16:52:45] mikecmpbll: has joined #RubyOnRails
[16:55:32] borodin: has joined #RubyOnRails
[17:02:52] Technodrome: has joined #RubyOnRails
[17:03:39] nopolitica: has joined #RubyOnRails
[17:06:18] benlieb: has joined #RubyOnRails
[17:08:22] benlieb: I'm trying to upgrade rails from 4.2.10 to 5.0.7. I've changed the gemfile to 5.0.7, then ran the command `bundle update rails --patch` I'm not sure if this is the proper way to do this. I'm getting a bunch of unresolve issues and not sure how to move forward. Can anyone help?
[17:08:23] benlieb: https://gist.github.com/benlieb/1d6f4c61c36c754ebb4990d73c74ad39
[17:13:32] lunarkitty7: has joined #RubyOnRails
[17:15:44] dionysus69: has joined #RubyOnRails
[17:18:01] segy: has joined #RubyOnRails
[17:22:11] mikecmpbll: has joined #RubyOnRails
[17:35:51] cagomez: has joined #RubyOnRails
[17:53:26] Fernando-Basso: has joined #RubyOnRails
[17:58:49] mtkd: has joined #RubyOnRails
[18:15:45] Technodrome: has joined #RubyOnRails
[18:19:35] srinidhi: has joined #RubyOnRails
[18:20:23] za1b1tsu_: has joined #RubyOnRails
[18:23:23] Cache_Money: has joined #RubyOnRails
[18:29:47] weird_error: has joined #RubyOnRails
[18:31:09] creature: has joined #RubyOnRails
[18:38:31] Cache_Money: has joined #RubyOnRails
[18:46:19] segy: has joined #RubyOnRails
[18:47:58] Cache_Money: has joined #RubyOnRails
[18:51:57] harrycs: has joined #RubyOnRails
[18:53:54] Dimik: has joined #RubyOnRails
[18:55:47] weaksauce: has joined #RubyOnRails
[19:01:27] Bonjourm8: has joined #RubyOnRails
[19:09:47] dviola: has joined #RubyOnRails
[19:13:44] alfiemax: has joined #RubyOnRails
[19:30:38] dionysus69: has joined #RubyOnRails
[19:42:49] duderonomy: has joined #RubyOnRails
[19:52:47] ur5us: has joined #RubyOnRails
[19:54:44] sidx64: has joined #RubyOnRails
[19:56:45] duderonomy: has joined #RubyOnRails
[19:56:59] sidx64_: has joined #RubyOnRails
[19:57:19] cagomez: has joined #RubyOnRails
[19:58:50] Bonjourm8: has joined #RubyOnRails
[20:08:27] za1b1tsu_: has joined #RubyOnRails
[20:16:15] cagomez: has joined #RubyOnRails
[20:32:25] mikecmpbll: has joined #RubyOnRails
[20:33:53] hfp_work: has joined #RubyOnRails
[21:06:53] Fernando-Basso: has joined #RubyOnRails
[21:07:56] hfp_work: has joined #RubyOnRails
[21:13:28] fragamus: has joined #RubyOnRails
[21:15:20] marr: has joined #RubyOnRails
[21:20:17] mtkd: has joined #RubyOnRails
[21:21:43] duderonomy: has joined #RubyOnRails
[21:27:59] mikecmpbll: has joined #RubyOnRails
[21:39:11] duderonomy: has joined #RubyOnRails
[21:56:30] za1b1tsu_: has joined #RubyOnRails
[22:14:59] ur5us: has joined #RubyOnRails
[22:21:43] woohoou: has joined #RubyOnRails
[22:27:39] Technodrome: has joined #RubyOnRails
[22:32:17] GodFather: has joined #RubyOnRails
[22:35:06] hfp_work: has joined #RubyOnRails
[22:35:38] Puffball: has joined #RubyOnRails
[22:48:07] hfp_work: has joined #RubyOnRails
[22:59:43] ircmaxell: has joined #RubyOnRails
[23:03:54] harrycs: has joined #RubyOnRails
[23:04:59] kapil___: has joined #RubyOnRails
[23:20:23] tejasmanohar: has joined #RubyOnRails
[23:34:53] GodFather: has joined #RubyOnRails
[23:44:33] za1b1tsu_: has joined #RubyOnRails