ariejan

Activity Graph

Page 1 of 1

2019-06-21

[08:18:37] ariejan: has joined #RubyOnRails
[13:05:49] ariejan: Quit: WeeChat 2.5

2019-04-01

[07:37:25] ariejan: has joined #RubyOnRails
[10:03:58] ariejan: Ping timeout: 252 seconds

2019-03-30

[12:55:33] ariejan: has joined #RubyOnRails
[13:44:08] ariejan: Quit: My MacBook has gone to sleep. ZZZzzz…

2019-03-28

[12:30:15] ariejan: has joined #RubyOnRails
[13:34:49] ariejan: Quit: My MacBook has gone to sleep. ZZZzzz…

2019-03-14

[08:18:22] ariejan: has joined #RubyOnRails
[08:24:20] ariejan: Quit: Textual IRC Client: www.textualapp.com

2019-03-13

[12:18:29] ariejan: has joined #RubyOnRails
[13:02:02] ariejan: Quit: My MacBook has gone to sleep. ZZZzzz…
[13:07:20] ariejan: has joined #RubyOnRails
[13:54:18] ariejan: Quit: My MacBook has gone to sleep. ZZZzzz…
[13:59:37] ariejan: has joined #RubyOnRails
[15:11:52] ariejan: Quit: My MacBook has gone to sleep. ZZZzzz…
[15:12:45] ariejan: has joined #RubyOnRails
[15:25:19] ariejan: Quit: My MacBook has gone to sleep. ZZZzzz…

2019-01-24

[13:08:12] ariejan: has joined #RubyOnRails
[14:56:45] ariejan: Quit: Textual IRC Client: www.textualapp.com

2019-01-23

[12:32:00] ariejan: has joined #RubyOnRails
[13:49:45] ariejan: Read error: Connection reset by peer

2018-10-22

[13:04:22] ariejan: has joined #RubyOnRails
[14:03:52] ariejan: Quit: My MacBook has gone to sleep. ZZZzzz…
[15:40:15] ariejan: has joined #RubyOnRails
[15:54:37] ariejan: Quit: My MacBook has gone to sleep. ZZZzzz…

2018-10-06

[08:33:26] ariejan: has joined #RubyOnRails
[08:35:02] ariejan: Hi. I'm trying to understand how a rendered view fetches instance variables (in the code). I've found `view_assigns` and I see how those assigns get loaded up in `@_assigns` in ActionView::Base, but I can't seem to locate the place where you get that data out - and what happens when a variable is not there. Note: I'm trying to find the code where this happens in Rails - I know how it all works :-)
[08:54:20] ariejan: Quit: My MacBook has gone to sleep. ZZZzzz…
[10:10:34] ariejan: has joined #RubyOnRails
[10:12:03] ariejan: Client Quit

2018-08-17

[11:55:39] ariejan: has joined #RubyOnRails
[11:56:26] ariejan: Hi. I've have a vanilla rails 5.2 form_for with some text fields. Validations work (tested, debugged), but the "field_with_errors" wrappers do not appear in my form. Any clue on why that stopped working?
[12:06:13] ariejan: Quit: Leaving

2018-08-02

[11:18:45] ariejan: Ping timeout: 256 seconds

2018-07-25

[08:29:44] ariejan: cheeti: you'll need to notify the client browser to refresh. Look into action cable to send a message and handle that message in JS client side.
[10:51:52] ariejan: garyserjj: you have two options here: put everyone in the database and assign roles (a boolean 'admin' field might be enough) and use an Active Record scope to filter out admins.
[10:52:18] ariejan: garyserjj: the other option is to only store normal users in the database and allow admin access (for instance to namespaced /admin controllers) through HTTP basic auth.
[10:52:34] ariejan: garyserjj: if you have three roles, go for option 1.
[10:55:46] ariejan: garyserjj: read up on scope and default_scope
[10:56:10] ariejan: garyserjj: User.admin.find(..) will only find admins. User.regular.find(...) will only find regular users.
[12:17:21] ariejan: garyserjj: adminscope makes not sense imho
[12:58:06] ariejan: mikhael_k33hl: Check https://guides.rubyonrails.org/debugging_rails_applications.html#the-logger
[12:58:47] ariejan: mikhael_k33hl: Your configuration may have changed, that page tells you what to look for. (log level, where to log, etc.)

