« Back to channel list

#RubyOnRails - 01 August 2018

« Back 1 day Forward 1 day »
[00:13:55] eckhardt: has joined #RubyOnRails
[00:30:01] ephemer0l: has joined #RubyOnRails
[00:52:09] cagomez: has joined #RubyOnRails
[00:56:13] sevenseacat: has joined #RubyOnRails
[01:18:10] wethu: has joined #RubyOnRails
[01:27:44] Technodrome: has joined #RubyOnRails
[01:39:46] lxsameer: has joined #RubyOnRails
[01:40:10] cagomez: has joined #RubyOnRails
[01:43:42] darkhanb: has joined #RubyOnRails
[02:57:40] ur5us: has joined #RubyOnRails
[02:58:35] ur5us: has joined #RubyOnRails
[03:02:44] agent_white: has joined #RubyOnRails
[03:09:17] braincrash: has joined #RubyOnRails
[03:20:45] scrptktty: has joined #RubyOnRails
[03:21:27] kapil___: has joined #RubyOnRails
[03:40:28] lxsameer: has joined #RubyOnRails
[03:50:45] srinidhi: has joined #RubyOnRails
[03:55:31] Technodrome: has joined #RubyOnRails
[04:07:16] nottwo: has joined #RubyOnRails
[04:25:53] srinidhi: has joined #RubyOnRails
[04:39:21] lxsameer: has joined #RubyOnRails
[04:43:48] ur5us: has joined #RubyOnRails
[04:50:00] srinidhi: has joined #RubyOnRails
[04:53:46] Tempesta: has joined #RubyOnRails
[04:54:17] za1b1tsu: has joined #RubyOnRails
[05:06:12] nottwo_: has joined #RubyOnRails
[05:18:32] nottwo: has joined #RubyOnRails
[05:29:46] nottwo_: has joined #RubyOnRails
[05:32:52] srinidhi: has joined #RubyOnRails
[05:45:44] reber: has joined #RubyOnRails
[05:50:49] prettybTech: has joined #RubyOnRails
[06:11:46] Terens: has joined #RubyOnRails
[06:12:03] snickers: has joined #RubyOnRails
[06:18:20] conta: has joined #RubyOnRails
[06:19:06] Tempesta: has joined #RubyOnRails
[06:19:12] tomaz_b: has joined #RubyOnRails
[06:22:09] lexileo: has joined #RubyOnRails
[06:33:26] CJKinni: has joined #RubyOnRails
[06:53:00] dionysus69: has joined #RubyOnRails
[07:02:30] Dbugger: has joined #RubyOnRails
[07:03:23] nottwo: has joined #RubyOnRails
[07:13:55] Matrix9180: has joined #RubyOnRails
[07:19:51] mikecmpbll: has joined #RubyOnRails
[07:22:29] Sylario: has joined #RubyOnRails
[07:26:57] alfiemax: has joined #RubyOnRails
[07:48:35] pistachio: has joined #RubyOnRails
[07:57:04] sameerynho: has joined #RubyOnRails
[08:05:58] lxsameer: has joined #RubyOnRails
[08:12:12] xall: has joined #RubyOnRails
[08:25:05] deathwishdave: has joined #RubyOnRails
[08:47:20] aeonzh: has joined #RubyOnRails
[08:56:46] conta: has joined #RubyOnRails
[09:07:41] deathwishdave: has joined #RubyOnRails
[09:20:39] egray: has joined #RubyOnRails
[09:24:03] conta: has joined #RubyOnRails
[09:24:50] deathwishdave: has joined #RubyOnRails
[09:26:03] Xiti`: has joined #RubyOnRails
[09:27:30] blackcross_: has joined #RubyOnRails
[09:27:39] za1b1tsu_: has joined #RubyOnRails
[09:28:07] hays_: has joined #RubyOnRails
[09:28:57] akaiiro: has joined #RubyOnRails
[09:33:07] lypsis: has joined #RubyOnRails
[09:39:30] snickers: has joined #RubyOnRails
[09:47:22] fmcgeough: has joined #RubyOnRails
[09:48:43] fmcgeough: has joined #RubyOnRails
[10:00:45] deathwishdave: has joined #RubyOnRails
[10:20:41] GodFather: has joined #RubyOnRails
[10:42:37] _aeris_: has joined #RubyOnRails
[10:50:06] apparition47: has joined #RubyOnRails
[10:51:42] mikecmpbll: has joined #RubyOnRails
[10:53:51] tdy: has joined #RubyOnRails
[10:55:50] kapil___: has joined #RubyOnRails
[10:57:11] theRoUS: has left #RubyOnRails: ("Off to another part of the maze of twisty little passages")
[11:21:28] karmine: has joined #RubyOnRails
[11:24:42] ciro: has joined #RubyOnRails
[11:26:39] karmine: hi guys, i need help for internationalization, i can't use that, i need to traslate a page on the link http://192.168.2.30:3000/it/unsubscriber, so i created the locales files, it.erb and en.erb in the folder config/locales/views/unsubscriber, but nothing append, in the other page it works greats, any suggestion?
[11:35:30] Technodrome: has joined #RubyOnRails
[11:40:52] DaniG2k: has joined #RubyOnRails
[11:44:11] mikecmpbll: has joined #RubyOnRails
[11:45:24] mengu: has joined #RubyOnRails
[11:52:30] conta: has joined #RubyOnRails
[11:58:02] mengu: hi all. i have a dynamic route like /v1/settings/:code/something and i have an rspec test for it. the controller action just renders success, nothing else. i randomly get 404 in tests for that action. why would that be?
[12:02:35] borodin: has joined #RubyOnRails
[12:03:12] mengu: damn, i found why
[12:03:22] mengu: some codes have not good chars :-)
[12:11:48] deathwishdave: has joined #RubyOnRails
[12:19:06] ur5us: has joined #RubyOnRails
[12:26:03] lxsameer: has joined #RubyOnRails
[12:34:46] lxsameer: has joined #RubyOnRails
[12:39:44] nickjj_: has joined #RubyOnRails
[12:40:52] conta1: has joined #RubyOnRails
[12:41:15] Croata: has joined #RubyOnRails
[12:41:39] ryzokuken_: has joined #RubyOnRails
[12:44:24] ArTiSTiX_: has joined #RubyOnRails
[12:45:19] lexileo: has joined #RubyOnRails
[12:46:50] fumck: has joined #RubyOnRails
[12:55:26] atrius: has joined #RubyOnRails
[12:57:18] srinidhi: has joined #RubyOnRails
[13:30:50] IanMalcolm: has joined #RubyOnRails
[13:31:19] Technodrome: has joined #RubyOnRails
[13:32:31] psychoslave: has joined #RubyOnRails
[13:51:27] alfiemax: has joined #RubyOnRails
[14:12:04] enlessdyor: has joined #RubyOnRails
[14:19:40] ur5us: has joined #RubyOnRails
[14:21:04] IanMalcolm: has joined #RubyOnRails
[14:21:29] enlessdyor: Hello peeps. I’m looking for help in regards to Stimulus + Webpacker + Integration tests via Cucumber / Capybara. Stimulus works as expected in the dev environment. When I run my integration test, stimulus doesn’t load. Anything I could read to see what is happening? I was on rails 5.1 and moved to 5.2.
[14:23:41] mikecmpbll: has joined #RubyOnRails
[14:23:42] dblessing: has joined #RubyOnRails
[14:33:39] hgost: has joined #RubyOnRails
[14:43:37] Inside: has joined #RubyOnRails
[15:04:14] prettybTech: has joined #RubyOnRails
[15:04:34] chouhoulis: has joined #RubyOnRails
[15:10:19] dalpo: enlessdyor: what kind of javascript engine are you using with capybara?
[15:10:47] dalpo: poltergeist, chrome headless?
[15:13:20] Xiti: has joined #RubyOnRails
[15:14:00] mroutis: has joined #RubyOnRails
[15:14:00] ciro: has joined #RubyOnRails
[15:15:42] maryo: has joined #RubyOnRails
[15:16:01] maryo: While starting the dashing, I am getting some errors. Some pointers on this would be helpful --> https://dpaste.de/RwBf/raw
[15:37:01] ivanskie: has joined #RubyOnRails
[15:42:08] ivanskie: has joined #RubyOnRails
[15:48:24] nzst: has joined #RubyOnRails
[15:50:22] maryo: has joined #RubyOnRails
[15:50:24] cagomez: has joined #RubyOnRails
[16:07:43] IanMalcolm: has joined #RubyOnRails
[16:10:20] maryo: has joined #RubyOnRails
[16:19:40] MrCrackPotBuilde: has joined #RubyOnRails
[16:20:28] za1b1tsu_: has joined #RubyOnRails
[16:20:29] ur5us: has joined #RubyOnRails
[16:43:52] orbyt_: has joined #RubyOnRails
[16:52:47] Guest83186: has joined #RubyOnRails
[17:00:08] Guest83186: has joined #RubyOnRails
[17:08:34] alfiemax_: has joined #RubyOnRails
[17:09:49] Guest83186: has joined #RubyOnRails
[17:14:56] Guest83186: has joined #RubyOnRails
[17:20:21] prettybTech: has joined #RubyOnRails
[17:24:18] alfiemax: has joined #RubyOnRails
[17:28:07] snickers: has joined #RubyOnRails
[17:35:39] fl4sh_: has joined #RubyOnRails
[17:39:53] Technodrome: has joined #RubyOnRails
[17:43:22] mtkd: has joined #RubyOnRails
[17:52:35] srinidhi: has joined #RubyOnRails
[18:02:56] tfitts: has joined #RubyOnRails
[18:04:04] mtkd: has joined #RubyOnRails
[18:04:49] Guest83186: has joined #RubyOnRails
[18:05:00] prettybTech: has joined #RubyOnRails
[18:06:05] nemesit|znc: has joined #RubyOnRails
[18:08:10] SuperTux88: has joined #RubyOnRails
[18:11:20] jjman: has joined #RubyOnRails
[18:13:32] DylanJ: has joined #RubyOnRails
[18:15:02] prettybTech: has joined #RubyOnRails
[18:15:55] Saukk: has joined #RubyOnRails
[18:21:20] ur5us: has joined #RubyOnRails
[18:29:55] ^mtkd: has joined #RubyOnRails
[18:30:10] Saukk: has joined #RubyOnRails
[18:35:47] mheld: has joined #RubyOnRails
[18:36:34] prettybTech: has joined #RubyOnRails
[18:37:10] weaksauce: has joined #RubyOnRails
[18:39:39] orbyt_: has joined #RubyOnRails
[18:40:13] cjohnson: How can I apply a model validation like presence: true but will allow `false` to be passed in?
[18:40:26] cjohnson: This is a json column so I can't just use `inclusion`
[18:40:51] beowuff: has joined #RubyOnRails
[18:44:01] dviola: has joined #RubyOnRails
[18:44:54] Guest83186: has joined #RubyOnRails
[18:49:55] Guest83186: has joined #RubyOnRails
[18:52:37] havenwood: cjohnson: Maybe: presence: true, unless: -> x { x.thingy == false }
[18:52:49] havenwood: cjohnson: `nil` isn't allowed but `false` is?
[18:54:55] Guest83186: has joined #RubyOnRails
[19:06:19] prettybTech: has joined #RubyOnRails
[19:14:48] Technodrome: has joined #RubyOnRails
[19:14:49] theRoUS: has joined #RubyOnRails
[19:16:30] theRoUS: i want to extend some of my model relations with several methods. one will be unique to each relation (can be added with do .. end), but the others are in a module and dependent upon the per-relation one (can be added with -> { extending <modulename> })
[19:18:40] theRoUS: how can i do both? 'do def unique ; end ; include <module> ; end' or something like that?
[19:18:53] scrptktty: has joined #RubyOnRails
[19:21:36] eckhardt: has joined #RubyOnRails
[19:22:35] mlt-: theRoUS: why do you need do/end? Can't you just define whatever method for your model?
[19:24:41] theRoUS: mlt-: it wouldn't be exclusive to that relation
[19:25:44] theRoUS: each relation in question has a unique #[] method that the shared ones in the module use
[19:39:00] orbyt_: has joined #RubyOnRails
[19:40:09] mlt-: do you want unique per instance method?
[19:40:14] sameerynho: has joined #RubyOnRails
[19:40:21] prettybTech: has joined #RubyOnRails
[19:41:17] _axx: has left #RubyOnRails: ("I Must Go, My Planet Needs Me")
[19:41:17] theRoUS: per relation, not per instance
[19:41:43] theRoUS: the instances are available to the method through the relation metadata
[19:42:34] mtkd: has joined #RubyOnRails
[19:43:13] urkle: has joined #RubyOnRails
[19:46:57] jjaii9: has joined #RubyOnRails
[19:47:04] mlt-: theRoUS: I'm still confused. Can't you define a parent class for such models/relations that share something and define method directly in a model class that is unique?
[19:47:54] jjaii9: howdy folks, a general web (albeit stupid) question, suppose I'm passing a url through a GET request, does the param name 'url' stink? anyone else have anything better? It's the location of git repo, so I was thinking 'repository' but that also seems to kind of smell
[19:48:02] theRoUS: it's not unique to the model, it's unique to the relation. i can't have multiple #[] methods in a model, but i *can* (and do) have one per relation where needed
[19:52:53] theRoUS: never mind, i experimented; having a do/end on the relation for to define the uniqe #[], and include the module also inside the do/end -- et vóilà
[19:53:06] theRoUS: s/for to/to/
[19:54:10] theRoUS: jjaii9: 'url' is used a lot in query-strings, so unless you run into conflicts with some app parsing it, you should be fine.
[19:54:21] jjaii9: theRoUS: thanks pal
[19:54:32] jjaii9: getting ocd/anxious as shit today hahaha
[19:55:06] theRoUS: jjaii9: imho, of course. ymmv. dealer prep charges may apply. subject to the whim of #potus
[19:58:50] Dbugger: has joined #RubyOnRails
[20:02:40] Cache_Money: has joined #RubyOnRails
[20:05:49] ur5us: has joined #RubyOnRails
[20:12:29] mtkd: has joined #RubyOnRails
[20:27:00] Caerus: has joined #RubyOnRails
[20:47:30] orbyt_: has joined #RubyOnRails
[20:54:28] mtkd: has joined #RubyOnRails
[21:08:54] mtkd: has joined #RubyOnRails
[21:34:42] Guest83186: has joined #RubyOnRails
[21:35:28] Cache_Money: I need to migrate a column from integer to biginteger. I should use an `up` and `down` method in case i need to rollback, correct?
[21:36:14] fryguy: if you specify change appropriately, it will be able to auto-rollback for you too. most methods to do ddl changes are `reversible`
[21:38:03] Cache_Money: fryguy: So, if I use the `change` method approach (instead of `up` and `down`) in this example it should be fine? https://tosbourn.com/rails-migrate-change-column-type/
[21:42:18] Cache_Money: fryguy: It will know to revert back to an :integer if all I supply is `change_column :monthly_video_plays, :seconds_viewed, :bigint`?
[21:42:28] fryguy: hrmm, i guess not
[21:42:35] fryguy: nevermind me then, do it the way you suggested
[21:42:51] Cache_Money: okay, i’ll use the `up` and `down` methods approach
[21:46:20] IanMalcolm: has joined #RubyOnRails
[21:49:52] lexileo: has joined #RubyOnRails
[21:57:17] prettybTech: has joined #RubyOnRails
[22:06:34] FernandoBasso: has joined #RubyOnRails
[22:14:07] prettybTech: has joined #RubyOnRails
[22:14:08] apeiros_: has joined #RubyOnRails
[22:25:24] Xiti`: has joined #RubyOnRails
[22:26:45] nickjj_: has joined #RubyOnRails
[22:39:20] orbyt_: has joined #RubyOnRails
[22:43:06] georgie: has joined #RubyOnRails
[22:48:24] alfiemax_: has joined #RubyOnRails
[22:49:20] prettybTech: has joined #RubyOnRails
[22:50:59] ellcs: has joined #RubyOnRails
[22:51:11] IanMalcolm: has joined #RubyOnRails
[23:04:19] eckhardt: has joined #RubyOnRails
[23:15:05] hahuang65: what might be some reasons that mail is being sent and received in our system, but 1 particular mail never reaches any inboxes despite the code giving no indication that it's failing to send?
[23:21:21] Radar: has joined #RubyOnRails
[23:25:25] Technodrome: has joined #RubyOnRails
[23:35:18] helpa: has joined #RubyOnRails
[23:35:35] Guest83186: has joined #RubyOnRails
[23:39:00] eckhardt: has joined #RubyOnRails
[23:46:18] eckhardt: has joined #RubyOnRails
[23:59:16] hfp_work: has joined #RubyOnRails