jane_booty_doe

Activity Graph

Page 1 of 2 | Next »

2018-11-14

[01:36:35] jane_booty_doe: has joined #RubyOnRails

2018-11-13

[00:53:59] jane_booty_doe: has joined #RubyOnRails

2018-11-10

2018-11-09

[18:53:46] jane_booty_doe: has joined #RubyOnRails
[23:56:19] jane_booty_doe: has joined #RubyOnRails

2018-11-08

[12:16:53] jane_booty_doe: has joined #RubyOnRails
[12:18:16] jane_booty_doe: anyone here have recaptcha working w/ clearance's sessions#create
[14:06:59] jane_booty_doe: has joined #RubyOnRails

2018-11-07

[01:11:29] jane_booty_doe: has joined #RubyOnRails

2018-11-05

[02:32:23] jane_booty_doe: has joined #RubyOnRails
[02:36:45] jane_booty_doe: what would cause flash[:foo] to not persist on redirect while flash.now[:foo] is working fine w/ render
[02:37:47] jane_booty_doe: i inspected the flash hash and its empty
[02:43:42] jane_booty_doe: sevenseacat, i set up a new controller just to test it. using the index to either flash/redirect or flash.now/render the home page path or view
[02:45:20] jane_booty_doe: the test controller?
[02:48:53] jane_booty_doe: sevenseacat, https://gist.github.com/jbd70/ba3d2265c456eeb937a7d59c589ce2b0
[02:49:17] jane_booty_doe: comments are output of `= debug flash`
[02:52:37] jane_booty_doe: well i'd need to put up all the layout partials to show it i guess. maybe ill combine them
[02:54:55] jane_booty_doe: the welcome controller is just an empty index method that renders a markdown page
[02:58:16] jane_booty_doe: what controller should i debug?
[03:00:29] jane_booty_doe: i think its being caused somewhere else in the stack, idk where. but it happens on every page
[03:05:44] jane_booty_doe: it doesn't look like you can debug the flash object in the controller
[03:07:16] jane_booty_doe: ah nvm. you just can't w/ flash.now
[03:07:46] jane_booty_doe: `flash.inspect` in the controller was "#<ActionDispatch::Flash::FlashHash:0x00007f7293158ee0 @discard=#<Set: {}>, @flashes={}, @now=nil>"
[03:08:53] jane_booty_doe: i kind of think this is related to a gem
[03:09:51] jane_booty_doe: i just dont know where to start w/troubleshooting this because there's so many things that could cause it
[04:46:32] jane_booty_doe: sevenseacat, session_store initializer was the problem
[04:46:53] jane_booty_doe: had it set to this for some reason `Rails.application.config.session_store ActionDispatch::Session::CacheStore, :expire_after => 20.minutes`
[04:48:38] jane_booty_doe: that one line caused me so many problems lmao
[10:11:43] jane_booty_doe: Psy-Q, like in a form?
[20:43:27] jane_booty_doe: has joined #RubyOnRails
[20:49:04] jane_booty_doe: anyone here work for instacart

2018-09-06

[15:03:24] jane_booty_doe: has joined #ruby

2018-09-04

[13:35:54] jane_booty_doe: has joined #ruby
[13:35:54] jane_booty_doe: has joined #RubyOnRails
[21:07:45] jane_booty_doe: has joined #ruby
[21:07:45] jane_booty_doe: has joined #RubyOnRails
[21:12:04] jane_booty_doe: Ping timeout: 240 seconds

2018-09-02

2018-09-01

[00:42:35] jane_booty_doe: has joined #ruby
[00:42:35] jane_booty_doe: has joined #RubyOnRails
[22:13:07] jane_booty_doe: has joined #ruby
[22:13:07] jane_booty_doe: has joined #RubyOnRails

2018-08-31

[04:12:21] jane_booty_doe: has joined #RubyOnRails
[04:12:22] jane_booty_doe: has joined #ruby
[07:25:28] jane_booty_doe: are any of these paas things good
[07:25:47] jane_booty_doe: i tried dokku and it was weird
[07:26:15] jane_booty_doe: sevenseacat, what do you use in production
[07:27:20] jane_booty_doe: i kind of just want to go off of this since i already use docker-compose https://github.com/ledermann/docker-rails
[09:12:19] jane_booty_doe: Remote host closed the connection
[16:23:38] jane_booty_doe: has joined #ruby
[16:23:38] jane_booty_doe: has joined #RubyOnRails
[17:30:35] jane_booty_doe: k changed my mind dokku is awesome
[17:30:54] jane_booty_doe: this is gonna save me so much money
[18:34:10] jane_booty_doe: has joined #ruby
[18:34:10] jane_booty_doe: has joined #RubyOnRails

2018-08-30

[22:06:27] jane_booty_doe: has joined #ruby
[22:06:27] jane_booty_doe: has joined #RubyOnRails

2018-08-22

[10:45:39] jane_booty_doe: has joined #RubyOnRails
[10:47:44] jane_booty_doe: something is really wrong with my app
[10:48:19] jane_booty_doe: all post requests cause clearance's current_user helper to become nil
[10:48:51] jane_booty_doe: all have "Can't verify CSRF token authenticity."