2018-07-23

[07:53:53] ariejan: has joined #RubyOnRails
[08:16:39] ariejan: chridal: copy all asset/css settings from environments/production.rb to development and see if that makes the issue reproducable.
[08:18:22] ariejan: chridal: another thing to try: download your css from dev and prod and diff them.
[08:42:02] ariejan: chridal: you may have a `stylesheet_link_tag` in your layout/views to a file that's not setup for the asset pipeline. This matches your issue, as it will probably load fine on development, but missing on prod.
[08:45:50] ariejan: Check config/initialisers/assets.rb for info on how to add them.
[08:46:01] ariejan: sevenseacat: I ran into the same issue with a new app a week ago ;-)
[09:37:33] ariejan: chridal: if you open your browser's inspector, does it load all necessary assets?
[11:26:07] ariejan: chridal: is the content on the page/button the same? Maybe there's some rendering quirk caused by that.

2018-07-22

[15:32:51] ariejan: Quit: leaving
[15:39:27] ariejan: has joined #RubyOnRails
[15:42:36] ariejan: Client Quit

2018-07-20

[07:31:11] ariejan: has joined #RubyOnRails

2018-07-18

[11:22:30] ariejan: has joined #RubyOnRails
[14:30:44] ariejan: Ping timeout: 268 seconds

2018-07-11

[06:32:07] ariejan: has joined #RubyOnRails
[06:32:09] ariejan: Client Quit

2018-07-10

[06:58:12] ariejan: has joined #RubyOnRails
[07:06:39] ariejan: Ping timeout: 260 seconds
[09:17:57] ariejan: has joined #RubyOnRails
[10:15:55] ariejan: Quit: My MacBook has gone to sleep. ZZZzzz…

2018-07-09

[07:55:36] ariejan: has joined #RubyOnRails
[12:01:54] ariejan: Quit: My MacBook has gone to sleep. ZZZzzz…
[12:13:16] ariejan: has joined #RubyOnRails
[13:55:16] ariejan: Quit: My MacBook has gone to sleep. ZZZzzz…
[14:02:25] ariejan: has joined #RubyOnRails
[14:26:33] ariejan: Quit: My MacBook has gone to sleep. ZZZzzz…
[15:34:31] ariejan: has joined #RubyOnRails
[15:41:21] ariejan: Ping timeout: 240 seconds
[18:17:55] ariejan: has joined #RubyOnRails
[19:08:02] ariejan: Quit: My MacBook has gone to sleep. ZZZzzz…

2018-07-06

[09:08:46] ariejan: has joined #RubyOnRails
[09:31:19] ariejan: Quit: My MacBook has gone to sleep. ZZZzzz…
[09:33:49] ariejan: has joined #RubyOnRails
[09:34:43] ariejan: Client Quit
[11:17:27] ariejan: has joined #RubyOnRails
[12:49:13] ariejan: Quit: My MacBook has gone to sleep. ZZZzzz…
[13:18:35] ariejan: has joined #RubyOnRails
[13:30:07] ariejan: Quit: My MacBook has gone to sleep. ZZZzzz…
[13:36:50] ariejan: has joined #RubyOnRails
[14:13:02] ariejan: Quit: My MacBook has gone to sleep. ZZZzzz…

2018-05-16

[07:11:55] ariejan: has joined #RubyOnRails
[08:44:20] ariejan: Quit: Textual IRC Client: www.textualapp.com

2018-05-15

[05:25:30] ariejan: has joined #RubyOnRails
[05:28:06] ariejan: Client Quit
[06:57:18] ariejan: has joined #RubyOnRails
[10:12:33] ariejan: Quit: My MacBook has gone to sleep. ZZZzzz…
[10:26:54] ariejan: has joined #RubyOnRails
[10:36:13] ariejan: Quit: My MacBook has gone to sleep. ZZZzzz…

