« Back to channel list

#RubyOnRails - 06 May 2017

« Back 1 day Forward 1 day »
[00:01:47] Aytan72: has joined #RubyOnRails
[00:05:38] brent__: has joined #RubyOnRails
[00:09:47] chouhoulis: has joined #RubyOnRails
[00:12:07] brent__: has joined #RubyOnRails
[00:15:52] brent__: has joined #RubyOnRails
[00:16:26] cagomez: has joined #RubyOnRails
[00:19:26] bronson: has joined #RubyOnRails
[00:22:26] andrevan: has joined #RubyOnRails
[00:24:07] Technodrome: has joined #RubyOnRails
[00:27:27] gaucheph: has joined #RubyOnRails
[00:34:23] mokiwis: has joined #RubyOnRails
[00:37:24] cagomez: has joined #RubyOnRails
[00:38:35] Aytan72: has joined #RubyOnRails
[00:58:37] duderono_: has joined #RubyOnRails
[01:00:29] GodFather: has joined #RubyOnRails
[01:36:01] brent__: has joined #RubyOnRails
[01:46:54] quirkycoders: has joined #RubyOnRails
[01:53:16] FCser: has left #RubyOnRails: ()
[01:53:58] FCser: has joined #RubyOnRails
[01:55:16] romeoh: has joined #RubyOnRails
[01:56:40] romeoh_: has joined #RubyOnRails
[01:59:43] irishfromua: has joined #RubyOnRails
[02:15:26] ule: Hi guys.. anyone here using UUID + Rails 5 + MySQL?
[02:15:54] romeoh_: i'm trying to pass my title_tag translation my query params, but I'd like to remove `reverse_` from the :order and am having a difficult time. http://rubyfiddle.com/riddles/1cad6
[02:17:46] xall_: has joined #RubyOnRails
[02:21:15] duderonomy: has joined #RubyOnRails
[02:32:34] bronson: has joined #RubyOnRails
[02:35:10] Jameser: has joined #RubyOnRails
[02:49:55] armando: has joined #RubyOnRails
[02:51:04] quirkycoders: has joined #RubyOnRails
[02:53:10] quirkycoders: has joined #RubyOnRails
[03:00:27] sandstrom: has joined #RubyOnRails
[03:00:49] irishfromua: has joined #RubyOnRails
[03:01:01] quirkycoders: has joined #RubyOnRails
[03:30:16] roamingdog: has joined #RubyOnRails
[03:33:00] bronson: has joined #RubyOnRails
[03:48:44] akshat: has joined #RubyOnRails
[03:49:31] Technodrome: has joined #RubyOnRails
[03:51:03] Aytan72: has joined #RubyOnRails
[03:57:58] romeoh: has joined #RubyOnRails
[04:18:02] wkoszek: from reading the rails framework code and some docs, my understanding is that `add_foreign_key` is same as t.references.. Am I get it right?
[04:19:04] wkoszek: I'm attempting to do: t.references :posts, foreign_key: true, on_delete: :cascade but the cascading doesn't seem to work (not getting this constraint executed in the SQL)
[04:38:35] uksio: has joined #RubyOnRails
[04:39:02] Joufflu: has joined #RubyOnRails
[04:47:51] roflmyeggo: has joined #RubyOnRails
[05:23:43] Tempesta: has joined #RubyOnRails
[05:24:17] itarato: has joined #RubyOnRails
[05:32:24] dionysus69: has joined #RubyOnRails
[05:34:07] bronson: has joined #RubyOnRails
[05:40:28] wkoszek: hm. you actually need to use: foreign_key: {on_delete: :cascade}
[05:45:07] tamouse__: has joined #RubyOnRails
[05:49:20] Pumukel: has joined #RubyOnRails
[05:51:37] v|sh: has joined #RubyOnRails
[05:52:13] roflmyeggo: has joined #RubyOnRails
[06:01:29] quirkycoders: has joined #RubyOnRails
[06:12:40] defsdoor: has joined #RubyOnRails
[06:23:05] _aeris_: has joined #RubyOnRails
[06:26:44] cagomez: has joined #RubyOnRails
[06:40:35] pwnd_nsfw: has joined #RubyOnRails
[06:40:43] pwnd_nsfw: Y'all want to see something that should never, ever fucking happen?
[06:40:43] pwnd_nsfw: https://gist.github.com/SirUncleCid/3d4a94193275a1ece265f4dbdb25d90c
[06:43:28] mtkd: has joined #RubyOnRails
[06:50:06] Pumukel: has joined #RubyOnRails
[06:58:51] _aeris_: has joined #RubyOnRails
[07:13:10] rgr_: has joined #RubyOnRails
[07:14:36] gr33nw00d: has joined #RubyOnRails
[07:16:08] gr33nw00d: Hi guys. I'm creating what in PHP I would have called a "library", this is some related functionality. For example, a custom notifier class than handles sending out emails, text messages, etc. Is the best practice to put this code in app/models, lib, or somewhere else?
[07:24:16] pwnd_nsfw: gr33nw00d, a gem, lib folder, etc
[07:24:40] pwnd_nsfw: Depends on how you'd like to organize the code
[07:25:28] pwnd_nsfw: A gem could be a portable version (in other words, easily copied to another application) of something you'd throw in the lib folder.
[07:26:47] apeiros: gr33nw00d: we call them library too. and you usually make a gem out of that library (allows for easier sharing of the library across projects)
[07:27:22] apeiros: gr33nw00d: rails has a specialized kind of library, called "engine", which hooks into some of rails' parts
[07:27:34] apeiros: (an engine is a specialized kind of gem)
[07:28:15] gr33nw00d: Hmmm. Thanks very much for the responses. I'm now thinking that this libraries are too application-specific to consider sharing them outside of this project, however they don't deal with any DB stuff.
[07:28:31] gr33nw00d: I guess the lib folder would be my best bet
[07:28:31] apeiros: gr33nw00d: http://guides.rubygems.org and http://guides.rubyonrails.org/engines.html
[07:29:02] apeiros: the lib folder is the right place if you only need it in that one project
[07:29:07] gr33nw00d: awesome, cheers
[07:29:22] apeiros: and you can always start there and extract it into a gem/engine later
[07:29:30] gr33nw00d: if I add a class to lib/xx.rb, will rails auto load it and it will be available globally?
[07:29:55] pwnd_nsfw: engines are pretty situation specific as well
[07:30:04] pwnd_nsfw: gr33nw00d, no iirc
[07:30:10] pwnd_nsfw: I'll fetch the code real quick to load it though
[07:30:17] pwnd_nsfw: I sorta know if off the top of my head
[07:30:42] gr33nw00d: you include it
[07:30:48] apeiros: lib is not autoloaded
[07:30:49] pwnd_nsfw: Dir["#{Rails.root}/lib/*.rb"].each {|file| require file }
[07:30:54] pwnd_nsfw: Something along those lines
[07:30:58] apeiros: I think ever since rails 3.0
[07:31:17] pwnd_nsfw: You'd put that in application.rb iirc
[07:31:22] apeiros: pwnd_nsfw: that's more like eager loading than autoloading, though
[07:31:24] pwnd_nsfw: inb4 s/iirc//
[07:31:35] apeiros: you can add the lib dir to rails' autoloader, though
[07:31:45] gr33nw00d: Have you guys seen strange errors like this: "A copy of XXX has been removed from the module tree but is still active!"? I think it's due to me using models/libraries in a novice way.
[07:32:29] apeiros: not sure, does that happen in production or only in development?
[07:32:37] apeiros: sounds like an autoloading issue to me
[07:32:51] apeiros: (the reloading part of autoloading, that is)
[07:33:02] gr33nw00d: In development only
[07:33:04] User458764: has joined #RubyOnRails
[07:33:04] gr33nw00d: good thinking
[07:34:44] apeiros: I think it means you reference a removed module somewhere and use that
[07:34:49] bronson: has joined #RubyOnRails
[07:34:58] gr33nw00d: What sort of code would cause an issue like that?
[07:35:07] apeiros: i.e. x = Some::Module; <reloading happens here, replacing Some::Module with a different object>; x.foo # still uses the old Some::Module
[07:35:23] gr33nw00d: Interesting
[07:35:29] apeiros: but that's only a guess
[07:36:31] gr33nw00d: It's a wise one
[07:37:04] tamouse__: pwnd_nsfw: that's a pretty amazing controller you found
[07:37:37] pwnd_nsfw: Dude...........
[07:37:43] pwnd_nsfw: Don't even know where to begin on that haha
[07:37:52] tamouse__: can i show that to my class?
[07:37:53] pwnd_nsfw: I'd probably start moving whatever I could to the models
[07:38:25] pwnd_nsfw: I suppose so. I'd remove the
[07:38:41] pwnd_nsfw: fuggin'... I just had the word in my brain. The author's name
[07:38:46] pwnd_nsfw: credits 'n stuff
[07:38:49] tamouse__: i'll strip any identifying parts and rename the named things
[07:39:16] pwnd_nsfw: Don't want to get anyone fired
[07:39:25] pwnd_nsfw: I think that's from 2013, but still
[07:39:31] pwnd_nsfw: No excuse lol
[07:41:03] apeiros: pwnd_nsfw: workflow classes
[07:41:20] apeiros: rails people push too much non-persistence/relation stuff into models
[07:41:30] marr: has joined #RubyOnRails
[07:46:13] pwnd_nsfw: I bet that guy is like "Da hell is SRP? Never heard of it in my damn life"
[07:46:26] pwnd_nsfw: "Logic should be in controllers... because that's where it's used duh"
[07:47:52] tamouse__: reminds me of angular1x projects i've seen, and ... PHP?
[07:47:58] gr33nw00d: What's your code paste bin of choice?
[07:48:24] pwnd_nsfw: gist for days
[07:48:48] pwnd_nsfw: See, PHP wouldn't be so bad if the people who programmed with/for it weren't brain damaged
[07:49:01] pwnd_nsfw: And by brain damaged, I mean don't care about standards
[07:49:10] pwnd_nsfw: Or just don't know about them.
[07:49:28] tamouse__: well, clearly you can break ruby just as much
[07:49:51] pwnd_nsfw: I was writing my own MVC framework in PHP before I even knew what mvc was. It just felt better to have things separated.
[07:49:57] pwnd_nsfw: Right, it's the programmer
[07:50:02] pwnd_nsfw: It doesn't make the language bad
[07:50:09] pwnd_nsfw: However, PHP standard api is pretty garbage
[07:50:15] pwnd_nsfw: or was anyways, I haven't touched it or kept up on it
[07:50:22] pLaTo0n: has joined #RubyOnRails
[07:50:26] pwnd_nsfw: It'll forever be the laughing stock of popular languages
[07:51:01] gr33nw00d: Here is an example that triggers the "removed from the module tree" error: https://gist.github.com/otang/4a97c8303205763b9b1732ef6f743f08
[07:51:40] Pumukel: has joined #RubyOnRails
[07:51:56] pwnd_nsfw: MissingConstant is what?
[07:52:05] tamouse__: i never got around to trying any PHP ORMs
[07:52:10] pwnd_nsfw: And if that code runs something.... remove executing code from initializer please
[07:52:20] pwnd_nsfw: I tried Laravel for a job interview
[07:52:30] tamouse__: what's it use?
[07:52:33] pwnd_nsfw: It's basically Rails, except terrible because of PHP
[07:52:43] gr33nw00d: It is actually a missing constant haha
[07:52:50] pwnd_nsfw: fuckin',... I'm incredible tired
[07:53:09] gr33nw00d: Without the actionmailer I get the expected error: "NameError: uninitialized constant"
[07:53:11] pwnd_nsfw: Laravel uses Eloquent
[07:53:38] apeiros: php is a bad language, but programs aren't bad because of the language being bad.
[07:53:41] pwnd_nsfw: gr33nw00d, I think you're probably doing something incredibly wrong with your code
[07:53:51] gr33nw00d: Yes it seems that way...
[07:53:55] pwnd_nsfw: can you show us the two classes you're messing around with there?
[07:54:04] gr33nw00d: sure I'd love to, give me a moment
[07:55:31] tamouse__: i've only seen that error when i've been dorking around in pry
[07:56:40] gr33nw00d: Here is my team model: https://gist.github.com/otang/c0d7d37c498c5867181d9fedb5e75eee (the notify_admin_of_registration lifecycle callback is what triggers the error).
[07:57:19] gr33nw00d: dev_mailer.rb: https://gist.github.com/otang/3fe8a15e4c6ca4f9dfbee56a56330ab7
[07:57:57] pwnd_nsfw: gr33nw00d, you can just put them all into one gist
[07:58:04] pwnd_nsfw: just edit the first one, add file at the bottom
[07:58:10] gr33nw00d: Oh sorry that's a good idea.
[07:58:18] pwnd_nsfw: Yeah, that's why gist is sexy and gr8
[07:59:30] gr33nw00d: This gist is updated: https://gist.github.com/otang/c0d7d37c498c5867181d9fedb5e75eee
[07:59:58] dionysus69: has joined #RubyOnRails
[08:00:02] duderonomy: has joined #RubyOnRails
[08:00:15] gr33nw00d: I think I'm doing something wrong with my SlackNotifier class, as it seems to be the constant that causes the error after disabling pieces of code. It still causes the error if I move it to /lib
[08:00:22] pwnd_nsfw: Throw the full error in there too while you're at it
[08:01:15] gr33nw00d: Error is at the top.
[08:01:38] gr33nw00d: This is run using `rails console`
[08:02:00] pwnd_nsfw: what's the error saying
[08:02:01] pwnd_nsfw: NameError: uninitialized constant Team::MissingConstant
[08:02:04] pwnd_nsfw: It doesn't exist...
[08:02:05] gr33nw00d: shoot ignore that error
[08:02:19] gr33nw00d: sorry that's the wrong copy pasta
[08:03:01] gr33nw00d: How embarrasing
[08:03:04] gr33nw00d: Updated ! :)
[08:03:38] gr33nw00d: So that's the error that I expect - "uninitialized constant", however "A copy of Team has been removed from the module tree but is still active!" is unexpected.
[08:04:48] tamouse__: so grasping, but i think that means somewhere in that mess you've redefined the Team constant
[08:04:52] pwnd_nsfw: I think we're gonna need another file somewhere
[08:05:57] gr33nw00d: Interestingly if I disable the dev_mailer, it works
[08:06:03] blackmesa: has joined #RubyOnRails
[08:07:12] tamouse__: let's see what that looks like. note you can create new files in gist by clicking on the Add File button to the left of the "Update" button
[08:07:25] pwnd_nsfw: That's what I wanted you to do in the first place
[08:07:34] pwnd_nsfw: Add File is a button on the bottom haha
[08:07:40] pwnd_nsfw: I didn't specify that it was a button
[08:08:26] gr33nw00d: Derp. Ok one moment will add them instead of putting them all in one file.
[08:08:43] gr33nw00d: Interesting breakthrough. Removing .deliver_later also fixes the bug
[08:11:17] gr33nw00d: prevents, rather
[08:11:38] gr33nw00d: the gists have been updated with sane use of files
[08:12:27] gr33nw00d: My ignorant theory, is that deliver_later is keeping a reference to the Team model, passed to it via self keyword, and then some sort of rails reload magic is happening before the deliver_later queue is processed?
[08:13:31] tamouse__: it's probably lost the reference for what team is by the time it runs
[08:13:46] tamouse__: pass the team.id instead and do a find in the mailer
[08:15:11] gr33nw00d: that is a great idea
[08:16:02] gr33nw00d: damn, does not prevent the bug
[08:16:45] tamouse__: something is off on autoloading
[08:17:18] tamouse__: is the Team class in app/models/team.rb ?
[08:19:30] tamouse__: try stopping spring
[08:19:46] gr33nw00d: However something weird is that SlackNotifier is in app/models/services/slack_notifier.rb
[08:19:55] tamouse__: that should be ok
[08:20:12] tamouse__: you've got it namespaced properly for that
[08:21:18] gr33nw00d: I removed spring and the bug was avoided
[08:22:18] tamouse__: meaning it works without spring?
[08:23:11] pwnd_nsfw: Spring is annoying sometimes
[08:23:21] pwnd_nsfw: Similarly to Turbolinks
[08:23:25] gr33nw00d: Yes without spring it works
[08:23:29] gr33nw00d: wow thanks guys
[08:23:29] pwnd_nsfw: I literally disable both whenever I create new projects
[08:23:51] gr33nw00d: Is spring what prevents you from having to restart your server after making changes?
[08:23:54] pwnd_nsfw: They're great tools.... until something totally trivial happens, and it explodes
[08:24:07] gr33nw00d: I always disable turbolinks
[08:24:14] gr33nw00d: now I will avoid spring too haha
[08:24:20] gr33nw00d: I can read the docs on what it does
[08:24:24] tamouse__: spring is sorta like hot loading
[08:24:25] gr33nw00d: much love! thanks for your help
[08:24:28] gr33nw00d: this woulda taken me for ever
[08:24:33] pwnd_nsfw: Glad we could get somewhere for ya
[08:24:45] pwnd_nsfw: I've run into the problem countless times
[08:24:50] tamouse__: but yeah, my .railsrc has --skip-spring and --skip-turbolinks in it still
[08:24:51] pwnd_nsfw: I just... don't use spring anymore
[08:25:05] pwnd_nsfw: I've been doing it manually
[08:25:27] pwnd_nsfw: Is .railsrc in !?
[08:25:49] pwnd_nsfw: I need to go to bed now
[08:26:18] tamouse__: gr33nw00d: keep the idea of passing the id and retrieving the record in the mailer, though
[08:26:35] gr33nw00d: Ok will do!
[08:26:50] tamouse__: it's generally a better practice for dealing with any background jobs or things which will run between stacks
[08:27:08] gr33nw00d: At first it felt inefficient, but I can see how there are benefits
[08:27:12] gr33nw00d: ie. if record is updated before job runs
[08:29:17] tamouse__: also, there are better ways of dealing with how mail is handled in non-prod environments than just turning it completely off
[08:29:31] tamouse__: what you miss is the chance to find errors in your mailers
[08:29:43] tamouse__: but save that for another day
[08:30:30] v|sh: has joined #RubyOnRails
[08:33:23] v|sh: has joined #RubyOnRails
[08:35:57] User458764: has joined #RubyOnRails
[08:36:30] roamingdog: has joined #RubyOnRails
[08:39:18] rgr: has joined #RubyOnRails
[08:42:27] v|sh: has joined #RubyOnRails
[08:45:51] nachoman: has joined #RubyOnRails
[08:46:33] nachoman: Hi all, anyone willing to discuss about sprockets issues?, I have a nice one here with ember gem :)
[08:53:10] Pumukel: has joined #RubyOnRails
[08:57:14] lxsameer: has joined #RubyOnRails
[09:30:10] conta1: has joined #RubyOnRails
[09:34:16] mhenrixon: has joined #RubyOnRails
[09:36:11] bronson: has joined #RubyOnRails
[09:37:54] v|sh: has joined #RubyOnRails
[09:41:24] xco: has joined #RubyOnRails
[09:49:03] xall_: has joined #RubyOnRails
[09:53:18] patarr: has joined #RubyOnRails
[09:54:36] Pumukel: has joined #RubyOnRails
[10:01:10] meoblast001: has joined #RubyOnRails
[10:04:04] meoblast001: has joined #RubyOnRails
[10:10:13] meoblast001: has joined #RubyOnRails
[10:17:13] dionysus69: has joined #RubyOnRails
[10:21:18] waseem_: has joined #RubyOnRails
[10:45:46] akshat: has joined #RubyOnRails
[10:49:01] netzfisch: has joined #RubyOnRails
[10:50:45] arBmind: has joined #RubyOnRails
[10:55:25] Pumukel: has joined #RubyOnRails
[10:58:00] irishfromua: has joined #RubyOnRails
[11:16:35] JDeen: has joined #RubyOnRails
[11:18:55] JDeen: Hello... I got a question on writing rspec requst spec. I got a controller acition that redirects back. When I try to test it, I get an error that HTTP_REFERER has not been set. How can I set it in a request spec?
[11:25:32] shinzah: has joined #RubyOnRails
[11:26:31] shinzah: I'm trying to create some specs for OAuth2 flows. I'm using the oauth2 library to do so. But I'm having some trouble with this. Anyone who has some experience with mocking oauth applications?
[11:34:43] roamingdog: has joined #RubyOnRails
[11:45:52] quirkycoders: has joined #RubyOnRails
[11:49:37] Saukk: has joined #RubyOnRails
[11:56:56] Pumukel: has joined #RubyOnRails
[12:10:39] rgr: has joined #RubyOnRails
[12:26:54] arBmind: has joined #RubyOnRails
[12:35:46] roamingdog: has joined #RubyOnRails
[12:38:52] waseem_: has joined #RubyOnRails
[12:57:53] Pumukel: has joined #RubyOnRails
[13:02:07] quirkycoders: has joined #RubyOnRails
[13:09:36] User458764: has joined #RubyOnRails
[13:10:12] User458764: has joined #RubyOnRails
[13:10:33] Technodrome: has joined #RubyOnRails
[13:22:47] srinidhi: has joined #RubyOnRails
[13:23:32] antib: has joined #RubyOnRails
[13:26:07] quirkycoders: has joined #RubyOnRails
[13:36:30] roamingdog: has joined #RubyOnRails
[13:37:18] ravster: has joined #RubyOnRails
[13:38:01] bronson: has joined #RubyOnRails
[13:44:32] Jameser: has joined #RubyOnRails
[13:51:24] hardwin: has joined #RubyOnRails
[13:54:50] xco: has joined #RubyOnRails
[13:58:50] Pumukel: has joined #RubyOnRails
[14:07:48] Technodrome: has joined #RubyOnRails
[14:21:13] Jameser: has joined #RubyOnRails
[14:23:55] romeoh: has joined #RubyOnRails
[14:25:26] AzaToth: has joined #RubyOnRails
[14:27:51] xco: has left #RubyOnRails: ()
[14:37:23] rgr_: has joined #RubyOnRails
[14:48:25] aseibert: has joined #RubyOnRails
[14:49:34] defsdoor: has joined #RubyOnRails
[14:55:34] tildes: has joined #RubyOnRails
[14:56:41] mahloun: has joined #RubyOnRails
[15:01:37] patarr: has joined #RubyOnRails
[15:11:03] bronson: has joined #RubyOnRails
[15:23:21] Jameser: has joined #RubyOnRails
[15:24:31] quirkycoders: has joined #RubyOnRails
[15:25:21] ahrs: has joined #RubyOnRails
[15:26:24] tildes: I am running `rake test:benchmark` for my toy app, Ruby 2.2.3/MRI. The output says metrics for memory and objects are not supported. Rails Performance Testing Guide mentions that MRI can be GC-patched. However, the freshest patch I can find is for 1.9.3. Does this mean, that if I want memory and object metrics in Ruby 2.2.3 I would be better of with something other than MRI, JRuby for instance?
[15:26:50] waseem_: has joined #RubyOnRails
[15:28:35] unreal: has joined #RubyOnRails
[15:36:41] rgr_: has joined #RubyOnRails
[15:36:50] mordof: has joined #RubyOnRails
[15:37:36] mordof: i set up a new rails 5 app, and didn't think about setting it to use haml first. currently running in development - how do i get it to use my haml files for views? i imagine i'm missing a step about the asset pipeline, but not sure what
[15:37:57] tildes: Also my performance test for GET '/' gives "Completed 200 OK in 23ms", where as if I actually use a browser, the request logging says "Completed 200 OK in 1420ms". :-D
[15:38:19] tildes: So something is really off, I imagine.
[15:42:40] tbuehlmann: mordof: have you added haml-rails to your Gemfile, bundle installed and restarted the rails server?
[15:43:20] mordof: tbuehlmann: it was the restart the server that i hadn't done :/ lol. thanks
[15:43:30] mordof: so used to things just auto-reloading
[15:43:36] mordof: some things don't, but i forget sometimes
[15:44:36] Pumukel: has joined #RubyOnRails
[15:44:55] Jameser: has joined #RubyOnRails
[15:47:22] User458764: has joined #RubyOnRails
[15:48:00] User458764: has joined #RubyOnRails
[15:50:00] Jameser: has joined #RubyOnRails
[16:00:31] tildes: ... installing jruby ...
[16:05:38] bronson: has joined #RubyOnRails
[16:31:04] shinzah: has joined #RubyOnRails
[16:31:11] gr33nw00d: has joined #RubyOnRails
[16:31:12] shinzah: I have created a client side app with OAuth2 library. But when I visit the authorize_url it sort of 'leaves my test env' because I cannot use the Factory's which I have created anymore. Any advice?
[16:33:47] xall_: has joined #RubyOnRails
[16:46:03] Pumukel: has joined #RubyOnRails
[16:47:22] arBmind: has joined #RubyOnRails
[16:51:19] srinidhi: has joined #RubyOnRails
[17:01:23] cseder: has joined #RubyOnRails
[17:04:26] romeoh_: has joined #RubyOnRails
[17:05:09] gusrub: has joined #RubyOnRails
[17:29:39] gusrub: has joined #RubyOnRails
[17:32:49] User458764: has joined #RubyOnRails
[17:38:00] blackmesa: has joined #RubyOnRails
[17:44:41] blackmesa: has joined #RubyOnRails
[17:46:48] Pumukel: has joined #RubyOnRails
[17:50:24] patarr: has joined #RubyOnRails
[17:51:56] bronson: has joined #RubyOnRails
[17:59:01] quirkycoders: has joined #RubyOnRails
[18:03:08] blackmesa: has joined #RubyOnRails
[18:07:15] roamingdog: has joined #RubyOnRails
[18:08:52] quirkycoders: has joined #RubyOnRails
[18:09:58] northfurr: has joined #RubyOnRails
[18:14:02] blackmesa: has joined #RubyOnRails
[18:29:38] gusrub: has joined #RubyOnRails
[18:33:20] Technodrome: has joined #RubyOnRails
[18:44:50] quirkycoders: has joined #RubyOnRails
[18:57:22] Pumukel: has joined #RubyOnRails
[18:59:10] conta1: has joined #RubyOnRails
[19:00:20] shilon: has joined #RubyOnRails
[19:03:09] patarr: has joined #RubyOnRails
[19:07:05] conta1: has joined #RubyOnRails
[19:15:53] _aeris_: has left #RubyOnRails: ("Konversation terminated!")
[19:24:33] romeoh: has joined #RubyOnRails
[19:48:42] Exuma: has joined #RubyOnRails
[19:48:50] ahrs: has joined #RubyOnRails
[19:49:22] Exuma: Does anyone use --webpack to manage css on Rails 5.1? I'm trying to very simply use a background-image: url() and I dont know how to link to an image...
[19:52:48] waseem_: has joined #RubyOnRails
[19:54:51] futilegames: has joined #RubyOnRails
[19:57:11] shilon: has joined #RubyOnRails
[19:58:07] Pumukel: has joined #RubyOnRails
[20:00:07] shilon: Hello everyone, I have a covers table and a posts table, inside the posts table I have a field_for :cover and for no reason, I always get cover: nil but all other attributes are ok…
[20:05:36] marr: has joined #RubyOnRails
[20:13:00] Technodrome: has joined #RubyOnRails
[20:13:39] Exuma: *crickets*
[20:14:33] Exuma: has joined #RubyOnRails
[20:17:54] DLSteve: has joined #RubyOnRails
[20:26:14] blackmesa: has joined #RubyOnRails
[20:29:54] codingitwrong: has joined #RubyOnRails
[20:31:02] codingitwrong: has left #RubyOnRails: ()
[20:31:27] blackmesa: has joined #RubyOnRails
[20:35:48] somerandomteen: has joined #RubyOnRails
[20:36:26] nickjj: Exuma, i wrote a webpack plugin a few years ago that tags images (or anything) with md5 hashes and is backwards compatible with all of the rails template helpers
[20:37:56] Exuma: testing IRC login
[20:38:31] somerandomteen: has left #RubyOnRails: ()
[20:42:04] spheric: has joined #RubyOnRails
[20:48:55] spheric: has joined #RubyOnRails
[20:49:01] bronson: has joined #RubyOnRails
[20:51:54] armyriad: has joined #RubyOnRails
[20:55:58] shilon: why do I get this on my image attribute? ActionDispatch::Http::UploadedFile:?
[20:57:41] spheric: has joined #RubyOnRails
[20:59:09] Pumukel: has joined #RubyOnRails
[21:22:48] blackmesa: has joined #RubyOnRails
[21:27:51] auv: has joined #RubyOnRails
[21:28:51] DLSteve: has joined #RubyOnRails
[21:29:37] auv: has joined #RubyOnRails
[21:47:07] v|sh: has joined #RubyOnRails
[21:58:38] blackmesa: has joined #RubyOnRails
[22:04:35] mostlybadfly: has joined #RubyOnRails
[22:42:37] sandstrom: has joined #RubyOnRails
[22:43:47] cseder: has joined #RubyOnRails
[22:59:42] Pumukel: has joined #RubyOnRails
[23:06:50] creature: has joined #RubyOnRails