« Back to channel list

#RubyOnRails - 19 November 2018

« Back 1 day
[00:00:53] jhass: has joined #RubyOnRails
[00:26:29] reptilain_brain: has left #RubyOnRails: ()
[01:00:39] Jervis_: has joined #RubyOnRails
[01:07:22] sevenseacat: has joined #RubyOnRails
[01:10:59] chouhoulis: has joined #RubyOnRails
[02:08:31] Saukk: has joined #RubyOnRails
[02:17:47] fcser__: has joined #RubyOnRails
[02:21:06] Exuma: has joined #RubyOnRails
[02:27:50] jrhorn424: has joined #RubyOnRails
[02:29:16] jrhorn424: has joined #RubyOnRails
[03:00:17] jrhorn424: has joined #RubyOnRails
[03:06:16] nertzy: has joined #RubyOnRails
[03:52:33] LambdaSource: has joined #RubyOnRails
[04:06:15] ivanskie: has joined #RubyOnRails
[04:08:33] braincrash: has joined #RubyOnRails
[04:14:03] ivanskie: has joined #RubyOnRails
[04:20:10] timdotrb: has joined #RubyOnRails
[04:25:47] MoritaShinobu: has joined #RubyOnRails
[04:51:41] LambdaSource: has joined #RubyOnRails
[04:52:48] LambdaSource: has joined #RubyOnRails
[04:57:30] srinidhi: has joined #RubyOnRails
[04:58:58] srinidhi: has joined #RubyOnRails
[05:02:53] certhird_: has joined #RubyOnRails
[05:05:22] timdotrb: has joined #RubyOnRails
[05:06:03] timdotrb: has joined #RubyOnRails
[05:06:59] timdotrb: has joined #RubyOnRails
[05:07:46] timdotrb: has joined #RubyOnRails
[05:08:29] timdotrb: has joined #RubyOnRails
[05:09:09] timdotrb: has joined #RubyOnRails
[05:10:05] timdotrb: has joined #RubyOnRails
[05:10:54] timdotrb: has joined #RubyOnRails
[05:11:36] timdotrb: has joined #RubyOnRails
[05:12:23] timdotrb: has joined #RubyOnRails
[05:13:10] timdotrb: has joined #RubyOnRails
[05:13:54] timdotrb: has joined #RubyOnRails
[05:14:45] timdotrb: has joined #RubyOnRails
[05:15:36] timdotrb: has joined #RubyOnRails
[05:16:19] timdotrb: has joined #RubyOnRails
[05:17:04] timdotrb: has joined #RubyOnRails
[05:17:49] timdotrb: has joined #RubyOnRails
[05:18:34] timdotrb: has joined #RubyOnRails
[05:19:23] timdotrb: has joined #RubyOnRails
[05:20:09] timdotrb: has joined #RubyOnRails
[05:21:30] uksio: has joined #RubyOnRails
[05:24:50] lankanmon: has joined #RubyOnRails
[05:33:14] tdy: has joined #RubyOnRails
[05:55:44] timdotrb: has joined #RubyOnRails
[06:10:58] srinidhi: has joined #RubyOnRails
[06:33:28] jaddison: has joined #RubyOnRails
[06:39:40] jrhorn424: has joined #RubyOnRails
[06:53:56] conta: has joined #RubyOnRails
[06:54:35] jrhorn424: has joined #RubyOnRails
[06:57:10] srinidhi: has joined #RubyOnRails
[07:12:01] roshanavand: has joined #RubyOnRails
[07:13:44] zzj: has joined #RubyOnRails
[07:17:23] dionysus69: has joined #RubyOnRails
[07:28:51] roshanavand: has joined #RubyOnRails
[07:40:19] lomex: has joined #RubyOnRails
[07:59:08] DTZUZO: has joined #RubyOnRails
[08:05:07] whysthatso: has joined #RubyOnRails
[08:08:43] JamieD: has joined #RubyOnRails
[08:16:50] Radar: GOOD EVENING
[08:19:28] Radar: Hit 120wpm on typeracer again
[08:19:48] sevenseacat: I never got far above about 70wpm
[08:19:58] sevenseacat: but its fast enough for me :)
[08:20:08] Radar: https://data.typeracer.com/pit/result?id=|tr:ryanbigg|86
[08:25:34] whysthatso: has joined #RubyOnRails
[08:29:09] beholders_eye: has joined #RubyOnRails
[08:39:48] srinidhi: has joined #RubyOnRails
[08:46:42] Ergo: has joined #RubyOnRails
[08:48:01] timdotrb: has joined #RubyOnRails
[08:48:55] timdotrb: has joined #RubyOnRails
[08:49:40] timdotrb: has joined #RubyOnRails
[08:50:29] timdotrb: has joined #RubyOnRails
[08:51:15] timdotrb: has joined #RubyOnRails
[08:52:00] timdotrb: has joined #RubyOnRails
[08:52:45] timdotrb: has joined #RubyOnRails
[08:53:35] timdotrb: has joined #RubyOnRails
[08:54:18] timdotrb: has joined #RubyOnRails
[08:55:12] timdotrb: has joined #RubyOnRails
[08:55:53] timdotrb: has joined #RubyOnRails
[08:56:05] JamieD: has joined #RubyOnRails
[08:56:41] timdotrb: has joined #RubyOnRails
[08:57:28] timdotrb: has joined #RubyOnRails
[08:57:41] lomex: has joined #RubyOnRails
[08:58:11] timdotrb: has joined #RubyOnRails
[08:58:58] timdotrb: has joined #RubyOnRails
[08:59:49] timdotrb: has joined #RubyOnRails
[09:00:36] timdotrb: has joined #RubyOnRails
[09:01:21] timdotrb: has joined #RubyOnRails
[09:01:58] timdotrb: has joined #RubyOnRails
[09:02:51] timdotrb: has joined #RubyOnRails
[09:03:13] apparition: has joined #RubyOnRails
[09:03:35] timdotrb: has joined #RubyOnRails
[09:04:26] timdotrb: has joined #RubyOnRails
[09:05:10] timdotrb: has joined #RubyOnRails
[09:05:58] timdotrb: has joined #RubyOnRails
[09:06:44] timdotrb: has joined #RubyOnRails
[09:07:31] timdotrb: has joined #RubyOnRails
[09:07:40] Psy-Q: hm. i can hit 99
[09:07:50] Psy-Q: maybe i'll train for 120! :)
[09:08:21] timdotrb: has joined #RubyOnRails
[09:09:03] timdotrb: has joined #RubyOnRails
[09:09:57] roshanavand: has joined #RubyOnRails
[09:14:38] roshanavand: has joined #RubyOnRails
[09:24:11] sameerynho: has joined #RubyOnRails
[09:51:08] srinidhi: has joined #RubyOnRails
[09:56:46] lomex: has joined #RubyOnRails
[09:57:28] roshanavand: has joined #RubyOnRails
[10:11:55] roshanavand: has joined #RubyOnRails
[10:20:31] roshanavand: has joined #RubyOnRails
[10:26:41] za1b1tsu: has joined #RubyOnRails
[10:33:39] andywww: has joined #RubyOnRails
[10:37:59] dviola: has joined #RubyOnRails
[10:42:11] lomex: has joined #RubyOnRails
[10:44:43] roshanavand: has joined #RubyOnRails
[10:48:22] beholders_eye: has joined #RubyOnRails
[10:56:32] _aeris_: has joined #RubyOnRails
[11:15:04] GodFather: has joined #RubyOnRails
[11:15:10] gavit: has joined #RubyOnRails
[11:16:18] jrhorn424: has joined #RubyOnRails
[11:17:02] _aeris_: has joined #RubyOnRails
[11:30:38] gavit: execjs seems to support nodejs, however I can't find any documentation on how to make nodejs integrate with rails, do I need to add a gem etc, or should I just install nodejs and it should work out of the box
[11:43:15] nertzy: has joined #RubyOnRails
[11:43:17] roshanavand: has joined #RubyOnRails
[11:49:39] adgtl: Folks I am getting this error
[11:49:41] adgtl: while running tests
[11:49:45] adgtl: bin/rails test test/controllers/pads_controller_test.rb:8
[11:49:46] adgtl: PadsControllerTest#test_should_create_pad:
[11:49:46] adgtl: ActiveRecord::RecordNotUnique: PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "index_users_on_email"
[11:49:47] adgtl: DETAIL: Key (email)=() already exists.
[11:49:48] adgtl: : INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2018-11-19 11:49:08.706871', '2018-11-19 11:49:08.706871', 298486374)
[11:50:07] roshanavand: has joined #RubyOnRails
[11:51:43] adgtl: there is no unique index on email
[11:52:00] adgtl: wondering..
[12:04:36] lankanmon: has joined #RubyOnRails
[12:09:00] andywww: has joined #RubyOnRails
[12:22:39] lexileo: has joined #RubyOnRails
[12:26:48] Guest61808: has joined #RubyOnRails
[12:37:01] roshanavand: has joined #RubyOnRails
[12:37:02] ur5us: has joined #RubyOnRails
[12:40:18] Guest61808: has joined #RubyOnRails
[12:46:35] gregf_: has joined #RubyOnRails
[12:58:17] roshanavand: has joined #RubyOnRails
[13:00:44] JamieD: has joined #RubyOnRails
[13:01:16] Jervis_: has joined #RubyOnRails
[13:08:00] GodFather: has joined #RubyOnRails
[13:20:51] roshanavand: has joined #RubyOnRails
[13:43:15] crankhar1er: has joined #RubyOnRails
[13:58:05] andywww: has joined #RubyOnRails
[14:04:20] roshanavand: has joined #RubyOnRails
[14:04:44] Sylario: adgtl: Are you using Devise or something similar ?
[14:05:01] alan_w: has joined #RubyOnRails
[14:17:31] crankhar1er: has joined #RubyOnRails
[14:31:29] gambl0re: has joined #RubyOnRails
[14:40:01] jsc: has joined #RubyOnRails
[14:42:19] gambl0r3: has joined #RubyOnRails
[15:00:26] daemonwrangler: has joined #RubyOnRails
[15:01:31] gambl0r3: has joined #RubyOnRails
[15:01:48] Guest61808: has joined #RubyOnRails
[15:18:05] cmckee: has joined #RubyOnRails
[15:18:43] timdotrb: has joined #RubyOnRails
[15:28:58] GodFather: has joined #RubyOnRails
[15:38:57] tuor: has joined #RubyOnRails
[15:38:59] dviola: has joined #RubyOnRails
[15:57:02] status402: has joined #RubyOnRails
[16:02:06] akosednar: has joined #RubyOnRails
[16:11:14] desperek: has joined #RubyOnRails
[16:23:08] mostlybadfly: has joined #RubyOnRails
[16:27:47] Exuma: has joined #RubyOnRails
[16:28:02] uksio: has joined #RubyOnRails
[16:37:40] srinidhi: has joined #RubyOnRails
[16:42:22] jetchisel: has joined #RubyOnRails
[16:47:50] whysthatso: has joined #RubyOnRails
[16:47:52] Aces1up: has joined #RubyOnRails
[16:49:07] Aces1up: hey all i have been searching around but can not find an answer to this. when i save a datetime to column in rails I know it saves it as utc.. How can I later do a query on that datetime to see if it has passed a certain time in another timezone?
[16:49:47] Aces1up: it is as simple as querying the database using a datetime object set with a different timezone and AR knows what to do from there?
[16:52:54] lomex: has joined #RubyOnRails
[16:53:17] jaddison: has joined #RubyOnRails
[16:57:34] Guest61808: has joined #RubyOnRails
[17:03:00] Guest61808: has joined #RubyOnRails
[17:15:38] Guest61808: has joined #RubyOnRails
[17:23:24] GodFather: has joined #RubyOnRails
[17:26:31] jrhorn424: has joined #RubyOnRails
[17:34:03] gavit: has joined #RubyOnRails
[17:39:15] mangold: has joined #RubyOnRails
[17:44:40] Dbugger: has joined #RubyOnRails
[17:57:52] lankanmon: has joined #RubyOnRails
[18:02:24] tubbo: aces1up: you could try created_at.in_time_zone(other_time_zone)
[18:02:38] tubbo: AR is gonna convert the UTC timestamps into the timezone specified by rails in your config
[18:02:41] jetchisel: has joined #RubyOnRails
[18:02:59] tubbo: but you can get it to convert to another timezone by using #in_time_zone. https://api.rubyonrails.org/v5.2.1/classes/ActiveSupport/TimeWithZone.html#method-i-in_time_zone
[18:05:31] GodFather: has joined #RubyOnRails
[18:08:30] crankhar1er: has joined #RubyOnRails
[18:17:09] Arkantos: has joined #RubyOnRails
[18:18:32] reber: has joined #RubyOnRails
[18:20:06] andywww: has joined #RubyOnRails
[18:33:05] elcontrastador: has joined #RubyOnRails
[18:34:54] crankhar1er: has joined #RubyOnRails
[18:39:26] lxsameer: has joined #RubyOnRails
[18:53:43] Puffball: has joined #RubyOnRails
[19:01:39] jrhorn424: has joined #RubyOnRails
[19:04:46] tdy: has joined #RubyOnRails
[19:09:32] quarters: has joined #RubyOnRails
[19:10:23] quarters: hello. I've inherited a project that cites a gem called "javascript-state-machine-rails" to be used with jruby but I can't seem to find that gem anywhere and was wondering if anyone knows where to find out of circulation gems
[19:10:52] quarters: this is code from 2012
[19:18:47] tubbo: quarters: rubygems.org would have that if it was ever uploaded
[19:19:17] tubbo: possible that it was uploaded to a private gem source...
[19:19:26] quarters: ooooh. so that's possible too
[19:19:56] quarters: is there a canonical location for where that private gem might've been stored?
[19:20:22] tubbo: quarters: well, what i meant by "private gem source" was a server, like https://gems.yourcompany.com
[19:20:35] tubbo: check the top of Gemfile for additional sources
[19:20:50] quarters: tubbo: awesome. thanks
[19:37:02] Arkantos_: has joined #RubyOnRails