2018-08-21

[10:32:46] jane_booty_doe: has joined #RubyOnRails
[11:45:12] jane_booty_doe: Stimpy_2000, does the url look right in the network logs
[11:45:17] jane_booty_doe: in your browser
[11:48:28] jane_booty_doe: there's a lot of ways to do it
[11:51:35] jane_booty_doe: well use patch for one
[11:52:31] jane_booty_doe: kinda hard to give advice w/o seeing the code. but you need to add an event listener. or render .js.erb and just pass the data into an existing function
[11:53:27] jane_booty_doe: i have a dummy github account i use for asking stupid questions on irc and discord. comes in handy a lot
[11:58:54] jane_booty_doe: preventDefault() will do that i think
[11:59:00] jane_booty_doe: haven't worked w/ js in a while tbh
[12:13:32] jane_booty_doe: Stimpy_2000, np :)
[13:16:39] jane_booty_doe: search for the word controller in your routes.rb
[13:18:05] jane_booty_doe: should just be admin#...
[13:18:36] jane_booty_doe: i know the feeling
[13:20:52] jane_booty_doe: it's in the form as a hidden element
[13:22:11] jane_booty_doe: you have to extract it from the element and send it yourself
[13:22:47] jane_booty_doe: actually apparently not?
[13:22:56] jane_booty_doe: https://stackoverflow.com/a/9997230
[13:24:16] jane_booty_doe: https://github.com/rails/jquery-ujs/wiki/ajax
[13:25:16] jane_booty_doe: never realized how cool that gem was
[14:54:56] jane_booty_doe: has joined #RubyOnRails
[15:32:18] jane_booty_doe: Ping timeout: 256 seconds
[21:50:38] jane_booty_doe: has joined #RubyOnRails
[22:31:54] jane_booty_doe: Ping timeout: 252 seconds

2018-06-14

[01:55:08] jane_booty_doe: has joined #RubyOnRails

2018-06-13

[23:56:36] jane_booty_doe: has joined #RubyOnRails

2018-06-10

[20:21:21] jane_booty_doe: has joined #RubyOnRails

2018-06-08

[06:51:31] jane_booty_doe: has joined #RubyOnRails

2018-06-07

[00:31:38] jane_booty_doe: has joined #RubyOnRails
[03:08:15] jane_booty_doe: has joined #RubyOnRails
[10:51:07] jane_booty_doe: has joined #RubyOnRails

2018-06-06

[15:28:45] jane_booty_doe: has joined #RubyOnRails
[21:54:28] jane_booty_doe: has joined #RubyOnRails

2018-06-05

[10:53:10] jane_booty_doe: has joined #RubyOnRails

2018-06-03

[07:09:28] jane_booty_doe: has joined #RubyOnRails
[17:06:33] jane_booty_doe: has joined #RubyOnRails

2018-06-02

[23:01:31] jane_booty_doe: has joined #RubyOnRails

2018-06-01

[04:52:00] jane_booty_doe: has joined #RubyOnRails
[14:41:21] jane_booty_doe: has joined #RubyOnRails
[15:07:17] jane_booty_doe: Is StripeMock supposed to be able to test callbacks that persist in ActiveRecord like this? https://github.com/tansengming/stripe-rails#responding-to-webhooks
[15:09:40] jane_booty_doe: Every example just tests the stripe objects created in the test. When I try to test something like that the changes don't persist
[15:11:23] jane_booty_doe: Ah nevermind. You have to query the user again in the test after sending the event

2018-05-31

[21:25:42] jane_booty_doe: has joined #RubyOnRails

2018-05-30

[00:50:19] jane_booty_doe: Remote host closed the connection
[00:51:22] jane_booty_doe: has joined #RubyOnRails
[00:51:49] jane_booty_doe: Remote host closed the connection
[00:52:15] jane_booty_doe: has joined #RubyOnRails
[00:57:45] jane_booty_doe: Ping timeout: 255 seconds
[01:30:03] jane_booty_doe: has joined #RubyOnRails
[08:05:28] jane_booty_doe: has joined #RubyOnRails
[11:41:25] jane_booty_doe: has joined #RubyOnRails
[11:56:16] jane_booty_doe: How the hell do you debug controllers
[12:00:37] jane_booty_doe: Dbugger, how do I use that with rspec?
[12:01:11] jane_booty_doe: Does it just give me access to local variables in the scenario (doing feature specs)
[12:05:09] jane_booty_doe: Dbugger, well no my test is failing, and I can't figure out why
[12:06:02] jane_booty_doe: Good point actually
[12:16:21] jane_booty_doe: Factory was causing it. Of course

2018-05-29

[19:16:19] jane_booty_doe: has joined #RubyOnRails
[20:57:37] jane_booty_doe: has joined #RubyOnRails
[21:54:37] jane_booty_doe: has joined #RubyOnRails

2018-05-26

[00:44:20] jane_booty_doe: has joined #RubyOnRails
[14:31:17] jane_booty_doe: has joined #RubyOnRails

