« Back to channel list

#RubyOnRails - 26 December 2018

« Back 1 day Forward 1 day »
[01:13:12] Technodrome: has joined #RubyOnRails
[01:24:20] BobHensley: has joined #RubyOnRails
[01:25:47] gambl0r3: has joined #RubyOnRails
[01:48:20] gambl0r3: has joined #RubyOnRails
[01:48:28] nate-^: has joined #RubyOnRails
[01:55:01] cschneid: has joined #RubyOnRails
[01:56:00] gambl0r3: has joined #RubyOnRails
[02:09:19] Technodrome: has joined #RubyOnRails
[02:57:50] ellcs: has joined #RubyOnRails
[03:08:22] nate-^: has joined #RubyOnRails
[03:23:23] tdy: has joined #RubyOnRails
[03:46:58] gambl0r3: has joined #RubyOnRails
[04:09:12] braincrash: has joined #RubyOnRails
[04:14:22] kapil____: has joined #RubyOnRails
[04:24:34] cschneid: has joined #RubyOnRails
[04:40:36] tdy: has joined #RubyOnRails
[04:47:24] nate-^: has joined #RubyOnRails
[04:47:33] Exuma: has joined #RubyOnRails
[04:51:53] tdy: has joined #RubyOnRails
[04:56:49] uksio: has joined #RubyOnRails
[05:04:32] darkhanb: has joined #RubyOnRails
[05:10:38] tdy: has joined #RubyOnRails
[05:18:16] gambl0re: has joined #RubyOnRails
[05:18:25] cschneid: has joined #RubyOnRails
[05:24:43] sirensari2: has joined #RubyOnRails
[05:46:16] paranoicsan: has joined #RubyOnRails
[05:56:18] tdy: has joined #RubyOnRails
[05:57:32] Technodrome: has joined #RubyOnRails
[06:11:28] Saukk: has joined #RubyOnRails
[06:20:13] tdy: has joined #RubyOnRails
[06:26:25] Mia: has joined #RubyOnRails
[06:43:01] sirensari2: has joined #RubyOnRails
[06:47:01] cnsvc: has joined #RubyOnRails
[07:18:34] Exuma: has joined #RubyOnRails
[07:23:10] za1b1tsu: has joined #RubyOnRails
[07:23:55] cschneid: has joined #RubyOnRails
[07:29:18] Exuma: has joined #RubyOnRails
[07:37:27] Jervis_: has joined #RubyOnRails
[07:49:17] Exuma: has joined #RubyOnRails
[07:55:48] Exuma: has joined #RubyOnRails
[08:12:33] Technodrome: has joined #RubyOnRails
[08:17:22] Exuma: has joined #RubyOnRails
[08:35:15] paranoicsan: has joined #RubyOnRails
[08:43:36] sirensari2: has joined #RubyOnRails
[09:41:42] ur5us: has joined #RubyOnRails
[10:00:59] MasterAsia: has joined #RubyOnRails
[10:42:17] tdy: has joined #RubyOnRails
[11:10:30] tdy: has joined #RubyOnRails
[11:20:53] syndikate: Do we use son serialisers for non model object? My API has to return a value( integer ) and I can't figure how I would create a serialiser for it. Should I be using jsonapi then I can't create it for an object with no model associated
[11:21:25] syndikate: Just creating a placeholder model object seems overkill and also it won't have a unique id
[11:50:18] cschneid: has joined #RubyOnRails
[11:54:23] reber: has joined #RubyOnRails
[11:55:38] ariedler: has joined #RubyOnRails
[12:29:33] Saukk: has joined #RubyOnRails
[12:42:16] fox_mulder_cp: syndikate: i create non Activerecord-related model and use it for creating json in active model serializers
[13:07:54] sevenseacat: has joined #RubyOnRails
[13:11:51] sonOfRa: has left #RubyOnRails: ("Leaving")
[13:41:20] kapil____: has joined #RubyOnRails
[13:47:21] IGnorAND: can we in rails also make vue.erb files and use things like link_to in the vue files?
[14:05:48] dionysus69: I have a naming dillema, I have an object named Address, it should have couple fields, one of them is the address itself, how should I name that field? Address.first.address doesnt feel write
[14:08:49] sevenseacat: as in, the street address? normally I would store addresses with line1, line2, etc.
[14:19:03] cschneid: has joined #RubyOnRails
[14:19:45] dionysus69: its more like a bitcoin address, address has 2 values basically, the address and balance :)
[14:31:00] IGnorAND: bitcoin.first.address?
[14:37:46] mostlybadfly: has joined #RubyOnRails
[14:47:39] fox_mulder_cp: address.line1|2|3, and .full which concats all address fields?
[15:28:42] agent_white: has joined #RubyOnRails
[15:29:29] MasterAsia: has joined #RubyOnRails
[15:29:33] agent_white: has joined #RubyOnRails
[15:39:22] ariedler: has joined #RubyOnRails
[15:45:48] cschneid: has joined #RubyOnRails
[17:04:32] Andr3as: hello all.. i wonder what i do wrong here.. i cannot seem to have a fontwaesome icon in a button_to call..? it ends up rendering as text
[17:04:37] Andr3as: anyone an idea whats going on?
[17:07:18] Andr3as: the left one is using link_to, the right one uses the button_to https://abload.de/img/2018-12-26_12-06mrcub.png
[17:09:30] tbuehlmann: Andr3as: can you paste the code which generates the button? I assume you're using the method incorrectly
[17:10:00] Andr3as: tbuehlmann: <%= button_to icon('far', 'eye'), new_signal_read_path, remote: true, class: 'read-link' %>
[17:10:43] Andr3as: no, passt..
[17:11:04] cschneid: has joined #RubyOnRails
[17:14:27] Andr3as: tbuehlmann: just to clearify.. i meant i am using the button_to method as above.. and it aint working.. i cant find my mistake..
[17:14:54] tbuehlmann: you probably just need to use icon('far', 'eye').html_safe
[17:14:58] darkhanb: has joined #RubyOnRails
[17:15:33] Andr3as: same thing.. doesnt work.. i even tried raw(icon('foo', 'bar'))
[17:15:34] tbuehlmann: using the block syntax might work as well: <%= button_to new_signal_read_path, remote: true do %><%= icon('far', 'eye') %><% end %>
[17:15:46] Andr3as: i give this one a shot
[17:15:54] tbuehlmann: what exactly does the #icon method do?
[17:16:07] tbuehlmann: it's possible you're concatenating strings and they are not html safe
[17:16:37] Andr3as: the block systax does the trick
[17:17:35] Andr3as: that method is part of the fontawesome gem
[17:18:37] Andr3as: https://github.com/FortAwesome/font-awesome-sass/blob/master/lib/font_awesome/sass/rails/helpers.rb
[17:24:23] ellcs: has joined #RubyOnRails
[17:29:49] Andr3as: ah, and thanks, as walways, tbuehlmann
[17:30:33] tbuehlmann: mh, okay. I always used this: https://github.com/bokmann/font-awesome-rails
[17:31:14] cschneid: has joined #RubyOnRails
[17:42:25] Andr3as: yeah, but they stopped at 4.7'ish or something.. i thought, i new project deserves the newest icons ;)
[17:42:35] Andr3as: *a new project
[17:44:44] cschneid: has joined #RubyOnRails
[17:45:08] Technodrome: has joined #RubyOnRails
[17:48:04] kapil____: has joined #RubyOnRails
[17:48:40] gambl0re: has joined #RubyOnRails
[18:31:50] Exuma: has joined #RubyOnRails
[18:49:23] ariedler: has joined #RubyOnRails
[18:50:58] ariedler: has joined #RubyOnRails
[18:51:47] ariedler: has joined #RubyOnRails
[18:52:24] agent_white: has joined #RubyOnRails
[19:03:17] jaj8: has joined #RubyOnRails
[19:09:00] carlosd: has joined #RubyOnRails
[19:10:17] carlosd: is there any instructions on how to run activestorage tests for the different services (s3, gcs, etc)?
[19:10:57] carlosd: I'm a bit lost in where I have to put the service configuration
[19:11:38] carlosd: I find it activestorage/test/service/configurations.example.yml
[19:17:58] agent_white: has joined #RubyOnRails
[19:18:18] armyriad: has joined #RubyOnRails
[19:25:18] jaj8: has joined #RubyOnRails
[19:31:56] trif: has left #RubyOnRails: ()
[19:35:40] jaj8: has joined #RubyOnRails
[19:38:55] lexileo: has joined #RubyOnRails
[19:52:00] ellcs: has joined #RubyOnRails
[19:58:56] ur5us: has joined #RubyOnRails
[20:30:38] Exuma: has joined #RubyOnRails
[20:52:48] ariedler: has joined #RubyOnRails
[20:55:57] Exuma: has joined #RubyOnRails
[21:00:38] SteenJobs: has joined #RubyOnRails
[21:40:18] MasterAsia: has joined #RubyOnRails
[21:47:52] Exuma: has joined #RubyOnRails
[22:15:54] planigan: has joined #RubyOnRails
[22:17:23] Technodrome: has joined #RubyOnRails
[22:21:10] fugee: has joined #RubyOnRails
[22:21:52] fugee: using capybara, when i run visit <url> in rails console, rails complains no such route
[22:30:21] tdy: has joined #RubyOnRails
[22:37:08] Exuma: has joined #RubyOnRails
[22:45:51] fugee: has left #RubyOnRails: ("Leaving")
[22:50:01] Technodrome: has joined #RubyOnRails
[23:13:08] Technodrome: has joined #RubyOnRails
[23:16:54] agent_white: has joined #RubyOnRails
[23:25:39] Exuma: has joined #RubyOnRails
[23:33:16] Technodrome: has joined #RubyOnRails
[23:34:51] bga57: has joined #RubyOnRails
[23:42:50] tdy: has joined #RubyOnRails