2018-05-14

[06:05:04] ariejan: has joined #RubyOnRails
[06:11:15] ariejan: Quit: My MacBook has gone to sleep. ZZZzzz…
[07:09:03] ariejan: has joined #RubyOnRails
[07:25:01] ariejan: Quit: My MacBook has gone to sleep. ZZZzzz…
[09:46:30] ariejan: has joined #RubyOnRails
[11:59:55] ariejan: Quit: My MacBook has gone to sleep. ZZZzzz…
[12:46:02] ariejan: has joined #RubyOnRails
[14:28:38] ariejan: Quit: My MacBook has gone to sleep. ZZZzzz…
[18:55:50] ariejan: has joined #RubyOnRails
[21:31:38] ariejan: Quit: My MacBook has gone to sleep. ZZZzzz…

2018-05-13

[07:13:33] ariejan: has joined #RubyOnRails
[08:36:37] ariejan: Quit: My MacBook has gone to sleep. ZZZzzz…
[13:33:01] ariejan: has joined #RubyOnRails
[14:40:02] ariejan: Quit: My MacBook has gone to sleep. ZZZzzz…
[14:45:31] ariejan: has joined #RubyOnRails
[14:46:02] ariejan: Client Quit
[15:00:13] ariejan: has joined #RubyOnRails
[15:18:30] ariejan: Quit: My MacBook has gone to sleep. ZZZzzz…
[18:06:23] ariejan: has joined #RubyOnRails
[18:07:21] ariejan: Client Quit
[18:08:01] ariejan: has joined #RubyOnRails
[19:57:52] ariejan: Quit: My MacBook has gone to sleep. ZZZzzz…
[20:55:53] ariejan: has joined #RubyOnRails
[22:51:10] ariejan: Quit: My MacBook has gone to sleep. ZZZzzz…

2018-05-12

[07:20:08] ariejan: has joined #RubyOnRails
[09:05:55] ariejan: Quit: My MacBook has gone to sleep. ZZZzzz…
[10:43:07] ariejan: has joined #RubyOnRails
[11:16:07] ariejan: Quit: My MacBook has gone to sleep. ZZZzzz…
[11:29:04] ariejan: has joined #RubyOnRails
[11:38:01] ariejan: Quit: My MacBook has gone to sleep. ZZZzzz…
[15:17:06] ariejan: has joined #RubyOnRails
[15:32:40] ariejan: Quit: My MacBook has gone to sleep. ZZZzzz…
[17:18:19] ariejan: has joined #RubyOnRails
[17:29:38] ariejan: Quit: My MacBook has gone to sleep. ZZZzzz…
[18:07:28] ariejan: has joined #RubyOnRails
[18:11:29] ariejan: Client Quit
[19:59:21] ariejan: has joined #RubyOnRails
[20:07:25] ariejan: Quit: My MacBook has gone to sleep. ZZZzzz…
[20:55:47] ariejan: has joined #RubyOnRails
[21:00:32] ariejan: Ping timeout: 250 seconds

2018-05-11

[13:37:44] ariejan: has joined #RubyOnRails
[13:53:12] ariejan: Quit: My MacBook has gone to sleep. ZZZzzz…

2018-05-10

[13:55:38] ariejan: has joined #RubyOnRails
[14:26:52] ariejan: Quit: My MacBook has gone to sleep. ZZZzzz…

2018-05-02

[10:52:07] ariejan: has joined #RubyOnRails
[11:22:27] ariejan: Ping timeout: 240 seconds
[11:38:46] ariejan: has joined #RubyOnRails
[14:48:11] ariejan: Quit: My MacBook has gone to sleep. ZZZzzz…

2018-04-22

[08:11:40] ariejan: has joined #RubyOnRails
[08:16:01] ariejan: Ping timeout: 248 seconds

2018-04-20