2018-05-25

[17:38:39] jane_booty_doe: has joined #RubyOnRails

2018-05-18

[10:51:03] jane_booty_doe: has joined #RubyOnRails
[18:34:00] jane_booty_doe: has joined #RubyOnRails

2018-05-15

[02:17:00] jane_booty_doe: has joined #RubyOnRails
[12:49:36] jane_booty_doe: Read error: Connection reset by peer
[12:50:04] jane_booty_doe: has joined #RubyOnRails
[13:00:09] jane_booty_doe: has joined #RubyOnRails
[13:42:21] jane_booty_doe: Read error: Connection reset by peer
[13:42:50] jane_booty_doe: has joined #RubyOnRails
[13:45:54] jane_booty_doe: Read error: Connection reset by peer
[13:46:18] jane_booty_doe: has joined #RubyOnRails
[22:49:03] jane_booty_doe: has joined #RubyOnRails

2018-05-12

[12:12:44] jane_booty_doe: has joined #RubyOnRails

2018-05-10

[18:07:07] jane_booty_doe: has joined #RubyOnRails

2018-05-08

[12:24:35] jane_booty_doe: has joined #RubyOnRails

2018-05-07

[04:57:15] jane_booty_doe: has joined #RubyOnRails
[09:16:41] jane_booty_doe: How do I debug strong parameters always returning `permitted: false`
[09:17:27] jane_booty_doe: I disabled all pundit policies, validation in the model and removed every unique index
[09:19:47] jane_booty_doe: tbuehlmann, yes `params.require(:account).permit(:username, :provider_id, :provider)`
[09:20:12] jane_booty_doe: params are {"utf8"=>"✓", "authenticity_token"=>"uQdvd9Ma05TGZlLa8mBTHNHtXNf8Wczvp0O5ZxWdDSNZd3GV8sKJVIoLQb371ypMMB8g4VIt07FZ0aG2RVKp9Q==", "account"=><ActionController::Parameters {"username"=>"test", "provider_id"=>"1", "provider"=>"foo"} permitted: false>, "commit"=>"Save Account", "controller"=>"accounts", "action"=>"create"}
[09:21:13] jane_booty_doe: I run into the dumbest problems I swear
[09:22:46] jane_booty_doe: tbuehlmann, Yes just the standard way of doing it. Account.new in the new method and Account.new(account_params) in create
[09:26:04] jane_booty_doe: tbuehlmann, there's no form validation errors, create just returns the else block for @account.save and renders edit. can I use byebug to dig deeper somehow?
[09:29:02] jane_booty_doe: wish the server logs weren't so worthless

2018-05-05

[04:26:56] jane_booty_doe: has joined #RubyOnRails
[08:40:22] jane_booty_doe: has joined #RubyOnRails
[14:43:01] jane_booty_doe: has joined #RubyOnRails
[14:53:02] jane_booty_doe: Ping timeout: 260 seconds
[14:57:58] jane_booty_doe: has joined #RubyOnRails
[15:34:27] jane_booty_doe: Read error: Connection reset by peer
[16:43:47] jane_booty_doe: has joined #RubyOnRails
[19:59:30] jane_booty_doe: Read error: Connection reset by peer

2018-05-04

[16:00:29] jane_booty_doe: has joined #RubyOnRails
[18:52:15] jane_booty_doe: has joined #RubyOnRails
[22:10:27] jane_booty_doe: Read error: Connection reset by peer

2018-05-03

[06:37:59] jane_booty_doe: has joined #RubyOnRails
[09:37:41] jane_booty_doe: has joined #RubyOnRails

2018-05-02

[16:34:20] jane_booty_doe: has joined #RubyOnRails

2018-05-01

[18:33:27] jane_booty_doe: has joined #RubyOnRails

2018-04-30

[06:37:31] jane_booty_doe: has joined #RubyOnRails
[07:53:49] jane_booty_doe: has joined #RubyOnRails
[13:36:52] jane_booty_doe: has joined #RubyOnRails

2018-04-28

[05:19:13] jane_booty_doe: has joined #ruby
[05:19:13] jane_booty_doe: has joined #RubyOnRails
[05:53:16] jane_booty_doe: what you said sounds fine
[08:36:55] jane_booty_doe: has joined #RubyOnRails
[08:36:56] jane_booty_doe: has joined #ruby

2018-04-27

[00:30:48] jane_booty_doe: has joined #RubyOnRails
[05:21:36] jane_booty_doe: has joined #RubyOnRails
[05:37:17] jane_booty_doe: has joined #ruby
[07:36:42] jane_booty_doe: syndikate, https://medium.com/@RyanDavidson/service-objects-explained-simply-for-ruby-on-rails-5-a8cc42a5441f
[07:37:08] jane_booty_doe: https://medium.com/@RyanDavidson/service-objects-in-ruby-on-rails-handling-growth-with-modular-namespaces-6f2e7eb7da1
[07:37:14] jane_booty_doe: I kinda go off that

2018-04-26

[22:15:42] jane_booty_doe: I've done nothing productive today