crankharder

Activity Graph

Page 1 of 10 | Next »

2019-01-17

[14:21:33] crankharder: has joined #ruby
[14:21:33] crankharder: has joined #RubyOnRails

2019-01-16

[14:24:46] crankharder: does precompiling work locally? rake assets:precompile
[14:27:20] crankharder: you might need to pull in your asset settings from production.rb into development.rb to get a legit comparison.
[14:28:13] crankharder: then i'd probably start down a path of process of elimination.
[14:28:50] crankharder: remove all your assets, deploy, add some back, repeat
[14:28:57] crankharder: see what breaks
[14:30:24] crankharder: dont think so
[20:26:30] crankharder: Ping timeout: 258 seconds

2019-01-11

[16:26:20] crankharder: has joined #ruby
[16:26:20] crankharder: has joined #RubyOnRails

2019-01-10

[19:43:34] crankharder: Remote host closed the connection
[19:48:04] crankharder: has joined #ruby
[19:48:04] crankharder: has joined #RubyOnRails
[22:48:00] crankharder: Ping timeout: 258 seconds

2019-01-08

[01:39:34] crankharder: Ping timeout: 258 seconds
[21:15:37] crankharder: has joined #ruby
[21:15:37] crankharder: has joined #RubyOnRails

2019-01-06

[16:14:46] crankharder: has joined #ruby
[16:14:46] crankharder: has joined #RubyOnRails
[19:05:51] crankharder: Quit: leaving
[19:06:16] crankharder: has joined #ruby
[19:06:16] crankharder: has joined #RubyOnRails

2019-01-04

[00:02:45] crankharder: has joined #ruby
[00:02:45] crankharder: has joined #RubyOnRails
[14:17:53] crankharder: Quit: leaving
[14:18:11] crankharder: has joined #RubyOnRails
[14:18:12] crankharder: has joined #ruby
[14:22:32] crankharder: Ping timeout: 250 seconds

2019-01-03

[02:24:55] crankharder: has joined #ruby
[02:24:55] crankharder: has joined #RubyOnRails
[10:00:06] crankharder: Ping timeout: 246 seconds
[14:17:11] crankharder: has joined #ruby
[14:17:11] crankharder: has joined #RubyOnRails
[23:15:03] crankharder: Ping timeout: 245 seconds

2019-01-02

[20:24:03] crankharder: has joined #ruby
[20:24:03] crankharder: has joined #RubyOnRails
[23:02:36] crankharder: Ping timeout: 250 seconds

2018-12-25

[03:35:02] crankharder: Read error: No route to host

2018-12-24

[17:07:56] crankharder: has joined #ruby
[17:07:56] crankharder: has joined #RubyOnRails

2018-12-23

[07:56:57] crankharder: Remote host closed the connection

2018-12-15

[06:11:22] crankharder: Ping timeout: 250 seconds
[06:18:40] crankharder: has joined #ruby
[06:18:40] crankharder: has joined #RubyOnRails

2018-12-14

[00:32:45] crankharder: has joined #ruby
[00:32:45] crankharder: has joined #RubyOnRails
[00:37:47] crankharder: Ping timeout: 250 seconds
[00:53:54] crankharder: has joined #ruby
[00:53:54] crankharder: has joined #RubyOnRails

2018-12-13

[03:30:45] crankharder: has joined #ruby
[03:30:45] crankharder: has joined #RubyOnRails
[03:35:52] crankharder: Ping timeout: 250 seconds
[13:42:19] crankharder: has joined #ruby
[13:42:19] crankharder: has joined #RubyOnRails
[22:36:24] crankharder: Ping timeout: 250 seconds

2018-12-12

[01:04:33] crankharder: has joined #ruby
[01:04:33] crankharder: has joined #RubyOnRails
[01:10:02] crankharder: Ping timeout: 268 seconds
[03:05:30] crankharder: has joined #ruby
[03:05:30] crankharder: has joined #RubyOnRails
[03:10:00] crankharder: Ping timeout: 246 seconds
[13:49:49] crankharder: has joined #ruby
[13:49:49] crankharder: has joined #RubyOnRails
[22:57:04] crankharder: Ping timeout: 264 seconds

2018-12-11

