« Back to channel list

#RubyOnRails - 01 July 2018

« Back 1 day Forward 1 day »
[00:17:40] lxsameer: has joined #RubyOnRails
[00:35:38] orbyt_: has joined #RubyOnRails
[00:57:57] lxsameer: has joined #RubyOnRails
[01:07:27] apparition: has joined #RubyOnRails
[01:18:05] shiru: has joined #RubyOnRails
[01:29:26] jnollette: has joined #RubyOnRails
[01:34:08] spoon: has joined #RubyOnRails
[01:37:37] lxsameer: has joined #RubyOnRails
[01:41:15] kapil___: has joined #RubyOnRails
[01:47:40] lxsameer: has joined #RubyOnRails
[01:52:52] DTZUZO: has joined #RubyOnRails
[01:57:39] lxsameer: has joined #RubyOnRails
[02:10:13] ephemer0l: has joined #RubyOnRails
[02:33:32] sevenseacat: has joined #RubyOnRails
[02:42:52] lxsameer: has joined #RubyOnRails
[02:57:46] lxsameer: has joined #RubyOnRails
[02:58:57] tdy: has joined #RubyOnRails
[03:10:37] braincrash: has joined #RubyOnRails
[03:24:59] DTZUZO: has joined #RubyOnRails
[03:37:41] lxsameer: has joined #RubyOnRails
[03:55:20] psychoslave: has joined #RubyOnRails
[04:15:59] GodFather: has joined #RubyOnRails
[04:17:37] lxsameer: has joined #RubyOnRails
[04:27:49] lxsameer: has joined #RubyOnRails
[04:37:41] lxsameer: has joined #RubyOnRails
[04:42:56] lxsameer: has joined #RubyOnRails
[04:56:40] lxsameer: has joined #RubyOnRails
[05:00:45] bradleyprice: has joined #RubyOnRails
[05:07:21] Ropeney: has joined #RubyOnRails
[05:13:06] Ropeney: has joined #RubyOnRails
[05:14:24] Ropeney: has joined #RubyOnRails
[05:15:52] Ropeney: has joined #RubyOnRails
[05:17:15] Ropeney: has joined #RubyOnRails
[05:34:40] Ropeney: has joined #RubyOnRails
[05:37:34] lxsameer: has joined #RubyOnRails
[05:42:00] Ropeney: has joined #RubyOnRails
[05:45:26] tdy: has joined #RubyOnRails
[05:47:39] lxsameer: has joined #RubyOnRails
[06:02:09] bradleyprice: has joined #RubyOnRails
[06:04:40] Technodrome: has joined #RubyOnRails
[06:26:29] Puffball_: has joined #RubyOnRails
[06:27:41] lxsameer: has joined #RubyOnRails
[06:37:40] lxsameer: has joined #RubyOnRails
[06:42:37] lxsameer: has joined #RubyOnRails
[06:51:47] yottanami: has joined #RubyOnRails
[06:52:38] lxsameer: has joined #RubyOnRails
[07:07:28] ynonp: has joined #RubyOnRails
[07:08:51] conta: has joined #RubyOnRails
[07:16:10] za1b1tsu: has joined #RubyOnRails
[07:27:09] apeiros: has joined #RubyOnRails
[07:32:48] lxsameer: has joined #RubyOnRails
[07:53:48] psychoslave: has joined #RubyOnRails
[08:08:03] za1b1tsu: has joined #RubyOnRails
[08:12:40] lxsameer: has joined #RubyOnRails
[08:52:35] lxsameer: has joined #RubyOnRails
[08:54:21] apparition: has joined #RubyOnRails
[09:02:30] FernandoBasso: has joined #RubyOnRails
[09:07:40] lxsameer: has joined #RubyOnRails
[09:17:39] lxsameer: has joined #RubyOnRails
[09:22:51] roamingdog: has joined #RubyOnRails
[09:32:12] sameerynho: has joined #RubyOnRails
[09:40:56] DTZUZO: has joined #RubyOnRails
[09:45:54] kapil___: has joined #RubyOnRails
[09:50:06] DTZUZO: has joined #RubyOnRails
[09:57:40] lxsameer: has joined #RubyOnRails
[10:02:35] lxsameer: has joined #RubyOnRails
[10:07:35] lxsameer: has joined #RubyOnRails
[10:08:16] sandstrom: has joined #RubyOnRails
[10:15:29] ynonp: has joined #RubyOnRails
[10:16:05] reber: has joined #RubyOnRails
[10:17:59] lxsameer: has joined #RubyOnRails
[10:50:24] lord4163: has joined #RubyOnRails
[11:02:39] lxsameer: has joined #RubyOnRails
[11:12:35] lxsameer: has joined #RubyOnRails
[11:52:41] lxsameer: has joined #RubyOnRails
[11:54:46] desperek: has joined #RubyOnRails
[12:17:48] dblessing: has joined #RubyOnRails
[12:20:49] johndunn: has joined #RubyOnRails
[12:32:37] lxsameer: has joined #RubyOnRails
[12:36:04] yottanami: I just created a job using active job and trying to run it using whenever gem
[12:36:22] yottanami: but it seems it can not access models and active model
[12:36:36] yottanami: how should I include it?
[12:39:29] tbuehlmann: usually the job backend processes jobs, how are you doing it exactly?
[12:43:39] SanguineAnomaly: has joined #RubyOnRails
[13:12:36] lxsameer: has joined #RubyOnRails
[13:14:26] Dbugger: has joined #RubyOnRails
[13:17:37] lxsameer: has joined #RubyOnRails
[13:18:50] SanguineAnomaly: has joined #RubyOnRails
[13:42:23] uksio: has joined #RubyOnRails
[13:52:03] Caerus: has joined #RubyOnRails
[13:52:14] _Caerus: has joined #RubyOnRails
[13:57:39] lxsameer: has joined #RubyOnRails
[14:07:50] lxsameer: has joined #RubyOnRails
[14:16:29] conta: has joined #RubyOnRails
[14:19:35] Caerus: has joined #RubyOnRails
[14:28:19] johndunn: has left #RubyOnRails: ()
[14:31:30] dviola: has joined #RubyOnRails
[14:32:13] fmcgeough: has joined #RubyOnRails
[14:47:40] lxsameer: has joined #RubyOnRails
[14:51:22] psychoslave: has joined #RubyOnRails
[15:01:33] Dimik: has joined #RubyOnRails
[15:27:37] lxsameer: has joined #RubyOnRails
[15:45:53] Technodrome: has joined #RubyOnRails
[16:27:37] lxsameer: has joined #RubyOnRails
[17:01:35] SanguineAnomaly: has joined #RubyOnRails
[17:12:38] lxsameer: has joined #RubyOnRails
[17:22:14] Puffball: has joined #RubyOnRails
[17:23:26] vedu_: has joined #RubyOnRails
[17:32:57] fmcgeough: has joined #RubyOnRails
[17:34:16] akaiiro: has joined #RubyOnRails
[17:43:59] ellcs: has joined #RubyOnRails
[17:47:46] uks: has joined #RubyOnRails
[17:55:15] ynonp: has joined #RubyOnRails
[18:07:37] lxsameer: has joined #RubyOnRails
[18:26:01] johndunn: has joined #RubyOnRails
[18:28:11] orbyt_: has joined #RubyOnRails
[18:44:22] Dbugger: has joined #RubyOnRails
[18:46:57] FernandoBasso: has joined #RubyOnRails
[18:47:40] lxsameer: has joined #RubyOnRails
[18:53:22] FernandoBasso: has joined #RubyOnRails
[19:05:49] bradleyprice: has joined #RubyOnRails
[19:27:38] lxsameer: has joined #RubyOnRails
[19:30:11] conta: has joined #RubyOnRails
[19:37:40] lxsameer: has joined #RubyOnRails
[19:45:02] ams__: has joined #RubyOnRails
[19:46:33] gheegh: has joined #RubyOnRails
[19:47:39] lxsameer: has joined #RubyOnRails
[19:49:31] gheegh: hey all.. question. I'm using Moneta to bulid a simple gem that looks up/loads a file that's about 800MB uncompressed. I am storing it on Github, so I need to break it into smaller file sizes. I had loaded it into several small SQL files, but that's not supported on Heroku. The File store breaks each key into its own file, adding about 400,000 files to the github repo (not a great idea for performance). I need something smaller,
[19:49:31] gheegh: compressable, deployable to Heroku.. anyone have any thoughts?
[19:55:31] za1b1tsu: has joined #RubyOnRails
[20:03:58] fmcgeough: has joined #RubyOnRails
[20:09:06] bradleyprice: has joined #RubyOnRails
[20:15:25] sandstrom: has joined #RubyOnRails
[20:27:42] lxsameer: has joined #RubyOnRails
[20:37:42] lxsameer: has joined #RubyOnRails
[21:12:28] reber: has joined #RubyOnRails
[21:13:11] vedu_: has joined #RubyOnRails
[21:17:41] lxsameer: has joined #RubyOnRails
[21:21:28] reber: has left #RubyOnRails: ("Leaving")
[21:57:22] eckhardt: has joined #RubyOnRails
[21:57:38] lxsameer: has joined #RubyOnRails
[21:59:59] johndunn: has left #RubyOnRails: ()
[22:12:02] tdy: has joined #RubyOnRails
[22:13:33] jnollette: has joined #RubyOnRails
[22:27:17] bga57: has joined #RubyOnRails
[22:34:40] Technodrome: has joined #RubyOnRails
[22:42:07] Radar: GOOD MORNING
[22:42:33] Radar: gheegh: perhaps re-think your approach.
[22:42:53] Radar: gheegh: why can't your file be a database hosted somewhere like AWS?
[22:43:02] Radar: Why does it have to be deployed _with_ the application?
[22:52:06] andrewray: has joined #RubyOnRails
[22:52:37] lxsameer: has joined #RubyOnRails
[22:52:47] andrewray: I feel frustrated reading the rails guides, because they seem to be haphazardly written and little effort put in for readability, especially for newcomers to the conventions
[22:53:11] andrewray: pull requests accepted, I understand, but I'm curious if anyone else has felt this way? for example http://guides.rubyonrails.org/routing.html - reading this top to bottom has been surprisingly painful for me
[23:09:48] gheegh: has joined #RubyOnRails
[23:26:09] darkhanb: has joined #RubyOnRails
[23:32:39] lxsameer: has joined #RubyOnRails
[23:32:56] Radar: andrewray: can you speak to why it is painful?
[23:33:20] chouhoulis: has joined #RubyOnRails
[23:33:23] Radar: The routing guide (like the querying guide too) is a good demonstration of all the methods available to you. Both guides are a bit like "drinking from the firehose"
[23:33:41] Radar: I'm comparing these with the getting started guide which has a clear narrative top-to-bottom
[23:36:44] andrewray: "1.2 Generating Paths and URLs from Code" does not clearly point out what is actually being generated and what "this" is when "reducing britleness" - lots of things like this where no attempt is made to help the newcomer. I only know it's refering to `patient_path` from convention
[23:37:11] andrewray: "2 Resource Routing: the Rails Default" - never attempts to explain what a "resource" is
[23:37:54] andrewray: "resource :geocoder
[23:37:55] andrewray: resolve('Geocoder') { [:geocoder] }" - never explains what that random second resolve() line is doing
[23:38:56] andrewray: could really use an introduction to rails convention here, saying that instead of regular method defintions you can easily follow, rails is built on naming conventions you must memorize, like snake_case_name_path(thing)
[23:41:10] Radar: andrewray: one at a time ;)
[23:41:30] Radar: 1.2: "then the router will generate the path /patients/17"
[23:41:40] Radar: Seems like it's very clear there what is output by `patient_path`?
[23:41:40] andrewray: noooo Radar I don't want the answers to these questions, these are just general examples of how I wish the docs were explicit about what they were describing
[23:42:40] andrewray: they seem more like api-ish docs than guides you read top to bottom, which isn't clear from "rails guides"
[23:42:41] lxsameer: has joined #RubyOnRails
[23:42:50] Radar: Yeah it's more like an advanced API guide.
[23:43:07] Radar: It's organised in a relatively logical order. Methods you'd use the most are at the top.
[23:44:27] Radar: Resources are explained in Section 5 of the Getting Started guide.
[23:44:32] Radar: > In the Blog application, you will now create a new resource. A resource is the term used for a collection of similar objects, such as articles, people or animals.
[23:47:31] andrewray: to me it reads like wikipedia, lots of disjoint editing with no attempt at narrative / flow
[23:51:13] Radar: Yes, that is how that particular guide is designed.
[23:51:32] Radar: The getting started guide will introduce you to the same concepts but with a better narrative flow.
[23:52:39] lxsameer: has joined #RubyOnRails
[23:54:15] andrewray: The order is strange to me, for example "Rails would dispatch that request to the destroy action on the photos controller" happens *before* they explain what the resources method does
[23:56:14] andrewray: I think I suffer from cognitive disconnect between the site name "Rails Guides", the title "Rails Routing from the Outside In", and the reality that it's more of a top-to-bottom api doc than an intro guide.
[23:56:28] andrewray: even something like a page layout with a sticky sidebar for each section would help make it obvious this is more of a topic-by-topic coverage than my mental model of a "guide"
[23:56:33] Radar: There isn't a better way to write that guide imo.