hnanon

Activity Graph

Page 1 of 20 | Next »

2019-08-20

[21:41:54] hnanon: has joined #RubyOnRails
[21:42:53] hnanon: This returns cards that are not deleted: @cards = @subscription.cards.where(deleted: [false, nil])
[21:43:11] hnanon: This returns no cards: @cards = @subscription.cards.where.not(deleted: true)
[21:43:27] hnanon: Any idea why?
[21:43:43] hnanon: deleted is a boolean column
[23:22:57] hnanon: Ping timeout: 245 seconds

2019-08-18

[17:40:11] hnanon: has joined #RubyOnRails
[19:39:48] hnanon: Ping timeout: 248 seconds

2019-08-03

[00:47:55] hnanon: has joined #RubyOnRails
[00:50:38] hnanon: How can I do something like this:
[00:50:56] hnanon: ...in a route...
[00:51:00] hnanon: get 'hello.png?uuid=:uuid' => 'opens#create'
[00:51:43] hnanon: When I go to hello.png?uuid=some-uuid, I'm not directed to opens#create
[00:52:38] hnanon: The same for this:
[00:52:48] hnanon: get 'hello.png' => 'opens#create'
[00:53:23] hnanon: The browser just downloads the image.
[00:58:01] hnanon: LiamW_, How so?
[00:58:21] hnanon: I want to reach a controller action when accessing an image.
[02:46:59] hnanon: Ping timeout: 250 seconds

2019-07-27

[03:24:30] hnanon: has joined #RubyOnRails
[03:25:13] hnanon: Is there any way to run byebug in production on heroku?
[05:22:43] hnanon: Ping timeout: 276 seconds

2019-06-18

[17:39:01] hnanon: has joined #RubyOnRails
[17:40:26] hnanon: I have markdown text that's rendered as html via the redcarpet gem.
[17:41:02] hnanon: How can I include ruby within the text so that it's processed before the text is rendered as html by redcarpet?
[18:06:38] hnanon: This helped: https://github.com/lord/slate/wiki/Embedding-Ruby-in-Markdown
[20:02:08] hnanon: Ping timeout: 248 seconds

2019-06-14

[05:33:19] hnanon: has joined #RubyOnRails
[05:34:01] hnanon: Is there any documentation for editing the trix toolbar when using actiontext and 6.0rc?
[05:56:49] hnanon: Ping timeout: 256 seconds

2019-06-12

[18:36:34] hnanon: has joined #RubyOnRails
[18:36:57] hnanon: Is it possible to use action_text and trix without webpack?
[22:08:52] hnanon: Quit: Page closed

2019-04-30

[01:24:18] hnanon: has joined #RubyOnRails
[02:26:28] hnanon: Ping timeout: 276 seconds
[02:28:17] hnanon: has joined #RubyOnRails
[04:11:46] hnanon: Ping timeout: 276 seconds
[14:38:29] hnanon: has joined #RubyOnRails
[15:03:43] hnanon: Ping timeout: 276 seconds
[15:20:27] hnanon: has joined #RubyOnRails
[16:21:43] hnanon: Ping timeout: 276 seconds
[16:25:03] hnanon: has joined #RubyOnRails
[19:30:14] hnanon: Ping timeout: 250 seconds
[21:28:10] hnanon: has joined #RubyOnRails
[22:29:10] hnanon: Ping timeout: 244 seconds
[22:30:34] hnanon: has joined #RubyOnRails
[22:35:02] hnanon: Ping timeout: 245 seconds

2019-04-29

[02:32:16] hnanon: has joined #RubyOnRails
[03:18:04] hnanon: Ping timeout: 276 seconds
[13:45:58] hnanon: has joined #RubyOnRails
[14:10:40] hnanon: Ping timeout: 276 seconds
[14:42:21] hnanon: has joined #RubyOnRails
[17:22:08] hnanon: Ping timeout: 245 seconds
[18:37:33] hnanon: has joined #RubyOnRails
[22:02:32] hnanon: Ping timeout: 245 seconds

2019-04-28

