« Back to channel list

#RubyOnRails - 02 November 2018

« Back 1 day Forward 1 day »
[00:22:54] beholders_eye: has joined #RubyOnRails
[00:27:20] sevenseacat: has joined #RubyOnRails
[01:03:14] Dimik: has joined #RubyOnRails
[01:19:16] whysthatso: has joined #RubyOnRails
[01:25:14] cagomez: has joined #RubyOnRails
[01:44:38] Xiti`: has joined #RubyOnRails
[01:45:09] Pixi_: has joined #RubyOnRails
[01:45:44] tdy: has joined #RubyOnRails
[02:16:58] mangold: has joined #RubyOnRails
[02:20:53] Saukk: has joined #RubyOnRails
[02:44:43] darkhanb: has joined #RubyOnRails
[02:45:03] georgedrummond: has joined #RubyOnRails
[03:09:14] kapil____: has joined #RubyOnRails
[03:24:13] uksio: has joined #RubyOnRails
[03:46:05] mangold: has joined #RubyOnRails
[03:57:58] Xiti: has joined #RubyOnRails
[04:07:29] Xiti`: has joined #RubyOnRails
[04:09:02] braincrash: has joined #RubyOnRails
[04:12:16] c0san0stra: has joined #RubyOnRails
[04:13:15] pragathoys: has joined #RubyOnRails
[04:14:12] lexileo: has joined #RubyOnRails
[04:31:40] brandall: has joined #RubyOnRails
[04:31:53] brandall: Do people typically use coffeescript with rails? I noticed it's turned on by default.
[04:39:13] sevenseacat: there was a phase of people using it for a while
[04:39:27] sevenseacat: if you don't want to use it, I'd recommend removing it
[04:44:27] brandall: sevenseacat: thanks
[04:44:53] brandall: trying to figure all this out. i'm coming from node where it's a lot of assembling my own packages
[04:45:17] sevenseacat: rails is very opinionated, but most of the opinions can be changed :)
[04:46:08] brandall: i think i like the opinionatedness
[04:46:16] aashaan: has joined #RubyOnRails
[04:46:22] brandall: it gets a lot of energy to form your own opinions sometimes
[04:46:39] sevenseacat: they're fine for getting going and getting familiar with the stack, then you can form your own
[04:46:57] brandall: i will say that after using node for a long time, i feel as if i'm doing something wrong my even considering rails
[04:47:09] brandall: i know that's wrong. just spent a lot of time on the other side haha
[04:50:09] darkhanb: has joined #RubyOnRails
[04:51:42] brandall: what about the default to generate json responses in all the controllers? are most people using a json api along side their views?
[04:51:57] brandall: seems like something you would be explicit about. is it more of a "why not?" thing?
[05:21:44] MoritaShinobu: has joined #RubyOnRails
[05:35:04] LightStalker: has joined #RubyOnRails
[05:49:26] mangold: But you are looking to use ror api backend with say reacts. It is pretty straight forward and you can pick and choose how your rails project is initiated.
[05:50:22] mangold: rails new --database=postgresql -J --skip-coffee .
[05:51:25] mangold: You can also skip unit-test among other things.
[06:07:31] lexileo: has joined #RubyOnRails
[06:52:20] atrius: has joined #RubyOnRails
[06:54:58] conta: has joined #RubyOnRails
[07:27:29] Puffball: has joined #RubyOnRails
[07:33:34] Puffball: has joined #RubyOnRails
[07:38:14] ahartley: has joined #RubyOnRails
[07:46:38] roshanavand: has joined #RubyOnRails
[07:59:46] ellcs: has joined #RubyOnRails
[08:03:55] roshanavand: has joined #RubyOnRails
[08:11:07] Puffball_: has joined #RubyOnRails
[08:21:52] Puffball: has joined #RubyOnRails
[08:39:33] DoubleMalt: has joined #RubyOnRails
[09:06:46] Arkentias: has joined #RubyOnRails
[09:07:57] za1b1tsu: has joined #RubyOnRails
[09:09:12] Arkentias: Hey everybody! I'm currently customizing the look of my error messages. I'm looking for a way to apply the "underscore" method to the attributes in the error, or even the whole error. How would I do that? I tried putting it directly in the translation YAML but of course it doesn't work
[09:14:23] Arkentias: In short I want this : "errors: format: "%{attribute} %{message}"" to become this: "errors: format: "%{attribute.underscore}_%{message}"" or this : "errors: format: "%{attribute} %{message}".underscore"
[09:14:28] Arkentias: Is there a clean way to do that?
[09:38:46] ahartley: has joined #RubyOnRails
[09:40:00] Arkentias: Okay, I got to the result I wanted by declaring self.human_attribute_name on my model, is there a way I could declare this to all my Models without copy-pasting in each one of them?
[09:40:08] roshanavand: has joined #RubyOnRails
[09:40:57] nexraf1: has joined #RubyOnRails
[10:11:42] Ergo: has joined #RubyOnRails
[10:17:59] voolik: has joined #RubyOnRails
[10:19:00] nertzy: has joined #RubyOnRails
[10:33:26] ahartley_: has joined #RubyOnRails
[10:37:45] pragathoys: has joined #RubyOnRails
[10:38:20] ahartley: has joined #RubyOnRails
[10:40:54] ahartley_: has joined #RubyOnRails
[10:42:34] ahartley__: has joined #RubyOnRails
[10:48:45] ahartley_: has joined #RubyOnRails
[11:03:48] roshanavand: has joined #RubyOnRails
[11:06:28] apeiros: has joined #RubyOnRails
[11:08:38] lankanmon: has joined #RubyOnRails
[11:17:14] apparition: has joined #RubyOnRails
[11:25:07] jsc: has joined #RubyOnRails
[11:30:10] conta: has joined #RubyOnRails
[11:32:31] roshanavand: has joined #RubyOnRails
[11:37:09] dachi: Arkentias are you looking for Ruby's "extend"?
[12:00:37] JamieD: has joined #RubyOnRails
[12:02:16] status402: has joined #RubyOnRails
[12:09:39] apeiros__: has joined #RubyOnRails
[12:39:18] kapil____: has joined #RubyOnRails
[12:44:18] mostlybadfly: has joined #RubyOnRails
[12:47:06] reber: has joined #RubyOnRails
[13:01:01] GodFather: has joined #RubyOnRails
[13:03:06] wojnar: has joined #RubyOnRails
[13:04:10] voolik: has joined #RubyOnRails
[13:08:14] Dimik: has joined #RubyOnRails
[13:09:43] za1b1tsu: has joined #RubyOnRails
[13:18:14] pragathoys: has joined #RubyOnRails
[13:30:44] ahartley: has joined #RubyOnRails
[13:54:00] blackcross: has joined #RubyOnRails
[13:55:15] pragathoys: has left #RubyOnRails: ("Closing Window")
[13:59:31] Tempesta: has joined #RubyOnRails
[14:08:07] krawchyk: has joined #RubyOnRails
[14:25:09] orbyt_: has joined #RubyOnRails
[14:30:35] ahartley: has joined #RubyOnRails
[15:01:28] sphalerite: has joined #RubyOnRails
[15:02:08] ahartley: has joined #RubyOnRails
[15:04:18] chouhoulis: has joined #RubyOnRails
[15:05:06] sphalerite: Hi folks. Complete newbie to both ruby and rails here, just trying to deploy an existing application. I'm having some difficulty with the migration https://github.com/loomio/loomio/blob/master/db/migrate/20120124225553_add_no_vote_count_to_motions.rb — "Motion" doesn't seem to be in scope here. Why might this be (particularly given that upstream doesn't seem to have any problems with it), and how might
[15:09:32] CheetoH1tlerBad: has joined #RubyOnRails
[15:11:25] blackcross: run rails db:migrate
[15:11:59] sphalerite: blackcross: yes, running the migration causes the error
[15:14:06] sphalerite: blackcross: uninitialized constant AddNoVoteCountToMotions::Motion
[15:51:59] ebsen: has joined #RubyOnRails
[16:06:12] roshanavand: has joined #RubyOnRails
[16:14:44] darkhanb: has joined #RubyOnRails
[16:24:34] ebsen: has joined #RubyOnRails
[16:25:31] roshanavand: has joined #RubyOnRails
[16:32:28] roshanavand: has joined #RubyOnRails
[16:45:48] ivanskie: has joined #RubyOnRails
[16:46:51] roshanavand: has joined #RubyOnRails
[16:50:17] GodFather: has joined #RubyOnRails
[17:00:22] sphalerite: To answer my earlier question: This happened because the model in question has since been deleted, and the solution was to run rake db:schema:load before migrate
[17:08:27] roshanavand: has joined #RubyOnRails
[17:17:01] Dbugger: has joined #RubyOnRails
[17:29:26] dachi: hi. do you use react-rails?
[17:44:06] eddof13: has joined #RubyOnRails
[17:44:09] jejacks0n: has joined #RubyOnRails
[17:46:04] jejacks0n: Hey, I'm doing sort of an odd setup. it's a single file rails app more or less using just the config.ru and some webpacker configuration. In doing this however, I've realized that I've not fully setup webpacker in a way that allows the dev server to work.
[17:46:38] ebsen: has joined #RubyOnRails
[17:46:59] jejacks0n: I'm hoping that there's somebody around that give me a quick rundown of how the webpacker dev server integrates with rails, and how assets are transpiled when requested through the dev server.
[17:48:12] jejacks0n: when I'm not running the dev server, the packs are compiled correctly and files are generated in `public/packs`. when running the dev server it only generates the manifest there, and then 404s on the packs themselves.
[17:48:36] jejacks0n: so I clearly missed something in the setup, but I'm wondering if it's just some webpacker file I need to require on app startup or something.
[17:50:26] jejacks0n: I'm looking at a full setup that works, and my micro setup that's not quiet behaving correctly to try and determine the reasons. I'll put info in here if I figure anything out.
[18:14:27] GodFather: has joined #RubyOnRails
[18:30:42] greengriminal: has joined #RubyOnRails
[18:36:31] za1b1tsu: has joined #RubyOnRails
[18:38:18] eckhardt: has joined #RubyOnRails
[18:42:49] cnk: has joined #RubyOnRails
[18:45:02] ellcs: has joined #RubyOnRails
[18:49:20] za1b1tsu: has joined #RubyOnRails
[18:52:56] voker57: has joined #RubyOnRails
[18:52:56] whysthatso: has joined #RubyOnRails
[18:57:59] reber: has joined #RubyOnRails
[18:58:06] za1b1tsu: has joined #RubyOnRails
[19:08:38] Xiti: has joined #RubyOnRails
[19:08:43] ebsen: has joined #RubyOnRails
[19:09:18] tdy: has joined #RubyOnRails
[19:11:46] Inside: dachi: I use react rails
[19:11:57] dachi: Inside hi.
[19:12:09] dachi: So first thing I use react-rails is that I need serverside rendering
[19:12:14] dachi: Otherwise webpacker:react is great
[19:12:25] dachi: So what I want to ask is
[19:13:22] dachi: when using react-router-dom and when I'm in situation where I need to wrap components that react-rails exports itself in another component like <App> and render those components inside it
[19:14:03] dachi: Do you recommend having whole Rails app render 1 component named 'App' for example and have it pass { pathname: request.path }
[19:14:24] dachi: Or how can you <%= react_component("About", {path: request.path}, {prerender: true}) %> for example
[19:14:48] dachi: and have About component also have <BrowserRouter
[19:14:59] dachi: I would not add <BrowserRouter> to every single component that I use for example
[19:15:10] dachi: I don't know if what I said makes sence....
[19:15:46] Inside: I've never used server side rendering unfortunately
[19:15:52] Inside: I don't even understand your question, sadly
[19:15:59] dachi: Inside ok thanks...
[19:16:05] ShekharReddy: has joined #RubyOnRails
[19:27:08] apeiros: has joined #RubyOnRails
[19:28:22] roshanavand: has joined #RubyOnRails
[19:31:27] apeiros__: has joined #RubyOnRails
[19:40:29] voolik: has joined #RubyOnRails
[19:46:17] NoGodDamnIdea: has joined #RubyOnRails
[19:52:37] roshanavand: has joined #RubyOnRails
[20:04:10] ellcs: has joined #RubyOnRails
[20:08:41] defsdoor: has joined #RubyOnRails
[20:10:15] ellcs: has joined #RubyOnRails
[20:19:46] mlt-: has joined #RubyOnRails
[20:20:40] mlt-: Are there any pros/cons to NOT having 'fixtures :all' in class ActiveSupport::TestCase while using MiniTest? I mean to explicitly name fixtures for each test...
[20:23:33] eckhardt: has joined #RubyOnRails
[20:33:45] samort7: Inside: I got my join table working and can favorite kit_lists now, thanks to you :)
[20:35:34] darkhanb: has joined #RubyOnRails
[20:44:42] beholders_eye: has joined #RubyOnRails
[20:56:04] eddof13: has joined #RubyOnRails
[21:10:38] beholders_eye: has joined #RubyOnRails
[21:17:06] mochiyoda: has joined #RubyOnRails
[21:17:17] reber: has joined #RubyOnRails
[21:18:01] bootstrappm: has joined #RubyOnRails
[21:19:13] Inside: mlt-: I had misconfigured my database.yml to point to a production database when I ran a test and the fixture loading code wiped out some production data ... without me even knowing :)
[21:21:35] bootstrappm: hey all, I wanted to get a little survey of some members of the community, please feel free to point me in the right direction if I'm in the wrong place. We've been having a hard time filling this position (https://www.linkedin.com/jobs/cap/view/911188581/?pathWildcard=911188581&trk=mcm), and I was wondering where do you think we should advertise to get in front of people that have been using Ruby for several
[21:24:07] beholders_eye: has joined #RubyOnRails
[21:28:51] reber__: has joined #RubyOnRails
[21:31:51] reber: has joined #RubyOnRails
[21:46:57] eddof13: has joined #RubyOnRails
[21:55:22] eckhardt: has joined #RubyOnRails
[22:15:52] TimHugh: has joined #RubyOnRails
[22:24:20] samort7: bootstrappm: I am actually a developer in Boston looking for work
[22:24:37] samort7: bootstrappm: Specifically RoR work haha
[22:24:48] ebsen: has joined #RubyOnRails
[22:39:22] samort7: bootstrappm: Just sent you a PM
[23:06:33] baweaver: In general it's fine to post job ads in here, just as long as it doesn't become spammy.
[23:06:58] roshanavand: has joined #RubyOnRails
[23:07:24] baweaver: As far as where you'll find a lot of Rails developers that are more Senior, it depends. A lot of us are somewhere in California or Australia.
[23:07:49] baweaver: or Github has them locked down for at least a few years after the microsoft acquisition.
[23:08:05] lupine: ACTION waves from shetland
[23:10:37] glasz: somebody from https://github.com/peek/peek on here?
[23:16:26] orbyt_: has joined #RubyOnRails
[23:17:37] eean: has joined #RubyOnRails
[23:24:25] roshanavand: has joined #RubyOnRails
[23:38:10] eddof13: has joined #RubyOnRails
[23:38:27] eckhardt: has joined #RubyOnRails
[23:57:03] dviola: has joined #RubyOnRails