[22:33:13] crankharder: has joined #RubyOnRails
[22:33:14] crankharder: has joined #ruby
[23:09:54] crankharder: Ping timeout: 246 seconds

2018-12-09

[18:50:29] crankharder: Ping timeout: 244 seconds

2018-12-07

[15:11:39] crankharder: Quit: leaving
[15:39:29] crankharder: has joined #ruby
[15:39:29] crankharder: has joined #RubyOnRails

2018-12-06

[00:53:12] crankharder: has joined #ruby
[00:53:12] crankharder: has joined #RubyOnRails

2018-12-05

[03:09:49] crankharder: has joined #ruby
[03:09:49] crankharder: has joined #RubyOnRails
[03:14:29] crankharder: Ping timeout: 244 seconds
[14:15:03] crankharder: has joined #ruby
[14:15:03] crankharder: has joined #RubyOnRails
[15:13:36] crankharder: Ping timeout: 268 seconds
[15:17:07] crankharder: has joined #ruby
[15:17:07] crankharder: has joined #RubyOnRails
[17:14:56] crankharder: Quit: leaving
[17:15:16] crankharder: has joined #ruby
[17:15:16] crankharder: has joined #RubyOnRails
[18:02:05] crankharder: Read error: No route to host
[18:17:46] crankharder: has joined #ruby
[18:17:46] crankharder: has joined #RubyOnRails
[18:56:00] crankharder: Read error: No route to host
[19:11:32] crankharder: has joined #RubyOnRails
[19:11:33] crankharder: has joined #ruby
[19:18:27] crankharder: Ping timeout: 240 seconds
[22:34:39] crankharder: has joined #ruby
[22:34:39] crankharder: has joined #RubyOnRails
[23:17:17] crankharder: Ping timeout: 244 seconds

2018-12-04

[01:06:03] crankharder: has joined #ruby
[01:06:03] crankharder: has joined #RubyOnRails
[01:23:08] crankharder: Ping timeout: 250 seconds
[02:12:27] crankharder: has joined #ruby
[02:12:27] crankharder: has joined #RubyOnRails
[02:17:18] crankharder: Ping timeout: 250 seconds
[14:21:59] crankharder: has joined #RubyOnRails
[14:22:00] crankharder: has joined #ruby
[20:50:22] crankharder: Ping timeout: 246 seconds
[22:04:06] crankharder: has joined #RubyOnRails
[22:04:07] crankharder: has joined #ruby
[22:15:04] crankharder: Ping timeout: 246 seconds
[22:17:19] crankharder: has joined #ruby
[22:17:19] crankharder: has joined #RubyOnRails
[22:22:34] crankharder: Ping timeout: 244 seconds

2018-12-03

[14:57:51] crankharder: has joined #ruby
[14:57:51] crankharder: has joined #RubyOnRails
[23:46:31] crankharder: Ping timeout: 246 seconds

2018-12-01

[18:23:25] crankharder: has joined #ruby
[18:23:25] crankharder: has joined #RubyOnRails
[18:47:33] crankharder: Ping timeout: 245 seconds
[19:05:40] crankharder: has joined #RubyOnRails
[19:05:41] crankharder: has joined #ruby
[19:10:44] crankharder: Ping timeout: 268 seconds
[20:13:09] crankharder: has joined #ruby
[20:13:09] crankharder: has joined #RubyOnRails
[20:17:42] crankharder: Ping timeout: 250 seconds
[20:29:59] crankharder: has joined #ruby
[20:29:59] crankharder: has joined #RubyOnRails
[20:34:36] crankharder: Ping timeout: 250 seconds
[20:50:25] crankharder: has joined #ruby
[20:50:25] crankharder: has joined #RubyOnRails
[20:55:06] crankharder: Ping timeout: 246 seconds

2018-11-30

[14:51:31] crankharder: has joined #ruby
[14:51:31] crankharder: has joined #RubyOnRails
[14:55:07] crankharder: I'm trying to improve a gem's test suite (that uses appraisal) and it's spitting out a huge amount of these warnings: "warning: method redefined; discarding old request" - Does anyone know how to reproduce a warning like that? Can't say I've seen it much. Seems like it's a warning coming out of ruby-core, but maybe not?
[16:58:51] crankharder: Ping timeout: 268 seconds
[17:24:44] crankharder: has joined #ruby
[17:24:44] crankharder: has joined #RubyOnRails
[23:24:56] crankharder: Ping timeout: 250 seconds