[06:50:07] ariejan: has joined #RubyOnRails
[07:03:50] ariejan: Quit: My MacBook has gone to sleep. ZZZzzz…
[08:02:09] ariejan: has joined #RubyOnRails
[08:07:27] ariejan: Quit: My MacBook has gone to sleep. ZZZzzz…
[09:03:05] ariejan: has joined #RubyOnRails
[09:08:03] ariejan: Quit: My MacBook has gone to sleep. ZZZzzz…
[11:48:41] ariejan: has joined #RubyOnRails
[11:51:52] ariejan: Client Quit

2018-04-19

[06:49:59] ariejan: has joined #RubyOnRails
[06:52:37] ariejan: Client Quit
[07:05:03] ariejan: has joined #RubyOnRails
[07:06:24] ariejan: Client Quit
[09:20:36] ariejan: has joined #RubyOnRails
[09:22:17] ariejan: Client Quit

2018-04-18

[07:23:47] ariejan: has joined #RubyOnRails
[12:28:01] ariejan: Ping timeout: 246 seconds
[12:47:02] ariejan: has joined #RubyOnRails
[13:43:40] ariejan: Quit: My MacBook has gone to sleep. ZZZzzz…
[18:49:56] ariejan: has joined #RubyOnRails
[18:59:53] ariejan: Quit: My MacBook has gone to sleep. ZZZzzz…

2018-04-17

[06:48:11] ariejan: has joined #RubyOnRails
[10:37:34] ariejan: Quit: My MacBook has gone to sleep. ZZZzzz…
[12:05:40] ariejan: has joined #RubyOnRails
[12:23:35] ariejan: Quit: My MacBook has gone to sleep. ZZZzzz…
[12:24:15] ariejan: has joined #RubyOnRails
[12:28:51] ariejan: Ping timeout: 265 seconds
[12:29:30] ariejan: has joined #RubyOnRails
[12:46:40] ariejan: Quit: My MacBook has gone to sleep. ZZZzzz…
[13:04:04] ariejan: has joined #RubyOnRails
[14:33:14] ariejan: Quit: My MacBook has gone to sleep. ZZZzzz…
[14:36:55] ariejan: has joined #RubyOnRails
[14:37:30] ariejan: Client Quit
[18:27:30] ariejan: has joined #RubyOnRails
[18:41:20] ariejan: Quit: My MacBook has gone to sleep. ZZZzzz…

2018-04-16

[07:40:13] ariejan: has joined #RubyOnRails
[14:32:54] ariejan: Quit: My MacBook has gone to sleep. ZZZzzz…
[18:15:00] ariejan: has joined #RubyOnRails
[19:02:54] ariejan: Quit: My MacBook has gone to sleep. ZZZzzz…

2018-04-15

[12:02:41] ariejan: has joined #RubyOnRails
[14:12:36] ariejan: Quit: My MacBook has gone to sleep. ZZZzzz…
[17:14:03] ariejan: has joined #RubyOnRails
[17:24:40] ariejan: Quit: My MacBook has gone to sleep. ZZZzzz…

2018-04-14

[04:54:03] ariejan: has joined #RubyOnRails
[05:22:34] ariejan: Quit: My MacBook has gone to sleep. ZZZzzz…
[06:19:47] ariejan: has joined #RubyOnRails
[06:30:08] ariejan: Quit: My MacBook has gone to sleep. ZZZzzz…

2018-04-13

[07:36:39] ariejan: has joined #RubyOnRails
[14:47:33] ariejan: Quit: My MacBook has gone to sleep. ZZZzzz…
[18:05:41] ariejan: has joined #RubyOnRails
[18:13:41] ariejan: Quit: My MacBook has gone to sleep. ZZZzzz…

2018-04-12

[10:14:54] ariejan: has joined #RubyOnRails
[14:31:25] ariejan: Quit: My MacBook has gone to sleep. ZZZzzz…

2018-04-11

[09:54:15] ariejan: has joined #RubyOnRails
[10:06:45] ariejan: Ping timeout: 256 seconds
[10:24:21] ariejan: has joined #RubyOnRails
[12:43:33] ariejan: Quit: Textual IRC Client: www.textualapp.com

2018-03-28