[21:16:15] hnanon: has joined #RubyOnRails
[22:09:58] hnanon: Ping timeout: 276 seconds

2019-04-24

[00:01:42] hnanon: Ping timeout: 245 seconds
[00:55:32] hnanon: has joined #RubyOnRails
[01:10:37] hnanon: Ping timeout: 276 seconds
[02:09:32] hnanon: has joined #RubyOnRails
[03:15:25] hnanon: Ping timeout: 276 seconds
[13:32:00] hnanon: has joined #RubyOnRails
[13:58:16] hnanon: Ping timeout: 276 seconds
[14:14:18] hnanon: has joined #RubyOnRails
[15:07:49] hnanon: Ping timeout: 276 seconds
[15:17:16] hnanon: has joined #RubyOnRails
[16:17:22] hnanon: Ping timeout: 276 seconds

2019-04-23

[00:49:30] hnanon: has joined #RubyOnRails
[01:56:13] hnanon: Ping timeout: 250 seconds
[15:08:57] hnanon: has joined #RubyOnRails
[16:20:52] hnanon: Ping timeout: 276 seconds
[20:51:52] hnanon: has joined #RubyOnRails
[22:27:25] hnanon: Anyone using the Mailgun API for ActiveMailer?
[22:29:31] hnanon: I'm following the Rails section here: https://github.com/mailgun/mailgun-ruby
[22:29:40] hnanon: But I'm getting this error:
[22:30:00] hnanon: Mailgun::CommunicationError (400 Bad Request: Need at least one of 'text' or 'html' parameters specified)

2019-04-22

[21:16:43] hnanon: has joined #RubyOnRails
[23:02:57] hnanon: Ping timeout: 245 seconds

2019-03-24

[15:49:44] hnanon: has joined #RubyOnRails
[15:50:40] hnanon: Remote host closed the connection

2019-03-23

[01:27:35] hnanon: has joined #RubyOnRails
[01:53:00] hnanon: Ping timeout: 250 seconds
[03:28:45] hnanon: has joined #RubyOnRails
[04:25:58] hnanon: Ping timeout: 250 seconds
[10:30:35] hnanon: has joined #RubyOnRails
[12:23:56] hnanon: Ping timeout: 250 seconds
[15:31:35] hnanon: has joined #RubyOnRails
[16:25:18] hnanon: Ping timeout: 250 seconds

2019-03-22

[01:39:19] hnanon: has joined #RubyOnRails
[04:20:27] hnanon: Ping timeout: 252 seconds
[14:22:15] hnanon: has joined #RubyOnRails
[14:47:09] hnanon: Ping timeout: 250 seconds
[15:18:00] hnanon: has joined #RubyOnRails
[16:14:56] hnanon: Ping timeout: 250 seconds
[17:50:11] hnanon: has joined #RubyOnRails
[18:48:09] hnanon: Ping timeout: 246 seconds

2019-03-21

[00:17:17] hnanon: has joined #RubyOnRails
[00:17:44] hnanon: Do I need to run app:update when upgrading from 5.2.2 to 5.2.2.1?
[00:42:39] hnanon: havenwood, Thanks.
[01:33:18] hnanon: Ping timeout: 252 seconds
[02:23:59] hnanon: has joined #RubyOnRails
[04:26:18] hnanon: Ping timeout: 264 seconds
[12:58:20] hnanon: has joined #RubyOnRails
[13:22:51] hnanon: Ping timeout: 252 seconds
[13:23:31] hnanon: has joined #RubyOnRails
[13:29:27] hnanon: Ping timeout: 252 seconds
[13:54:48] hnanon: has joined #RubyOnRails
[14:46:18] hnanon: Ping timeout: 252 seconds
[15:32:53] hnanon: has joined #RubyOnRails
[15:46:19] hnanon: Remote host closed the connection
[15:46:33] hnanon: has joined #RubyOnRails
[17:26:10] hnanon: Ping timeout: 252 seconds
[19:15:52] hnanon: has joined #RubyOnRails
[20:12:03] hnanon: Ping timeout: 252 seconds
[21:11:22] hnanon: has joined #RubyOnRails
[21:29:03] hnanon: Ping timeout: 252 seconds
[21:30:23] hnanon: has joined #RubyOnRails
[22:40:33] hnanon: Ping timeout: 252 seconds