2018-11-29

[04:44:22] crankharder: Ping timeout: 250 seconds
[13:57:27] crankharder: has joined #ruby
[13:57:27] crankharder: has joined #RubyOnRails
[19:07:45] crankharder: Quit: Lost terminal

2018-11-27

[16:06:47] crankharder: Ping timeout: 244 seconds
[16:13:14] crankharder: has joined #ruby
[16:13:14] crankharder: has joined #RubyOnRails

2018-11-20

[15:38:22] crankharder: Remote host closed the connection
[15:49:17] crankharder: has joined #ruby
[15:49:17] crankharder: has joined #RubyOnRails

2018-11-18

[22:04:48] crankharder: has joined #ruby
[22:04:48] crankharder: has joined #RubyOnRails
[22:19:25] crankharder: Quit: leaving

2018-11-17

[01:24:23] crankharder: has joined #ruby
[01:24:23] crankharder: has joined #RubyOnRails
[01:31:32] crankharder: Ping timeout: 244 seconds
[01:43:06] crankharder: has joined #ruby
[01:43:06] crankharder: has joined #RubyOnRails
[01:47:53] crankharder: Ping timeout: 268 seconds
[01:57:50] crankharder: has joined #ruby
[01:57:50] crankharder: has joined #RubyOnRails
[02:02:08] crankharder: Ping timeout: 245 seconds

2018-11-16

[03:11:26] crankharder: has joined #RubyOnRails
[03:11:27] crankharder: has joined #ruby
[03:16:09] crankharder: Ping timeout: 268 seconds
[06:02:15] crankharder: has joined #ruby
[06:02:15] crankharder: has joined #RubyOnRails
[06:06:48] crankharder: Ping timeout: 252 seconds
[13:55:46] crankharder: has joined #ruby
[13:55:46] crankharder: has joined #RubyOnRails
[14:00:49] crankharder: Ping timeout: 250 seconds
[14:23:52] crankharder: has joined #ruby
[14:23:52] crankharder: has joined #RubyOnRails
[15:07:47] crankharder: Ping timeout: 268 seconds
[15:23:04] crankharder: has joined #ruby
[15:23:04] crankharder: has joined #RubyOnRails
[18:19:34] crankharder: Ping timeout: 268 seconds
[18:39:28] crankharder: has joined #ruby
[18:39:28] crankharder: has joined #RubyOnRails
[23:08:26] crankharder: Ping timeout: 272 seconds

2018-11-15

[15:46:23] crankharder: has joined #ruby
[15:46:23] crankharder: has joined #RubyOnRails
[23:29:48] crankharder: Ping timeout: 252 seconds

2018-11-14

[18:40:53] crankharder: Ping timeout: 244 seconds

2018-11-11

[22:39:27] crankharder: Ping timeout: 240 seconds
[22:46:54] crankharder: has joined #ruby
[22:46:54] crankharder: has joined #RubyOnRails

2018-11-09

[15:58:12] crankharder: syndikate: not sure what 'javascript fetch' is - but you probably shouldn't be redirecting async endpoints. Those endpoints need to return something that your javascript callback can handle. Then you have the JS callback update the browser's location with something like window.location.href = '/some/new/path';
[16:50:50] crankharder: syndikate: yea see that 'then(function(response){...' callback here? https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch -- you want to handle the response object there. Have rails return some json that you can work with in your controller: 'render json: {path: root_path}'
[16:52:35] crankharder: hnanon: look at the tables that rails has created - what are they doing?
[16:55:10] crankharder: I imagine it's probably best to keep their table the way they recommended
[17:08:04] crankharder: samort7: I would iterate over your list of books and create a form using form_for(@book, url: path_to_favorite_update_path) and f.hidden_field(:book_id) -- in that controller action you could do something like... BooksUser.find_or_initialize_by(user_id: current_user.id, book_id: params[:book_id]).update_attributes!(favorite: true) - somethin like that
[22:30:16] crankharder: merzu1: group explicitly adds GROUP BY to your sql. read up on some active record: https://guides.rubyonrails.org/active_record_basics.html
[22:31:07] crankharder: aarkerio: for an API or for a normal form reseponse?
[22:31:50] crankharder: you want your users to just get an error page?