[13:44:21] ariejan: has joined #RubyOnRails
[14:01:59] ariejan: Quit: Textual IRC Client: www.textualapp.com

2018-03-01

[10:46:09] ariejan: has joined #RubyOnRails
[11:41:43] ariejan: Quit: Textual IRC Client: www.textualapp.com

2018-02-26

[11:35:15] ariejan: has joined #RubyOnRails
[11:38:02] ariejan: Client Quit

2017-07-17

[12:48:33] ariejan: has joined #RubyOnRails
[13:32:30] ariejan: Quit: Textual IRC Client: www.textualapp.com

2017-07-03

[10:32:55] ariejan: has joined #RubyOnRails
[10:34:21] ariejan: Hi. Running a rails 5.0.1 project where, in Jbuilder views, asset_url will not use config.action_controller.asset_host. Worse, the `config` Actionview's AssetUrlHelper uses is empty. Any ideas on how to troubleshoot this further?
[10:57:18] ariejan: Quit: Textual IRC Client: www.textualapp.com

2016-07-06

[11:54:50] ariejan: has joined #RubyOnRails
[11:57:55] ariejan: Client Quit

2016-06-02

[09:01:04] ariejan: has joined #RubyOnRails
[09:16:12] ariejan: Ping timeout: 276 seconds
[09:25:41] ariejan: Client Quit
[09:25:41] ariejan: has joined #RubyOnRails

2016-05-06

[07:36:51] ariejan: has joined #RubyOnRails
[09:03:01] ariejan: Read error: Connection reset by peer
[09:06:41] ariejan: has joined #RubyOnRails
[09:44:01] ariejan: Ping timeout: 252 seconds
[09:44:55] ariejan: has joined #RubyOnRails
[09:54:23] ariejan: Read error: Connection reset by peer
[09:57:05] ariejan: has joined #RubyOnRails
[12:35:37] ariejan: Ping timeout: 252 seconds
[12:37:03] ariejan: has joined #RubyOnRails
[13:12:07] ariejan: Quit: Houdoe!

2016-05-04

[07:57:40] ariejan: has joined #RubyOnRails
[08:24:30] ariejan: Quit: ariejan
[08:29:31] ariejan: has joined #RubyOnRails
[08:34:54] ariejan: Quit: ariejan
[08:53:09] ariejan: has joined #RubyOnRails
[09:11:19] ariejan: Quit: Houdoe!

2015-08-10

[10:58:08] ariejan: has joined #spree
[10:59:06] ariejan: Q: I setup a demo shop, changed zones and shipping methods (all for 'Netherlands'). A new order (to Netherlands) now says it's unable to calculate shipping rates. Any clue on what might be wrong/
[11:03:12] ariejan: This is flat rate shipping, btw
[11:21:35] ariejan: Ah. Don't mix currencies (e.g. USD products with EUR shipping rates).
[13:18:27] ariejan: has left #spree: ("Textual IRC Client: www.textualapp.com")

2015-06-11

[11:18:41] ariejan: has joined #RubyOnRails
[13:43:28] ariejan: Quit: Houdoe!

2015-02-16

[08:37:23] ariejan: Q: What topic(s) would you want to hear about on a Ruby/Rails conference?

2015-01-26

[09:41:27] ariejan: I have a module, which gets included into a class. But calling the method just returns ???nil???, method not executed, so it seems. https://gist.github.com/ariejan/809659c42fdbda2e8eac
[09:43:12] ariejan: atmosx: think of it like this: you have a method calling itself, calling itself, etc.
[09:43:41] ariejan: atmosx: to process a list, your method takes a list, processes the first argument, and calls itself with the rest of the list, until there is no ???rest??? left, just one element to process.
[09:44:22] ariejan: atmosx: that was a simple example. :-)
[09:49:32] ariejan: atmosx: check this example: https://gist.github.com/ariejan/537680134081dbe3c468
[09:50:23] ariejan: the print_list method takes an array of integers. It uses Array#shift to take an delete the first element of the array and print out the result. It then calls itself again to process the rest of the list. The kicker is that there is a guard in the method to just do nothing (return) if the provided list is empty.