« Back to channel list

#RubyOnRails - 21 November 2018

« Back 1 day Forward 1 day »
[00:16:48] MoritaShinobu: has joined #RubyOnRails
[00:28:44] Arkantos: has joined #RubyOnRails
[00:40:31] jstrong: has joined #RubyOnRails
[00:53:44] jstrong: has joined #RubyOnRails
[01:04:39] jstrong: has joined #RubyOnRails
[01:42:04] nertzy: has joined #RubyOnRails
[01:42:53] agent_white: has joined #RubyOnRails
[01:59:22] SteenJobs: has joined #RubyOnRails
[02:01:13] sevenseacat: has joined #RubyOnRails
[02:12:03] fcser_: has joined #RubyOnRails
[02:22:45] hnanon: has joined #RubyOnRails
[02:23:57] Saukk: has joined #RubyOnRails
[02:58:57] newplasticideas: has joined #RubyOnRails
[03:17:20] kapil____: has joined #RubyOnRails
[03:42:46] bambanx: has joined #RubyOnRails
[04:09:40] braincrash: has joined #RubyOnRails
[04:38:40] _aeris_: has joined #RubyOnRails
[04:54:36] _aeris_: has joined #RubyOnRails
[04:58:42] jstrong: has joined #RubyOnRails
[05:03:54] _aeris_: has joined #RubyOnRails
[05:04:27] Exuma: has joined #RubyOnRails
[05:05:15] Exuma: has joined #RubyOnRails
[05:08:20] Exuma: has joined #RubyOnRails
[05:10:13] bambanxx: has joined #RubyOnRails
[05:11:00] Exuma: has joined #RubyOnRails
[05:12:49] Exuma: has joined #RubyOnRails
[05:13:30] Exuma: has joined #RubyOnRails
[05:13:34] jstrong: has joined #RubyOnRails
[05:14:17] Exuma: has joined #RubyOnRails
[05:16:45] Exuma: has joined #RubyOnRails
[05:19:56] Exuma: has joined #RubyOnRails
[05:26:46] lupine: has joined #RubyOnRails
[05:29:15] Exuma: has joined #RubyOnRails
[05:30:42] Exuma: has joined #RubyOnRails
[05:36:22] hnanon: has joined #RubyOnRails
[05:42:01] LambdaSource: has joined #RubyOnRails
[05:50:07] LambdaSource: has joined #RubyOnRails
[06:04:29] KevinSjoberg: has joined #RubyOnRails
[06:07:51] reber: has joined #RubyOnRails
[06:09:50] Arkantos: has joined #RubyOnRails
[06:24:03] conta: has joined #RubyOnRails
[06:27:37] Arkantos_: has joined #RubyOnRails
[06:29:06] Arkantos_: has joined #RubyOnRails
[06:40:35] Milos: has joined #RubyOnRails
[06:45:00] Milos: has joined #RubyOnRails
[07:09:44] arthurnn: has joined #RubyOnRails
[07:44:35] lomex: has joined #RubyOnRails
[08:03:45] adgtl: Folks .. getting this error while creating a record with Rails console
[08:03:49] adgtl: irb(main):012:0> Language.create!([{name: "ruby"}])
[08:03:49] adgtl: (0.1ms) BEGIN
[08:03:49] adgtl: (0.1ms) ROLLBACK
[08:03:49] adgtl: Traceback (most recent call last):
[08:03:49] adgtl: 1: from (irb):12
[08:03:50] adgtl: ActiveRecord::RecordInvalid (Validation failed: Pad must exist)
[08:05:45] adgtl: ACTION sorry.. wrong AR association . ignore above question
[08:44:53] alireza: has joined #RubyOnRails
[08:45:46] alireza: Ingredient.
[08:45:49] alireza: joins(:ingredients_symptoms).group(:id).
[08:45:51] alireza: where(ingredients_symptoms: { symptom: symptoms }).
[08:45:53] alireza: left_joins(:ingredients_symptoms_products).
[08:45:55] alireza: order(???count(ingredients_symptoms_products.id) DESC???)
[08:46:24] alireza: That doesn't work I want to order indegriendts based on count of products in ingredints_sympotms_products
[08:46:52] alireza: I thought a products_count in ingredients_sympots would solve the problem
[08:47:32] dionysus69: has joined #RubyOnRails
[09:01:14] JamieD: has joined #RubyOnRails
[09:06:52] whysthatso: has joined #RubyOnRails
[09:32:56] jetchisel: has joined #RubyOnRails
[09:37:19] lomex: has joined #RubyOnRails
[09:42:29] gregf_: has joined #RubyOnRails
[09:47:02] srinidhi: has joined #RubyOnRails
[09:50:07] uks: has joined #RubyOnRails
[09:53:26] mangold: has joined #RubyOnRails
[10:02:00] Guest61808: has joined #RubyOnRails
[10:04:15] unreal: has joined #RubyOnRails
[10:09:47] gavit: has joined #RubyOnRails
[10:23:30] lomex: has joined #RubyOnRails
[10:24:50] ausmat: has joined #RubyOnRails
[11:09:18] ausmat: has joined #RubyOnRails
[11:14:41] kapil____: has joined #RubyOnRails
[11:20:15] jstrong: has joined #RubyOnRails
[11:26:03] jetchisel: has joined #RubyOnRails
[12:11:50] lankanmon: has joined #RubyOnRails
[12:28:25] ikbenhet: has joined #RubyOnRails
[12:32:27] andywww: has joined #RubyOnRails
[12:42:47] lexileo: has joined #RubyOnRails
[12:45:46] jetchisel: has joined #RubyOnRails
[12:49:50] Guest61808: has joined #RubyOnRails
[12:50:00] lomex: has joined #RubyOnRails
[12:58:02] JamieD: has joined #RubyOnRails
[12:58:03] Guest61808: has joined #RubyOnRails
[13:18:35] Tempesta: has joined #RubyOnRails
[13:19:13] Puffball: has joined #RubyOnRails
[13:19:51] reber: has joined #RubyOnRails
[13:25:32] dionysus69: does anyone know how do I run 4 event machines into single heroku dyno?, when I declared command; command; in Procfile, it only runs the first one
[13:31:24] lxsameer: has joined #RubyOnRails
[13:41:03] roshanavand: has joined #RubyOnRails
[13:42:32] nickjj: has joined #RubyOnRails
[13:44:40] Puffball: has joined #RubyOnRails
[13:54:18] lomex: has joined #RubyOnRails
[13:54:48] ams__: has joined #RubyOnRails
[14:08:45] voolik: has joined #RubyOnRails
[14:09:45] kapil____: has joined #RubyOnRails
[14:10:34] GodFather: has joined #RubyOnRails
[14:14:35] alan_w: has joined #RubyOnRails
[14:28:32] crankhar1er: has joined #RubyOnRails
[14:53:44] hnanon: has joined #RubyOnRails
[14:55:50] jstrong: has joined #RubyOnRails
[15:01:10] Arkantos: has joined #RubyOnRails
[15:11:13] roshanavand: has joined #RubyOnRails
[15:21:53] ikbenhet: has joined #RubyOnRails
[15:24:03] chouhoulis: has joined #RubyOnRails
[15:28:34] andywww: has joined #RubyOnRails
[15:42:46] conta: has joined #RubyOnRails
[15:49:47] dviola: has joined #RubyOnRails
[16:09:28] jetchisel: has joined #RubyOnRails
[16:09:34] ikbenhet: has joined #RubyOnRails
[16:14:25] Arkantos: has joined #RubyOnRails
[16:27:58] hnanon: has joined #RubyOnRails
[16:33:13] jaddison: has joined #RubyOnRails
[16:36:02] quarters: hello. I'm trying to work with legacy code that uses attr_accessible and am struggling to understand it. I want to refactor this because attr_accessible is deprecated in the version of Rails I want to upgrade to: https://hastebin.com/nokajaduwi.rb is one of the models
[16:36:18] planigan: has joined #RubyOnRails
[16:56:50] LambdaSource: has joined #RubyOnRails
[17:04:43] GodFather: has joined #RubyOnRails
[17:05:49] whysthatso: has joined #RubyOnRails
[17:13:25] chouhoulis: has joined #RubyOnRails
[17:18:31] quarters: I had also installed devise and would like to remove it and did so from my gemfile but now my server is broken and was wondering how to fix it: /home/qkay/.rvm/gems/ruby-2.5.3/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/core_ext/active_support.rb:74:in `block in load_missing_constant': uninitialized constant Devise (NameError)
[17:20:56] conta: has joined #RubyOnRails
[17:31:21] ariedler: has joined #RubyOnRails
[17:32:05] lxsameer: has joined #RubyOnRails
[17:46:16] mjacob: has joined #RubyOnRails
[17:52:47] jetchisel: has joined #RubyOnRails
[18:36:42] Puffball: has joined #RubyOnRails
[19:05:34] ausmat: has joined #RubyOnRails
[19:09:24] ausmat: has joined #RubyOnRails
[19:25:32] Arkantos: has joined #RubyOnRails
[19:27:06] lankanmon: has joined #RubyOnRails
[19:32:10] ariedler: has joined #RubyOnRails
[19:33:08] bambanx: has joined #RubyOnRails
[19:35:05] tectonic: has joined #RubyOnRails
[19:36:08] tectonic: has joined #RubyOnRails
[19:38:28] tectonic: has joined #RubyOnRails
[19:38:52] ellcs: has joined #RubyOnRails
[19:43:43] kristofferR: has joined #RubyOnRails
[19:51:43] gavit: has joined #RubyOnRails
[20:01:31] ur5us: has joined #RubyOnRails
[20:14:41] KevinSjoberg: has joined #RubyOnRails
[20:28:56] ellcs: has joined #RubyOnRails
[20:29:31] reber: has joined #RubyOnRails
[20:34:04] OrangeManBad: has joined #RubyOnRails
[20:43:46] Terens: has joined #RubyOnRails
[20:44:04] Terens: Do you believe that it is possible to
[20:44:14] Terens: not have code at controllers at all ?
[20:44:28] Terens: have a base one only
[20:45:52] fryguy: it's possible, it usually doesn't end well
[20:51:53] ausmat: has joined #RubyOnRails
[21:09:00] jaddison: has joined #RubyOnRails
[21:29:20] defsdoor: has joined #RubyOnRails
[21:32:50] Terens: fryguy, I thought that it was impossible
[21:33:03] ariedler: has joined #RubyOnRails
[21:33:21] Terens: but the project I am working on now with about 100 models
[21:34:23] Terens: doesn't have code at all. Initially I tried to add some but lead dev got pissed and I found out that with callbacks it is possible to do almost everything
[21:34:45] Terens: some models have about 50 callbacks and they work still
[21:34:58] Terens: however no tests at all
[21:35:02] fryguy: ls **/models/**/*.rb | wc -l
[21:35:24] fryguy: ACTION wishes he had 100
[21:36:32] dviola: has joined #RubyOnRails
[21:37:24] Terens: 720 wow heh
[21:37:43] Terens: do you have other layers too?
[21:56:40] crankhar1er: has joined #RubyOnRails
[21:57:30] ausmat: What's the best practice for communicating(synchronously) with the main app from within a Rails engine? Using http?
[22:00:06] lxsameer: has joined #RubyOnRails
[22:17:11] crankhar1er: has joined #RubyOnRails
[22:37:48] crankhar1er: has joined #RubyOnRails
[22:52:45] GodFather: has joined #RubyOnRails
[22:58:23] crankhar1er: has joined #RubyOnRails
[23:03:48] agent_white: has joined #RubyOnRails
[23:07:40] crankhar1er: has joined #RubyOnRails
[23:16:02] agent_white: has joined #RubyOnRails
[23:19:40] hnanon: has joined #RubyOnRails
[23:28:18] crankhar1er: has joined #RubyOnRails
[23:33:46] ariedler: has joined #RubyOnRails
[23:57:07] crankhar1er: has joined #RubyOnRails