2018-11-05

[21:54:28] crankharder: I want to include an association with a scope on that relationship in a query. So, say: Foo has_many :bars, and Bar has a scope :baz. I want to Foo.includes(Bar.baz) or some such so that I can Foo.includes(Bar.baz).each{|foo| foo.bars.baz} and it won't n+1. I know I can define another association on Foo that uses the scope to accomplish this. Is there a way to do this without defining that
[21:54:34] crankharder: intermediate assoc?
[22:01:03] crankharder: link_to foo_path(params)
[22:01:41] crankharder: (params are just params - no such thing as "GET params")

2018-10-31

2018-10-30

[15:07:50] crankharder: has joined #ruby
[15:07:50] crankharder: has joined #RubyOnRails
[16:15:48] crankharder: Ping timeout: 252 seconds
[16:35:26] crankharder: has joined #ruby
[16:35:26] crankharder: has joined #RubyOnRails
[18:28:44] crankharder: Quit: leaving
[18:31:23] crankharder: has joined #ruby
[18:31:23] crankharder: has joined #RubyOnRails

2018-10-25

[06:39:22] crankharder: has joined #ruby
[06:39:22] crankharder: has joined #RubyOnRails
[11:38:38] crankharder: Remote host closed the connection
[11:39:42] crankharder: has joined #ruby
[11:39:42] crankharder: has joined #RubyOnRails

2018-10-24

[18:48:52] crankharder: *.net *.split

2018-10-17

[11:52:41] crankharder: has joined #ruby
[11:52:41] crankharder: has joined #RubyOnRails
[11:57:13] crankharder: Ping timeout: 246 seconds
[12:07:39] crankharder: has joined #RubyOnRails
[12:07:40] crankharder: has joined #ruby
[12:26:39] crankharder: Ping timeout: 252 seconds
[13:08:02] crankharder: has joined #ruby
[13:08:02] crankharder: has joined #RubyOnRails
[14:34:11] crankharder: Quit: leaving
[14:34:24] crankharder: has joined #RubyOnRails
[14:34:25] crankharder: has joined #ruby

2018-09-11

[07:03:33] crankharder: Ping timeout: 252 seconds
[07:05:41] crankharder: has joined #ruby
[07:05:41] crankharder: has joined #RubyOnRails

2018-09-05

[04:31:22] crankharder: Ping timeout: 268 seconds
[04:31:35] crankharder: has joined #ruby
[04:31:35] crankharder: has joined #RubyOnRails

2018-08-10

[14:21:58] crankharder: how can i modify the webpacker environment for only one pack? i need to prepend jquery, but dont want that to apply to all my packs
[14:22:05] crankharder: e.g. somethin like this: environment.plugins.set('Provide', new webpack.ProvidePlugin({jQuery: 'jquery'})

2018-07-31

[23:18:00] crankharder: Remote host closed the connection

2018-07-29

[22:10:20] crankharder: has joined #ruby
[22:10:20] crankharder: has joined #RubyOnRails

2018-07-28

[01:23:37] crankharder: has joined #ruby
[01:23:37] crankharder: has joined #RubyOnRails
[01:28:40] crankharder: Ping timeout: 256 seconds
[01:33:42] crankharder: has joined #ruby
[01:33:42] crankharder: has joined #RubyOnRails
[01:38:27] crankharder: Ping timeout: 240 seconds

2018-07-27

[07:06:45] crankharder: has joined #ruby
[07:06:45] crankharder: has joined #RubyOnRails
[07:11:29] crankharder: Ping timeout: 248 seconds
[13:13:59] crankharder: has joined #ruby
[13:13:59] crankharder: has joined #RubyOnRails
[20:49:52] crankharder: Ping timeout: 256 seconds
[20:56:09] crankharder: has joined #RubyOnRails
[20:56:10] crankharder: has joined #ruby
[21:26:34] crankharder: Ping timeout: 256 seconds
[21:37:36] crankharder: has joined #ruby
[21:37:36] crankharder: has joined #RubyOnRails
[22:12:05] crankharder: Ping timeout: 240 seconds