« Back to channel list

#RubyOnRails - 08 October 2017

« Back 1 day Forward 1 day »
[00:00:38] jrabe: has joined #RubyOnRails
[00:32:47] rrichardsr3: has joined #RubyOnRails
[00:33:06] bronson: has joined #RubyOnRails
[00:50:43] rrichard_: has joined #RubyOnRails
[00:53:36] LambdaSource: has joined #RubyOnRails
[01:30:35] bob14: has joined #RubyOnRails
[01:35:16] bruno-: has joined #RubyOnRails
[01:35:26] ResidentBiscuit: has joined #RubyOnRails
[01:46:25] arBmind: has joined #RubyOnRails
[01:54:51] ResidentBiscuit: has joined #RubyOnRails
[01:59:04] musicnode: has joined #RubyOnRails
[02:00:37] cod3fish3r: has joined #RubyOnRails
[02:23:37] ResidentBiscuit: has joined #RubyOnRails
[02:26:45] w0rd-driven: has joined #RubyOnRails
[02:34:12] bronson: has joined #RubyOnRails
[02:38:00] musicnode: has joined #RubyOnRails
[02:48:50] irishfromua: has joined #RubyOnRails
[02:54:36] LambdaSource: has joined #RubyOnRails
[03:30:10] harrycs: has joined #RubyOnRails
[03:48:02] LambdaSource: has joined #RubyOnRails
[03:49:47] mikecmpbll: has joined #RubyOnRails
[04:00:18] brycesenz: has joined #RubyOnRails
[04:22:39] uksio: has joined #RubyOnRails
[04:35:53] bronson: has joined #RubyOnRails
[04:45:06] apparition47: has joined #RubyOnRails
[04:46:17] jhfisc: has joined #RubyOnRails
[04:52:12] jhfisc: has joined #RubyOnRails
[04:55:23] jhfisc: has joined #RubyOnRails
[04:57:54] mheld: has joined #RubyOnRails
[05:01:03] jhfisc: has joined #RubyOnRails
[05:29:15] Roughy: has joined #RubyOnRails
[05:30:19] adgtl: has joined #RubyOnRails
[05:32:10] musicnode: has joined #RubyOnRails
[05:34:25] jhfisc: has joined #RubyOnRails
[05:40:19] musicnode: has left #RubyOnRails: ()
[05:42:50] tamouse__: has joined #RubyOnRails
[05:46:11] Roughy: Hello! I am creating a new Subscription record with a has_many relation to Filter. When I query the Filters belonging to a Subscription, I get an extra record that does not exist in the database, and is nulled out except for the subscription_id field
[05:46:22] Roughy: Code and console output: https://gist.github.com/Nordskog/669000d991df6843ca23e8a2b95a85c0
[05:46:59] Roughy: Googling hasn't gotten me much. I figured this might be how unsaved records might behave, but the nil item is still present after a restart
[05:47:59] pwnd_nsfw: I'm assuming there's a form on whatever page
[05:48:17] pwnd_nsfw: or you've used build somewhere
[05:49:14] pwnd_nsfw: Roughy, what's the controller for this action look like?
[05:49:19] Roughy: Create: https://gist.github.com/Nordskog/06d492f29d282f596cc0a14f526d13c9
[05:49:45] pwnd_nsfw: What's the new look like?
[05:50:54] Roughy: I am currently creating it directly with a button_to create: https://gist.github.com/Nordskog/d9fd39e1c564ddd6727c25bb258efb52
[05:51:40] pwnd_nsfw: what action creates the page prior to your create action
[05:52:37] Roughy: A very long trail of nested cells, that ends with the creation of that button_to
[05:52:39] pwnd_nsfw: I feel you have a subscription.filters.build somewhere
[05:52:49] pwnd_nsfw: Fine, if you don't want to show the code, you do you
[05:52:51] pwnd_nsfw: it's cool lol
[05:53:29] Roughy: in an attempt to keep everything modular, even the simplest page is spread over a million files
[05:53:58] Roughy: I do have a @subscription.filters.build in the the subscription controller's new method
[05:54:08] pwnd_nsfw: SEE THERE YA GO BRUH
[05:54:11] pwnd_nsfw: THE THING I ASKED FOR
[05:54:17] pwnd_nsfw: WITH THE THING I KNEW THAT WAS THERE
[05:54:26] Roughy: But that is never called
[05:54:39] pwnd_nsfw: put a scope on filters, and check if the record is persisted
[05:54:49] pwnd_nsfw: will remove that rogue record
[05:55:53] Roughy: Persisted does indeed return false
[05:56:35] Roughy: That would be a solution, but I should probably be figuring out why it gets added in the place
[05:59:42] Roughy: Earlier I would populate filters on creation of a new subscription, which, when the parameters with an empty list of values would evidently keep it from appearing
[06:05:47] jhfisc: has joined #RubyOnRails
[06:12:09] jhfisc: has joined #RubyOnRails
[06:17:45] jhfisc: has joined #RubyOnRails
[06:18:46] srkska: has joined #RubyOnRails
[06:20:59] sevenseacat: has joined #RubyOnRails
[06:21:12] Roughy: Printing filters directly after saving, but before rendering the response it's empty, so... I must be messing with it somewhere down the render chain
[06:23:00] jhfisc: has joined #RubyOnRails
[06:28:57] jhfisc: has joined #RubyOnRails
[06:36:50] bronson: has joined #RubyOnRails
[06:41:08] kitsuneyo: has joined #RubyOnRails
[06:41:31] jhfisc: has joined #RubyOnRails
[06:46:25] srkska: I have a module and inside a module I have an instance_method which takes some input as an argument to produce a result. How can I access this instance_method outside of the module ?
[06:52:11] jhfisc: has joined #RubyOnRails
[07:00:00] jhfisc: has joined #RubyOnRails
[07:00:02] rgr: has joined #RubyOnRails
[07:03:39] DTZUZO: has joined #RubyOnRails
[07:04:47] b0zz0: has joined #RubyOnRails
[07:05:08] jhfisc: has joined #RubyOnRails
[07:11:25] jhfisc: has joined #RubyOnRails
[07:20:02] jhfisc: has joined #RubyOnRails
[07:34:08] jhfisc: has joined #RubyOnRails
[07:35:45] srinidhi: has joined #RubyOnRails
[07:38:59] jhfisc: has joined #RubyOnRails
[07:42:58] jhfisc: has joined #RubyOnRails
[07:47:55] LambdaSource: has joined #RubyOnRails
[07:50:34] rgr_: has joined #RubyOnRails
[07:57:01] naftilos76: has joined #RubyOnRails
[07:58:29] naftilos76: Hi, is there a gem that can be used to load a controller file from another rails app and give me a list of defs, before/after filters, defs after a private or protected section etc?
[07:59:38] kitsuneyo: has joined #RubyOnRails
[08:11:19] apparition47: has joined #RubyOnRails
[08:14:08] jhfisc: has joined #RubyOnRails
[08:20:12] jhfisc: has joined #RubyOnRails
[08:26:08] jhfisc: has joined #RubyOnRails
[08:37:46] bronson: has joined #RubyOnRails
[08:43:57] jhfisc: has joined #RubyOnRails
[08:45:44] b0zz0: has joined #RubyOnRails
[08:47:34] xco: has joined #RubyOnRails
[08:50:08] jhfisc: has joined #RubyOnRails
[08:56:08] jhfisc: has joined #RubyOnRails
[09:00:28] sevenseacat: has joined #RubyOnRails
[09:03:45] blackmesa: has joined #RubyOnRails
[09:03:57] jhfisc: has joined #RubyOnRails
[09:10:02] jhfisc: has joined #RubyOnRails
[09:16:28] platoon23: has joined #RubyOnRails
[09:16:54] jhfisc: has joined #RubyOnRails
[09:20:38] netzfisch: has joined #RubyOnRails
[09:22:29] jhfisc: has joined #RubyOnRails
[09:33:53] DoubleMalt: has joined #RubyOnRails
[09:35:04] jhfisc: has joined #RubyOnRails
[09:41:04] jhfisc: has joined #RubyOnRails
[09:41:54] irishfromua: has joined #RubyOnRails
[09:42:04] blackmesa1: has joined #RubyOnRails
[09:44:20] jhfisc: has joined #RubyOnRails
[09:47:18] jhfisc: has joined #RubyOnRails
[10:06:47] one_zero: has joined #RubyOnRails
[10:07:17] blackmesa1: has joined #RubyOnRails
[10:16:46] srinidhi: has joined #RubyOnRails
[10:27:15] bruno-: has joined #RubyOnRails
[10:32:43] ShalokShalom: has joined #RubyOnRails
[10:38:58] bronson: has joined #RubyOnRails
[10:58:45] arBmind: has joined #RubyOnRails
[11:12:02] FernandoBasso: has joined #RubyOnRails
[11:14:56] blackmesa1: has joined #RubyOnRails
[11:24:11] LambdaSource: has joined #RubyOnRails
[11:39:34] marr: has joined #RubyOnRails
[11:41:17] conta: has joined #RubyOnRails
[11:57:17] ShalokShalom_: has joined #RubyOnRails
[12:04:07] Guest97372: has joined #RubyOnRails
[12:07:32] k3rn31_: has joined #RubyOnRails
[12:13:39] ltd: has joined #RubyOnRails
[12:22:35] defsdoor: has joined #RubyOnRails
[12:25:02] irishfromua: has joined #RubyOnRails
[12:40:03] bronson: has joined #RubyOnRails
[13:04:11] Guest97372: has joined #RubyOnRails
[13:05:41] bruno-: has joined #RubyOnRails
[13:10:43] bruno-: has joined #RubyOnRails
[13:15:42] bruno-: has joined #RubyOnRails
[13:18:38] apparition47: has joined #RubyOnRails
[13:19:22] netzfisch: has joined #RubyOnRails
[13:33:16] apparition47: has joined #RubyOnRails
[13:37:07] sagax: has joined #RubyOnRails
[13:48:31] jhfisc: has joined #RubyOnRails
[13:49:09] Stabs: has joined #RubyOnRails
[13:53:44] jhfisc: has joined #RubyOnRails
[13:54:05] Stabs: https://gist.github.com/Codefencing/517f4ea3b13e91da9a5eae61b4a551ea problem with command db:migrate:reset
[14:12:10] jhfisc: has joined #RubyOnRails
[14:22:44] jhfisc: has joined #RubyOnRails
[14:26:11] blackmesa1: has joined #RubyOnRails
[14:31:46] fryguy: Stabs: well, what are the permissions on that file?
[14:35:18] Stabs: Authenticated users, System and Administrators have all permissions on. Me as a user, which is odd given I'm also admin, I lack full control, modify, and write permissions.
[14:36:06] Stabs: Windows 10 is apparently cray-cray. Thanks, fryguy.
[14:37:54] fryguy: one of the many reasons it's not recommended to do rails development on windows
[14:40:53] bronson: has joined #RubyOnRails
[14:50:54] orbyt_: has joined #RubyOnRails
[14:57:36] kies: has joined #RubyOnRails
[14:57:59] NoGodDamnIdea: has joined #RubyOnRails
[15:12:09] fmcgeough: has joined #RubyOnRails
[15:15:24] jhfisc: has joined #RubyOnRails
[15:21:58] rfoust: has joined #RubyOnRails
[15:22:55] jhfisc: has joined #RubyOnRails
[15:23:40] gambl0re: has joined #RubyOnRails
[15:28:11] jhfisc: has joined #RubyOnRails
[15:30:44] srinidhi: has joined #RubyOnRails
[15:34:04] cstls: has joined #RubyOnRails
[15:34:08] jhfisc: has joined #RubyOnRails
[15:40:48] blackmesa1: has joined #RubyOnRails
[15:53:57] moei: has joined #RubyOnRails
[16:00:46] DTZUZO: has joined #RubyOnRails
[16:01:04] brycesenz: has joined #RubyOnRails
[16:02:17] jhfisc: has joined #RubyOnRails
[16:04:53] deur-: has joined #RubyOnRails
[16:05:13] jhfisc: has joined #RubyOnRails
[16:15:22] andrewray: has joined #RubyOnRails
[16:16:08] jhfisc: has joined #RubyOnRails
[16:16:14] harrycs: has joined #RubyOnRails
[16:42:05] bronson: has joined #RubyOnRails
[16:55:20] DaniG2k: has joined #RubyOnRails
[17:03:21] jhfisc: has joined #RubyOnRails
[17:05:52] KevinSjoberg: has joined #RubyOnRails
[17:12:14] jhfisc: has joined #RubyOnRails
[17:20:44] Saukk: has joined #RubyOnRails
[17:23:36] jhfisc: has joined #RubyOnRails
[17:35:13] jhfisc: has joined #RubyOnRails
[17:38:08] jhfisc: has joined #RubyOnRails
[17:48:12] jhfisc: has joined #RubyOnRails
[17:55:03] Guest97372: has joined #RubyOnRails
[17:56:21] jhfisc: has joined #RubyOnRails
[18:00:04] cabotto: has joined #RubyOnRails
[18:04:10] jhfisc: has joined #RubyOnRails
[18:07:30] fmcgeough: has joined #RubyOnRails
[18:12:18] xaviergmail: has joined #RubyOnRails
[18:12:28] jhfisc: has joined #RubyOnRails
[18:17:54] jhfisc: has joined #RubyOnRails
[18:22:59] dviola: has joined #RubyOnRails
[18:25:01] jhfisc: has joined #RubyOnRails
[18:25:38] blackmesa1: has joined #RubyOnRails
[18:43:01] bronson: has joined #RubyOnRails
[18:52:18] jhfisc: has joined #RubyOnRails
[18:58:04] arup_r: has joined #RubyOnRails
[18:58:13] jhfisc: has joined #RubyOnRails
[19:04:08] jhfisc: has joined #RubyOnRails
[19:09:27] jhfisc: has joined #RubyOnRails
[19:12:39] arup_r: has joined #RubyOnRails
[19:15:18] jhfisc: has joined #RubyOnRails
[19:21:14] jhfisc: has joined #RubyOnRails
[19:29:21] mtkd: has joined #RubyOnRails
[19:36:56] jhfisc: has joined #RubyOnRails
[19:37:50] bruno-: has joined #RubyOnRails
[19:40:10] jhfisc: has joined #RubyOnRails
[19:46:08] jhfisc: has joined #RubyOnRails
[19:52:12] jhfisc: has joined #RubyOnRails
[19:55:10] blackcross: has joined #RubyOnRails
[20:00:00] jhfisc: has joined #RubyOnRails
[20:00:33] GodFather: has joined #RubyOnRails
[20:04:49] kitsuneyo: has joined #RubyOnRails
[20:06:05] jhfisc: has joined #RubyOnRails
[20:06:09] philnyc: has joined #RubyOnRails
[20:07:58] gambl0re: has joined #RubyOnRails
[20:09:45] fmcgeough: has joined #RubyOnRails
[20:09:48] kitsuneyo: has joined #RubyOnRails
[20:13:04] harrycs: has joined #RubyOnRails
[20:15:26] danman: has joined #RubyOnRails
[20:23:31] brycesenz: has joined #RubyOnRails
[20:26:23] mtkd: has joined #RubyOnRails
[20:33:50] jhfisc: has joined #RubyOnRails
[20:38:17] bruno-: has joined #RubyOnRails
[20:43:59] bronson: has joined #RubyOnRails
[20:44:05] jhfisc: has joined #RubyOnRails
[20:50:20] NoGodDamnIdea: has joined #RubyOnRails
[20:54:34] orbyt_: has joined #RubyOnRails
[20:56:10] jhfisc: has joined #RubyOnRails
[21:05:55] LateralOctober: has joined #RubyOnRails
[21:08:08] jhfisc: has joined #RubyOnRails
[21:16:04] jhfisc: has joined #RubyOnRails
[21:27:57] mostlybadfly: has joined #RubyOnRails
[21:28:08] jhfisc: has joined #RubyOnRails
[21:34:10] jhfisc: has joined #RubyOnRails
[21:36:34] bruno-: has joined #RubyOnRails
[21:48:52] jhfisc: has joined #RubyOnRails
[21:54:49] jhfisc: has joined #RubyOnRails
[22:01:10] glasz: has joined #RubyOnRails
[22:02:43] tanuki: has joined #RubyOnRails
[22:08:54] wethu: has joined #RubyOnRails
[22:14:40] lord4163: has joined #RubyOnRails
[22:18:21] jhfisc: has joined #RubyOnRails
[22:34:18] jhfisc: has joined #RubyOnRails
[22:45:14] bronson: has joined #RubyOnRails
[22:48:08] jhfisc: has joined #RubyOnRails
[22:53:33] jhfisc: has joined #RubyOnRails
[23:10:41] jhfisc: has joined #RubyOnRails
[23:11:05] orbyt_: has joined #RubyOnRails
[23:38:55] jhfisc: has joined #RubyOnRails
[23:43:59] jhfisc: has joined #RubyOnRails
[23:54:20] jhfisc: has joined #RubyOnRails
[23:57:12] jhfisc: has joined #RubyOnRails