« Back to channel list

#RubyOnRails - 12 August 2018

« Back 1 day Forward 1 day »
[00:08:55] orbyt_: has joined #RubyOnRails
[00:39:52] Dimik: has joined #RubyOnRails
[00:44:41] Hexafox[I]: has joined #RubyOnRails
[01:15:45] jasmith: has joined #RubyOnRails
[01:17:01] orbyt_: has joined #RubyOnRails
[01:51:48] mojtaba: has joined #RubyOnRails
[01:55:05] chouhoulis: has joined #RubyOnRails
[02:09:18] Technodrome: has joined #RubyOnRails
[02:10:59] akaiiro: has joined #RubyOnRails
[02:32:34] akaiiro: has joined #RubyOnRails
[02:35:35] eckhardt: has joined #RubyOnRails
[02:45:56] orbyt_: has joined #RubyOnRails
[03:14:20] braincrash: has joined #RubyOnRails
[03:31:55] kapil___: has joined #RubyOnRails
[04:02:41] orbyt_: has joined #RubyOnRails
[04:25:18] Saukk: has joined #RubyOnRails
[05:20:10] mojtaba: has joined #RubyOnRails
[06:02:14] tpendragon: has joined #RubyOnRails
[06:16:38] reber: has joined #RubyOnRails
[06:34:23] mojtaba: has joined #RubyOnRails
[06:57:13] mojtaba: has joined #RubyOnRails
[07:14:45] za1b1tsu: has joined #RubyOnRails
[07:33:21] ragsagar: has joined #RubyOnRails
[07:44:28] ragsagar: I have a time field in a model. It is returning time as string when I call field_before_type_cast from rails console. But when I call the same in spec I get a Time object. More details: https://dpaste.de/4fyj
[07:44:50] lexileo: has joined #RubyOnRails
[07:52:34] uksio: has joined #RubyOnRails
[07:59:40] sameerynho: has joined #RubyOnRails
[08:01:01] apparition: has joined #RubyOnRails
[08:11:55] quazimodo: has joined #RubyOnRails
[08:12:36] kapil___: has joined #RubyOnRails
[08:22:18] rootsudo: has joined #RubyOnRails
[08:25:07] Technodrome: has joined #RubyOnRails
[09:14:21] ragsagar: has joined #RubyOnRails
[09:28:34] Dbugger: has joined #RubyOnRails
[10:09:05] gheegh: has joined #RubyOnRails
[10:16:23] mikecmpbll: has joined #RubyOnRails
[10:38:48] Hexafox[I]: has joined #RubyOnRails
[11:16:31] ciro: has joined #RubyOnRails
[11:18:24] lexileo: has joined #RubyOnRails
[11:37:34] kapil___: has joined #RubyOnRails
[11:43:41] patcito: has joined #RubyOnRails
[11:46:37] Saukk: has joined #RubyOnRails
[11:59:17] DrYockel: has joined #RubyOnRails
[12:07:24] Sylario: has joined #RubyOnRails
[12:14:46] apeiros: ragsagar: I'm sure there's a question hidden in there somewhere…
[12:16:28] gheegh: has joined #RubyOnRails
[12:22:59] ragsagar: apeiros, Any idea why it is not returning time as string in spec?
[12:24:15] apeiros: ah, you mean the before_type_cast? are you using the same db for the env you run rspec and the env you run rails console?
[12:35:52] mojtaba: has joined #RubyOnRails
[12:57:20] GodFather: has joined #RubyOnRails
[13:03:44] dviola: has joined #RubyOnRails
[13:15:24] srinidhi: has joined #RubyOnRails
[13:21:54] Pip: has joined #RubyOnRails
[13:23:07] Technodrome: has joined #RubyOnRails
[13:39:41] GodFather: has joined #RubyOnRails
[13:46:38] KevinSjoberg: has joined #RubyOnRails
[13:54:54] ragsagar: apeiros, yes, postgres
[13:55:47] apeiros: hm, ok, no idea then. the value differing before type cast usually means that the source differs.
[13:56:09] apeiros: ah, one remaining case could be that one value actually is read from the db, while the other is not from the db
[13:56:24] apeiros: not sure how before type cast acts in that case
[14:00:15] rootsudo: has joined #RubyOnRails
[14:01:01] rootsudo: has joined #RubyOnRails
[14:01:47] rootsudo: has joined #RubyOnRails
[14:02:35] rootsudo: has joined #RubyOnRails
[14:03:32] rootsudo: has joined #RubyOnRails
[14:16:42] dviola: has joined #RubyOnRails
[14:45:11] improv42: has joined #RubyOnRails
[15:09:46] Technodrome: has joined #RubyOnRails
[15:10:28] Dimik: has joined #RubyOnRails
[15:29:51] improv42: has joined #RubyOnRails
[15:41:24] fmcgeough: has joined #RubyOnRails
[16:05:22] chouhoulis: has joined #RubyOnRails
[16:08:51] duderonomy: has joined #RubyOnRails
[16:56:27] ciro: has joined #RubyOnRails
[17:08:39] mojtaba: has joined #RubyOnRails
[17:22:43] duderonomy: has joined #RubyOnRails
[17:28:06] dtzuzu: has joined #RubyOnRails
[17:36:44] platoon23: has joined #RubyOnRails
[17:42:06] ciro: has joined #RubyOnRails
[18:16:48] tdy: has joined #RubyOnRails
[18:32:42] conta: has joined #RubyOnRails
[18:50:58] Fusselgesicht: has joined #RubyOnRails
[18:55:52] orbyt_: has joined #RubyOnRails
[19:09:52] kapil___: has joined #RubyOnRails
[20:03:18] levifig: has joined #RubyOnRails
[20:05:41] alfiemax: has joined #RubyOnRails
[20:08:43] alfiemax_: has joined #RubyOnRails
[20:24:22] ellcs: has joined #RubyOnRails
[20:33:33] mojtaba: has joined #RubyOnRails
[20:48:37] ellcs: has joined #RubyOnRails
[20:49:10] RedSword: has joined #RubyOnRails
[21:03:36] amincd: has joined #RubyOnRails
[21:07:58] amincd: Hi, can anyone point me to a tutorial/guide for integrating Paperclip into a Rails API
[21:08:24] amincd: I've installed the Paperclip gem and am able to upload images using the console
[21:09:11] amincd: Now I'd like to be able to upload images via an API endpoint
[21:09:56] amincd: I have a model like this: https://pastebin.com/GWHVPB4S and a controller like this: https://pastebin.com/z8LGvb96
[21:23:35] Technodrome: has joined #RubyOnRails
[21:33:42] ur5us: has joined #RubyOnRails
[21:38:26] Technodrome: has joined #RubyOnRails
[21:58:22] Technodrome: has joined #RubyOnRails
[22:05:18] dopie: has joined #RubyOnRails
[22:05:22] dopie: hey guys .background-image-holder
[22:05:22] dopie: %img.background-image{:alt => "Background Image", :src => "app/assets/images/video-bg.jpg"}/
[22:05:34] dopie: how can i use of the assest pipeline for this image?
[22:06:17] dopie: thats a dopie question
[22:06:19] dopie: figured it out
[22:06:49] wethu: has joined #RubyOnRails
[22:12:38] atrius: has joined #RubyOnRails
[22:17:30] dionysus69: has joined #RubyOnRails
[22:39:38] fmcgeough: has joined #RubyOnRails
[22:42:53] amincd: I was able to figure it out.. The controller/model were fine. I just followed this tutorial (which requires installing the ARC Chrome extension): http://shawndeprey.blogspot.com/2013/05/puting-image-uploads-using-paperclip.html
[22:56:31] Radar: GOOD MORNING
[23:18:34] quazimodo: has joined #RubyOnRails
[23:19:22] agent_white: has joined #RubyOnRails
[23:30:30] orbyt_: has joined #RubyOnRails
[23:35:41] kapil___: has joined #RubyOnRails
[23:47:51] tdy: has joined #RubyOnRails