« Back to channel list

#RubyOnRails - 20 August 2019

« Back 1 day Forward 1 day »
[00:14:38] morenoh149: has joined #RubyOnRails
[00:30:02] gambl0re: has joined #RubyOnRails
[00:48:40] Exuma: has joined #RubyOnRails
[01:08:48] morenoh149: has joined #RubyOnRails
[01:17:51] gambl0re: has joined #RubyOnRails
[01:19:05] gambl0re: has joined #RubyOnRails
[01:22:50] gambl0re: has joined #RubyOnRails
[01:23:43] gambl0re: has joined #RubyOnRails
[01:29:27] gambl0re: has joined #RubyOnRails
[01:30:42] gambl0re: has joined #RubyOnRails
[01:32:37] gambl0re: has joined #RubyOnRails
[01:49:01] beingjohnm: has joined #RubyOnRails
[01:49:25] gambl0re: has joined #RubyOnRails
[01:50:47] gambl0r3: has joined #RubyOnRails
[01:54:01] gambl0r3: has joined #RubyOnRails
[01:58:33] lankanmon: has joined #RubyOnRails
[02:02:51] morenoh149: has joined #RubyOnRails
[02:16:02] Xiti: has joined #RubyOnRails
[02:54:19] Saukk: has joined #RubyOnRails
[02:57:04] morenoh149: has joined #RubyOnRails
[03:06:05] skryking: has joined #RubyOnRails
[03:19:12] skryking: has joined #RubyOnRails
[03:26:21] dtzuzu: has joined #RubyOnRails
[03:51:08] morenoh149: has joined #RubyOnRails
[04:21:29] gambl0re: has joined #RubyOnRails
[04:45:17] morenoh149: has joined #RubyOnRails
[04:46:51] Tempesta: has joined #RubyOnRails
[04:53:47] srinidhi: has joined #RubyOnRails
[05:13:24] damonh: has joined #RubyOnRails
[05:14:48] Chuguniy: has joined #RubyOnRails
[05:19:37] ariedler: has joined #RubyOnRails
[05:28:40] alxgsv: has joined #RubyOnRails
[05:30:00] morenoh149: has joined #RubyOnRails
[05:32:30] dionysus69: has joined #RubyOnRails
[05:34:08] uplime: has joined #RubyOnRails
[05:50:03] gambl0r3: has joined #RubyOnRails
[05:59:20] srinidhi: has joined #RubyOnRails
[06:01:09] srinidhi: has joined #RubyOnRails
[06:13:53] Aherin: has joined #RubyOnRails
[06:16:21] schneider: has joined #RubyOnRails
[06:19:37] ravenous_: has joined #RubyOnRails
[06:35:20] SloggerK: has joined #RubyOnRails
[06:44:55] lxsameer: has joined #RubyOnRails
[06:46:36] xco: has joined #RubyOnRails
[06:52:00] ur5us: has joined #RubyOnRails
[06:55:08] pokalyis: has joined #RubyOnRails
[07:02:12] lankanmon: has joined #RubyOnRails
[07:16:41] deepreds1: has joined #RubyOnRails
[07:20:18] ariedler: has joined #RubyOnRails
[07:21:48] dionysus69: has joined #RubyOnRails
[07:43:16] Ergo: has joined #RubyOnRails
[07:43:56] deepreds1: has joined #RubyOnRails
[07:46:40] davidh38: has joined #RubyOnRails
[07:48:36] schneider: has joined #RubyOnRails
[08:05:44] deepreds1: has joined #RubyOnRails
[08:29:56] deepreds1: has joined #RubyOnRails
[08:30:52] davidh38: has joined #RubyOnRails
[08:32:27] davidh38: has joined #RubyOnRails
[08:43:48] deepreds1: has joined #RubyOnRails
[08:49:13] TvL2386: has joined #RubyOnRails
[08:59:41] drale2k_: has joined #RubyOnRails
[08:59:47] davidh38: has joined #RubyOnRails
[09:10:01] GodFather: has joined #RubyOnRails
[09:10:22] GodFather__: has joined #RubyOnRails
[09:13:57] drale2k_: has joined #RubyOnRails
[09:14:36] davidh38: has joined #RubyOnRails
[09:21:23] ariedler: has joined #RubyOnRails
[10:09:28] alxgsv: has joined #RubyOnRails
[10:21:09] randohinn: has joined #RubyOnRails
[10:22:27] randohinn: I've been trying out rails 6 and seem to hit ActionController::InvalidAuthenticityToken all the time, when trying to build out my login session contoller, following https://www.railstutorial.org/book ch6-9 :/
[10:26:46] ^amra: has joined #RubyOnRails
[10:34:10] shansen: has joined #RubyOnRails
[10:36:47] ^amra: I try to convert TGA image to PNG with imagemagick and all done, but I need to replace alpha channel mask to another different color, red for example
[10:37:02] ^amra: It's possible?
[10:55:07] ariedler: has joined #RubyOnRails
[10:56:14] randohinn: has joined #RubyOnRails
[10:56:23] randohinn: ACTION smashes head to wall
[10:56:55] randohinn: Authenticity Token is passed... how can it be wrong -.- https://imgur.com/a/qfZOHhh
[11:00:09] davidh38: has joined #RubyOnRails
[11:01:09] randohinn: The controller methiod it errors out on https://paste.ubuntu.com/p/XtC35bm9hm/ and the helper where login and remember are from: https://paste.ubuntu.com/p/YsDB3kshVv/
[11:01:22] randohinn: or is everything just f*ed?
[11:02:02] randohinn: Also, user is https://paste.ubuntu.com/p/WSmqNDvrpZ/
[11:02:09] randohinn: I'm baffled...
[11:04:17] randohinn: Oh great, it's now on all other post routes too
[11:05:42] randohinn: Why is the session csrf token Fubar?
[11:05:49] randohinn: I now remember why I didn't like Rails....
[11:06:19] GreekFreak: has joined #RubyOnRails
[11:08:26] GreekFreak: Hi all. I am trying to use ActiveStorage in my engine (not the parent app). The ActiveStorage 5.2.3 gem exists in the Gemfile.lock of my engine, and I have added `require "active_storage/engine"` in my engine.rb file, however running `rails active_storage:install` gives me an error that it does not recognise the rake task. Any advice on how to get ActiveStorage to work in an engine?
[11:15:45] GreekFreak: has joined #RubyOnRails
[11:37:18] davidh38: has joined #RubyOnRails
[11:39:10] jlebrech: has joined #RubyOnRails
[11:41:06] jlebrech: my keeps getting gateway error and passenger is stopped, was given a shutdown signal. in 6.0.2, didn't have that issue with the previous version. has anyone had a similar issue?
[11:42:05] jlebrech: my app* aka, apache-passenger rails application
[11:45:22] DTZUZO: has joined #RubyOnRails
[11:53:39] davidh38: has joined #RubyOnRails
[12:22:31] DTZUZO: has joined #RubyOnRails
[12:35:31] dionysus69: has joined #RubyOnRails
[12:47:32] snickers: has joined #RubyOnRails
[12:49:53] KeyJoo: has joined #RubyOnRails
[12:50:22] davidh38: has joined #RubyOnRails
[13:06:36] davidh38: has joined #RubyOnRails
[13:12:20] davidh38: has joined #RubyOnRails
[13:25:37] dionysus69: has joined #RubyOnRails
[13:28:39] uks: has joined #RubyOnRails
[13:36:22] davidh38: has joined #RubyOnRails
[13:38:25] Intelo: has joined #RubyOnRails
[13:38:29] Intelo: Which lirary to use for oauth in react? my backend is in rails
[13:53:49] regedit: has joined #RubyOnRails
[13:56:23] regedit: how can i implement human name search functionality? ex. searching for "Blake D. Brooks" will bring up ranked results such as "Brooks, Blake Davis" then "B. D. Brooks" then "Blake Brooker" etc.
[13:57:06] regedit: should RDBMS be used for such functionality? or something like elasticsearch? other?
[14:53:39] DTZUZO: has joined #RubyOnRails
[15:03:08] s00pcan: has joined #RubyOnRails
[15:45:45] ElFerna: has joined #RubyOnRails
[15:47:22] davidh38: has joined #RubyOnRails
[15:53:04] Chuguniy: has joined #RubyOnRails
[16:08:13] tdy: has joined #RubyOnRails
[16:16:09] orbyt_: has joined #RubyOnRails
[16:27:40] arandomandy: has joined #RubyOnRails
[16:30:43] SteenJobs: has joined #RubyOnRails
[16:33:44] za1b1tsu: has joined #RubyOnRails
[16:38:13] arandomandy: has left #RubyOnRails: ()
[16:52:25] duderonomy: has joined #RubyOnRails
[17:02:55] sameerynho: has joined #RubyOnRails
[17:06:51] Saukk: has joined #RubyOnRails
[17:15:01] davidh38: has joined #RubyOnRails
[17:26:33] ravenousmoose: has joined #RubyOnRails
[17:28:05] JackT: has joined #RubyOnRails
[17:34:38] KeyJoo: has joined #RubyOnRails
[17:36:30] KeyJoo: has joined #RubyOnRails
[17:49:34] Croata: has joined #RubyOnRails
[17:51:30] NoGodDamnIdea: has joined #RubyOnRails
[17:52:06] JackT: has joined #RubyOnRails
[17:54:12] JackT: Hey guys, newbie here and I'm kinda stuck with rails 6, maybe anyone could give me a hand?
[17:55:42] JackT: i'm running rails with passenger and apache, already set "config.hosts = nil" in my environments files but I'm still getting the Blocked host error.. any ideas?
[17:58:05] JackT: I have tried config.hosts << "hostname.com", config.hosts = nil, and config.hosts.clear so far and still nothing
[18:00:21] havenwood: JackT: What's the full error?
[18:01:29] JackT: Blocked host: ribi.clTo allow requests to ribi.cl, add the following to your environment configuration:config.hosts << "ribi.cl"
[18:01:35] JackT: ribi.cl is my domain
[18:02:06] JackT: you can check it, is up right now
[18:03:53] havenwood: JackT: Are you editing `config/environments/production.rb` to add the `config.hosts <<`?
[18:04:08] havenwood: JackT: Inside the `Rails.application.configure do` block?
[18:04:46] JackT: tried production.rb and development.rb and yes inside the block right after the Rails.application.configure do
[18:04:51] havenwood: JackT: If so, confirm you're Rails.env is production.
[18:06:53] JackT: I have set development in my enviroment.rb
[18:07:04] JackT: like this ENV["RAILS_ENV"] = "development"
[18:07:13] JackT: also in my apache conf
[18:08:04] havenwood: JackT: And you put the `config.hosts <<` in your `config/environments/development.rb` file inside the block?
[18:09:00] JackT: yes exactly under the Rails.application.configure do
[18:09:28] JackT: is there anyway to log the errors in a file even when the app is not being loaded?
[18:11:37] havenwood: JackT: And you restarted the app?
[18:12:05] catbusters: has joined #RubyOnRails
[18:12:05] havenwood: JackT: Turn the whole thing off and back on again and see if it works? :P
[18:13:08] JackT: humm restart it how exactly?
[18:13:45] havenwood: ACTION looks for a power button
[18:15:16] JackT: lol ok give me a minute please, I'm also getting a No matching DirectoryIndex error from apache
[18:15:27] JackT: gonna fix it and try
[18:19:57] davidh38: has joined #RubyOnRails
[18:23:35] ravenousmoose: has joined #RubyOnRails
[18:26:22] JackT: -Indexes directive in the apache site conf file throws a 302 error and the app thinks it's because of the config.hosts directive
[18:26:57] JackT: just for future references :D
[18:27:43] JackT: Thank you very much havenwood! all good now :)
[18:28:09] havenwood: Nice! You're welcome.
[18:44:32] xco: has joined #RubyOnRails
[19:17:38] bvdw: has joined #RubyOnRails
[19:20:47] schneider: has joined #RubyOnRails
[19:49:14] SteenJobs: has joined #RubyOnRails
[20:02:59] MrCrackPot: has joined #RubyOnRails
[20:09:01] Vashy: has joined #RubyOnRails
[20:40:29] _aeris: has joined #RubyOnRails
[20:50:52] hiddenloop: has joined #RubyOnRails
[20:59:26] SteenJobs: has joined #RubyOnRails
[21:22:05] hiddenloop: has joined #RubyOnRails
[21:34:29] Exuma: has joined #RubyOnRails
[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
[21:48:40] davidh38: has joined #RubyOnRails
[21:51:40] davidh38: has joined #RubyOnRails
[22:28:03] SteenJobs: has joined #RubyOnRails
[22:35:47] gambl0re: has joined #RubyOnRails
[22:40:49] ZAJDAN: has joined #RubyOnRails
[23:17:27] davidh38: has joined #RubyOnRails
[23:27:08] davidh38: has joined #RubyOnRails
[23:30:30] davidh38: has joined #RubyOnRails
[23:34:38] xco: has joined #RubyOnRails
[23:44:57] lankanmon: has joined #RubyOnRails