2019-03-20

[18:28:39] hnanon: has joined #RubyOnRails
[18:47:58] hnanon: Ping timeout: 245 seconds
[18:48:10] hnanon: has joined #RubyOnRails
[19:55:40] hnanon: Ping timeout: 255 seconds
[19:58:31] hnanon: has joined #RubyOnRails
[20:21:43] hnanon: Ping timeout: 245 seconds

2019-03-16

[00:25:55] hnanon: has joined #RubyOnRails
[01:48:39] hnanon: Ping timeout: 252 seconds
[15:53:16] hnanon: has joined #RubyOnRails
[16:43:00] hnanon: Ping timeout: 252 seconds

2019-03-15

[07:52:18] hnanon: Ping timeout: 252 seconds
[14:07:10] hnanon: has joined #RubyOnRails
[17:03:24] hnanon: Ping timeout: 252 seconds
[20:00:09] hnanon: has joined #RubyOnRails
[22:29:00] hnanon: Ping timeout: 250 seconds

2019-03-14

[08:56:45] hnanon: Ping timeout: 252 seconds
[12:32:13] hnanon: has joined #RubyOnRails
[14:42:48] hnanon: Remote host closed the connection
[14:43:16] hnanon: has joined #RubyOnRails
[16:30:07] hnanon: Ping timeout: 240 seconds
[16:49:28] hnanon: has joined #RubyOnRails
[19:37:01] hnanon: Ping timeout: 246 seconds
[22:36:57] hnanon: has joined #RubyOnRails

2019-03-13

[00:51:53] hnanon: Read error: Connection reset by peer
[00:52:20] hnanon: has joined #RubyOnRails
[02:41:45] hnanon: Ping timeout: 252 seconds
[02:47:47] hnanon: has joined #RubyOnRails
[06:13:30] hnanon: Ping timeout: 252 seconds
[16:37:28] hnanon: has joined #RubyOnRails
[17:38:51] hnanon: Ping timeout: 252 seconds
[18:31:12] hnanon: has joined #RubyOnRails
[22:22:33] hnanon: Ping timeout: 245 seconds
[23:45:31] hnanon: has joined #RubyOnRails

2019-03-12

[02:27:00] hnanon: Ping timeout: 252 seconds
[02:27:26] hnanon: has joined #RubyOnRails
[03:00:33] hnanon: Ping timeout: 252 seconds
[14:38:55] hnanon: has joined #RubyOnRails
[15:00:48] hnanon: Remote host closed the connection
[15:01:16] hnanon: has joined #RubyOnRails
[15:02:48] hnanon: Remote host closed the connection
[22:55:32] hnanon: has joined #RubyOnRails

2019-03-11

[01:29:21] hnanon: Ping timeout: 252 seconds
[16:06:08] hnanon: has joined #RubyOnRails
[16:46:12] hnanon: Ping timeout: 252 seconds
[17:23:40] hnanon: has joined #RubyOnRails
[20:37:31] hnanon: Ping timeout: 255 seconds
[22:27:05] hnanon: has joined #RubyOnRails

2019-03-10

[00:44:04] hnanon: has joined #RubyOnRails
[03:26:36] hnanon: Ping timeout: 252 seconds
[03:38:15] hnanon: has joined #RubyOnRails
[03:56:57] hnanon: Remote host closed the connection
[20:39:56] hnanon: has joined #RubyOnRails
[21:52:00] hnanon: Remote host closed the connection
[21:52:28] hnanon: has joined #RubyOnRails
[22:18:00] hnanon: Remote host closed the connection
[22:18:24] hnanon: has joined #RubyOnRails
[22:31:42] hnanon: Ping timeout: 252 seconds
[23:12:22] hnanon: has joined #RubyOnRails

2019-03-09

