« Back to channel list

#RubyOnRails - 25 November 2018

« Back 1 day Forward 1 day »
[00:04:36] ss_much: has joined #RubyOnRails
[00:25:35] johnsillings: has joined #RubyOnRails
[00:28:32] orbyt_: has joined #RubyOnRails
[01:01:23] cnsvc: has joined #RubyOnRails
[01:16:23] supergeek: has joined #RubyOnRails
[01:45:44] Puffball: has joined #RubyOnRails
[01:46:27] cnsvc: has joined #RubyOnRails
[01:51:55] cnsvc: has joined #RubyOnRails
[01:52:49] segy: has joined #RubyOnRails
[01:56:09] cnsvc: has joined #RubyOnRails
[01:58:14] cnsvc: has joined #RubyOnRails
[01:59:47] Dimik: has joined #RubyOnRails
[02:02:12] gambl0re: has joined #RubyOnRails
[02:42:15] gambl0re: has joined #RubyOnRails
[03:05:24] Arkantos: has joined #RubyOnRails
[04:09:40] braincrash: has joined #RubyOnRails
[04:09:40] elcontrastador: has joined #RubyOnRails
[04:26:49] Arkantos: has joined #RubyOnRails
[04:45:34] elcontrastador: Shouldn't this line in my assets.rb initializer load all stylesheets/js within node_modules? Rails.application.config.assets.paths << Rails.root.join('node_modules')
[04:46:39] elcontrastador: Shouldn't this path work to load within application layout? <%= stylesheet_link_tag 'bootstrap.css', media: 'all' %>
[05:02:23] elcontrastador: I figured this out. Missing from application.css
[05:05:24] pd09041999: has joined #RubyOnRails
[05:15:56] lexileo: has joined #RubyOnRails
[05:21:24] uksio: has joined #RubyOnRails
[05:23:48] gambl0re: has joined #RubyOnRails
[05:23:55] Puffball: has joined #RubyOnRails
[05:32:40] za1b1tsu: has joined #RubyOnRails
[05:32:54] anubhav996: has joined #RubyOnRails
[05:34:50] Saukk: has joined #RubyOnRails
[07:02:14] lomex: has joined #RubyOnRails
[07:09:45] DTZUZO: has joined #RubyOnRails
[07:23:41] buyfn: has joined #RubyOnRails
[07:25:03] segy: has joined #RubyOnRails
[07:25:56] kapil____: has joined #RubyOnRails
[07:50:26] reber: has joined #RubyOnRails
[07:54:17] buyfn: has joined #RubyOnRails
[08:07:46] za1b1tsu: has joined #RubyOnRails
[08:09:36] elcontrastador: I've read the rails guid on the asset pipeline...I'm still missing something. I require bootstrap in the application.css the call the application stylesheet from my application layout...viewing rendered html source shows it listed and you can click the src in the rendered html. Yet, it doesn't style my views unless it's directly called from the application layout AND initialized in assets.rb. Is that
[08:09:36] elcontrastador: required for each lib?
[08:13:41] buyfn: has joined #RubyOnRails
[08:14:30] elcontrastador: If I'm having to explicitly precompile them in assets.rb and call them explicitly in a layout, then it's pointless to list them in application.js/css right? What am I missing?
[08:14:46] andrew9184: has joined #RubyOnRails
[08:25:53] ariedler: has joined #RubyOnRails
[08:30:11] Andr3as: i import them in my scss file and thats it
[08:30:15] Andr3as: @elcontrastador
[08:33:26] elcontrastador: @Andr3as: ATimport bootstrap, ATimport mycss within mylib.scss located in app/assets/stylesheets and require mylib in application.css?
[08:36:11] apparition: has joined #RubyOnRails
[08:39:32] conta: has joined #RubyOnRails
[08:43:35] Andr3as: cat alphatrade_reloaded/app/assets/stylesheets/application.scss
[08:43:35] Andr3as: @import "bootstrap";
[08:44:17] Andr3as: i import 'em directly in application.scss (renamed it to scss from css)
[08:45:48] Andr3as: elcontrastador:
[08:45:56] elcontrastador: @andre3as I've installed boostrap via yarn as an npm_module. Will I need my import path to be @import 'boostrap/dist/css/boostrap'?
[08:46:46] Andr3as: idk.. never did it like that.. i always used the bootstrap gem
[08:47:25] elcontrastador: hmm...i might switch if I blow too many more hours on this...
[08:47:31] Andr3as: so, you're using weback then? elcontrastador
[08:47:54] elcontrastador: no...just yarn and std sprockets pipeline
[08:48:54] Andr3as: found this via google.. they even use bootstrap as example: http://nithinbekal.com/posts/yarn-rails/
[08:49:13] elcontrastador: I may use webpack if I get my arms around this...I mean, i can get it working by adding it to precompile list in assets initializer and then listing directly in applicaiton layout
[08:49:56] Andr3as: what rails version do you use?
[08:50:18] elcontrastador: i did that but it still requires me to list explicitly in app layout and precompile it in assets.rb
[08:51:39] elcontrastador: i'm sure this is just a knowledge hole i have...
[08:52:20] Andr3as: maybe you can figure it out with a starter app? https://github.com/diowa/ruby2-rails5-bootstrap-heroku
[08:53:16] elcontrastador: yes! great idea
[08:53:18] Andr3as: here's another.. well... guide https://medium.com/@coorasse/goodbye-sprockets-welcome-webpacker-3-0-ff877fb8fa79
[09:06:21] elcontrastador: @Andr3as: webpacker looks good, I'll need to spend some time on that after I understand what i'm missing here... i think looking for a few real rails app would make it immediately clear to me...
[09:11:10] elcontrastador: /= require bootstrap-sprockets
[09:11:10] elcontrastador: this is interesting
[09:19:48] buyfn: has joined #RubyOnRails
[09:36:42] roshanavand: has joined #RubyOnRails
[10:46:09] buyfn: has joined #RubyOnRails
[11:36:19] za1b1tsu: has joined #RubyOnRails
[11:54:25] za1b1tsu: has joined #RubyOnRails
[12:05:04] pLaTo0n: has joined #RubyOnRails
[12:10:36] lankanmon: has joined #RubyOnRails
[12:25:25] gavit: has joined #RubyOnRails
[12:26:16] gavit: When someone does a bundle install, is there a file that gets generated?
[12:26:30] gavit: except for the files that get installed ofc
[12:26:51] Andr3as: gemfile.lock might get an update
[12:27:03] Andr3as: *Gemfile.lock
[12:27:16] gavit: Andr3as: thanks
[12:32:31] buyfn: has joined #RubyOnRails
[12:40:22] desperek: has joined #RubyOnRails
[12:43:11] pavelz: has joined #RubyOnRails
[13:04:22] djass2|lunch: has joined #RubyOnRails
[13:04:58] djass: hello thunderbirdtr
[13:05:08] djass: hello tbuehlmann
[13:05:56] djass: I got that error when I try to display a image tag : The asset "my_image.jpg" is not present in the asset pipeline.
[13:05:57] lomex: has joined #RubyOnRails
[13:06:29] djass: Doing <%= image_tag @photo.file_path %> in my view
[13:08:58] reber: has joined #RubyOnRails
[13:12:16] buyfn: has joined #RubyOnRails
[13:16:05] za1b1tsu: has joined #RubyOnRails
[13:16:22] mikecmpbll: has joined #RubyOnRails
[13:16:24] Saukk: has joined #RubyOnRails
[13:17:55] kristofferR: has joined #RubyOnRails
[13:38:03] Dbugger: has joined #RubyOnRails
[13:56:26] platoon23: has joined #RubyOnRails
[14:12:33] nopolitica: has joined #RubyOnRails
[14:50:04] Arkantos: has joined #RubyOnRails
[14:59:53] buyfn: has joined #RubyOnRails
[15:36:15] conta: has joined #RubyOnRails
[15:49:13] buyfn: has joined #RubyOnRails
[16:12:23] Saukk: has joined #RubyOnRails
[16:18:49] gambl0re: has joined #RubyOnRails
[16:57:19] Exuma: has joined #RubyOnRails
[17:10:00] TheRealMattM: has joined #RubyOnRails
[17:13:48] gambl0re: has joined #RubyOnRails
[17:14:55] gambl0re: has joined #RubyOnRails
[17:16:55] Jervis_: has joined #RubyOnRails
[17:17:07] johnsillings: has joined #RubyOnRails
[17:25:01] jaddison: has joined #RubyOnRails
[17:26:10] gambl0re: has joined #RubyOnRails
[17:28:13] shamacon: has joined #RubyOnRails
[17:30:22] jaddison: has joined #RubyOnRails
[17:32:27] havenwood: shamacon: hi
[17:33:21] shamacon: I don't have any other rails folks in my group, so I came here hoping to absorb what I can from conversations
[17:36:31] jaddison: has joined #RubyOnRails
[17:42:15] pd09041999: has joined #RubyOnRails
[17:42:20] shamacon: I'm on a metered data plan and can't really watch many videos about rails to immerse myself.
[17:42:21] pd_09041999: has joined #RubyOnRails
[17:46:02] lomex: has joined #RubyOnRails
[17:46:09] ule: has joined #RubyOnRails
[17:51:43] shamacon: I was assigned a feature and told to use test driven development with RSpec. It's a bit different from my previous experiences and I'm spending more time fixing my mistakes than anything else :P
[17:53:15] lomex: has joined #RubyOnRails
[17:55:05] nickjj: has joined #RubyOnRails
[18:00:48] dviola: has joined #RubyOnRails
[18:10:06] shamacon: has joined #RubyOnRails
[18:13:27] Dimik: has joined #RubyOnRails
[18:18:45] defsdoor: has joined #RubyOnRails
[18:33:19] shamacon: has joined #RubyOnRails
[19:08:55] jaddison: has joined #RubyOnRails
[19:23:05] Arkantos: has joined #RubyOnRails
[19:24:58] lomex: has joined #RubyOnRails
[20:26:20] ur5us: has joined #RubyOnRails
[20:28:15] orbyt_: has joined #RubyOnRails
[20:34:15] roshanavand: has joined #RubyOnRails
[20:46:42] lomex: has joined #RubyOnRails
[20:52:56] dviola: has joined #RubyOnRails
[20:54:44] gavit_: has joined #RubyOnRails
[21:13:27] Stabby: has joined #RubyOnRails
[21:14:17] Stabby: Considering changing editor, I was using npp, but sessions are suboptimal. Requesting suggestions on Windows based editor.
[21:23:53] roshanavand: has joined #RubyOnRails
[21:27:50] Radar: GOOD MORNING
[21:30:17] Xiti: has joined #RubyOnRails
[21:31:00] hightower3: has joined #RubyOnRails
[22:02:56] orbyt_: has joined #RubyOnRails
[22:12:49] cnsvc: has joined #RubyOnRails
[22:14:14] Puffball: has joined #RubyOnRails
[22:16:15] tdy: has joined #RubyOnRails
[22:38:59] hahuang65: has joined #RubyOnRails
[22:52:31] dviola: has joined #RubyOnRails
[23:01:01] cnsvc: has joined #RubyOnRails
[23:26:29] jottr: has joined #RubyOnRails
[23:33:42] cnsvc: has joined #RubyOnRails
[23:58:25] weaksauce: has joined #RubyOnRails
[23:59:32] lexileo: has joined #RubyOnRails