[00:42:48] hnanon: Ping timeout: 252 seconds
[02:10:53] hnanon: has joined #RubyOnRails
[06:26:33] hnanon: Ping timeout: 252 seconds
[15:08:56] hnanon: has joined #RubyOnRails
[17:55:42] hnanon: Ping timeout: 252 seconds
[17:59:48] hnanon: has joined #RubyOnRails
[18:10:26] hnanon: Read error: Connection reset by peer

2019-03-08

[01:54:41] hnanon: has joined #RubyOnRails
[02:04:18] hnanon: Ping timeout: 252 seconds
[02:42:26] hnanon: has joined #RubyOnRails
[03:02:12] hnanon: After installing webpacker in an updated 5.2 app, I see a node_modules directory.
[03:02:52] hnanon: That's normal?
[03:03:07] hnanon: I'm trying to get stimulus working with rails.
[03:03:29] hnanon: I'm getting this error: Webpacker::Manifest::MissingEntryError
[03:03:50] hnanon: 4. Your webpack configuration is not creating a manifest.
[03:04:10] hnanon: But doesn't rails use yarn now, not npm?
[03:04:28] hnanon: (I installed yarn)
[03:05:51] hnanon: Do you know where the manifest file should be created?
[03:06:03] hnanon: dachi, I see.
[03:06:23] hnanon: It's not being created.
[03:07:03] hnanon: I only have the default rails files in public
[03:07:12] hnanon: no packs directory
[03:07:44] hnanon: Ok, thanks anyway,
[03:09:01] hnanon: I followed instructions from here: https://github.com/rails/webpacker#installation
[07:55:12] hnanon: Ping timeout: 252 seconds
[15:04:07] hnanon: has joined #RubyOnRails
[17:35:27] hnanon: Ping timeout: 252 seconds
[18:23:35] hnanon: has joined #RubyOnRails
[18:37:32] hnanon: Ping timeout: 245 seconds
[23:40:07] hnanon: has joined #RubyOnRails

2019-02-21

[01:51:29] hnanon: has joined #RubyOnRails
[01:53:51] hnanon: I have a States in a select form field. I want to display a checkbox collection of Cities depending on which state is selected. So, I imagine I need to use some javascript.
[01:54:16] hnanon: Is this a use case for something like stimulus or vue?
[01:54:42] hnanon: Can someone point me to an article or some docs I can read to help with that?
[02:28:54] hnanon: Quit: Page closed

2019-02-18

[03:17:44] hnanon: has joined #RubyOnRails
[03:18:27] hnanon: If I have an inclusion validation, for example, is a presence validation redundant?
[04:28:41] hnanon: Ping timeout: 256 seconds

2019-02-08

[06:46:43] hnanon: has joined #RubyOnRails
[06:47:06] hnanon: Is there a ruby equivalent to Python's requests library?
[06:49:59] hnanon: Looks like httparty is more in line with python's requests.
[06:52:46] hnanon: RestClient looks interesting too.
[06:55:02] hnanon: catbusters, haxx0r : Thanks.
[07:23:28] hnanon: Quit: Page closed

2019-01-16

[00:10:47] hnanon: has joined #RubyOnRails
[00:11:44] hnanon: Is it a good idea to sprinkle Rails.logger.info messages within ifs and elses?
[00:11:59] hnanon: (specifically, within a job)
[01:40:17] hnanon: Ping timeout: 256 seconds

2019-01-10

[12:51:43] hnanon: has joined #RubyOnRails
[12:57:44] hnanon: I have this piece of code: https://dpaste.de/G9Oy
[12:58:10] hnanon: How can I get the actual index number in the params, instead of ":index"?
[12:59:38] hnanon: Instead of {:index=>{:invoiceable_type=>"Subscription", :invoiceable_id=>4,...
[13:00:11] hnanon: Something like {"0"=>{:invoiceable_type=>"Subscription", :invoiceable_id=>4,...
[13:03:42] hnanon: This works: { index => { "invoiceable_type": "Subscription", "invoiceable_id": subscription_id...
[13:07:08] hnanon: Quit: Page closed

2018-12-31

[08:57:40] hnanon: Can I be sure that the call record will be created in time to find it for the update?
[10:27:15] hnanon: Quit: Page closed