ornerymoose

Activity Graph

Page 1 of 5 | Next »

2017-12-15

[00:24:16] ornerymoose: Quit: ornerymoose
[03:19:31] ornerymoose: has joined #RubyOnRails
[04:08:44] ornerymoose: Quit: ornerymoose

2017-12-14

[02:26:29] ornerymoose: has joined #RubyOnRails
[04:47:36] ornerymoose: Quit: ornerymoose
[13:24:45] ornerymoose: has joined #RubyOnRails
[13:59:06] ornerymoose: has joined #RubyOnRails
[22:02:21] ornerymoose: Ping timeout: 256 seconds
[23:08:48] ornerymoose: has joined #RubyOnRails

2017-12-13

[17:02:28] ornerymoose: has joined #RubyOnRails
[17:03:51] ornerymoose: Hello, I’m setting up the grape gem within an existing Rails 4.2 CRUD app. It’s working well for GET requests, but it returns TypeError (compared with non class/module) when attempting a POST request with curl: https://gist.github.com/ornerymoose/cfc9237680eeef13356ff57529162995 . Something I’m overlooking with my POST code?
[22:46:52] ornerymoose: Ping timeout: 272 seconds
[23:19:37] ornerymoose: has joined #RubyOnRails
[23:57:16] ornerymoose: Quit: ornerymoose

2017-12-04

[03:00:57] ornerymoose: Quit: ornerymoose

2017-12-03

[05:57:43] ornerymoose: Quit: ornerymoose
[19:20:56] ornerymoose: has joined #RubyOnRails
[20:18:10] ornerymoose: Quit: ornerymoose
[23:03:35] ornerymoose: has joined #RubyOnRails

2017-12-02

[05:57:54] ornerymoose: has joined #RubyOnRails
[10:17:03] ornerymoose: Quit: ornerymoose
[10:26:32] ornerymoose: has joined #RubyOnRails
[12:37:05] ornerymoose: Quit: ornerymoose
[23:14:06] ornerymoose: has joined #RubyOnRails

2017-12-01

[02:15:40] ornerymoose: has joined #RubyOnRails
[02:29:16] ornerymoose: hello. I’m trying to do a standard has_many/belongs_to with a third model instead of just Model A and Model B. Reason being is that the two models with data are read from SQL Server and can’t have any joins/associations happening there. Here’s a gist of the setup: https://gist.github.com/ornerymoose/abb43dad682535d8a1a558475896abbf . When I try and fire this up in Rails console I’m getting: Could not find the source association(s) "chil
[02:29:17] ornerymoose: or :children in model Relationship. What am I overlooking here? (a child can never belong to more than one outage at a time)
[02:33:27] ornerymoose: Quit: ornerymoose
[02:35:54] ornerymoose: has joined #RubyOnRails
[06:04:09] ornerymoose: Quit: ornerymoose
[13:27:28] ornerymoose: has joined #RubyOnRails
[13:56:02] ornerymoose: has joined #RubyOnRails
[16:37:18] ornerymoose: Quit: ornerymoose
[17:21:50] ornerymoose: has joined #RubyOnRails
[21:40:25] ornerymoose: Quit: ornerymoose
[22:13:26] ornerymoose: has joined #RubyOnRails
[22:31:53] ornerymoose: Quit: ornerymoose
[23:18:57] ornerymoose: has joined #RubyOnRails
[23:39:54] ornerymoose: Quit: ornerymoose

2017-11-29

[01:30:30] ornerymoose: Quit: ornerymoose
[02:35:17] ornerymoose: has joined #RubyOnRails
[04:17:46] ornerymoose: Quit: ornerymoose
[04:22:22] ornerymoose: has joined #RubyOnRails
[04:44:52] ornerymoose: Quit: ornerymoose
[13:17:29] ornerymoose: has joined #RubyOnRails
[14:36:22] ornerymoose: Quit: ornerymoose
[16:28:29] ornerymoose: has joined #RubyOnRails
[19:47:14] ornerymoose: Quit: ornerymoose

2017-11-28

[04:04:30] ornerymoose: Quit: ornerymoose
[04:26:16] ornerymoose: has joined #RubyOnRails
[05:28:59] ornerymoose: Quit: ornerymoose
[13:42:17] ornerymoose: has joined #RubyOnRails
[13:50:57] ornerymoose: Ping timeout: 248 seconds
[16:01:26] ornerymoose: has joined #RubyOnRails
[16:47:59] ornerymoose: has joined #RubyOnRails
[17:14:02] ornerymoose: Quit: ornerymoose
[17:39:10] ornerymoose: has joined #RubyOnRails
[21:00:51] ornerymoose: Quit: ornerymoose
[21:09:24] ornerymoose: has joined #RubyOnRails
[22:05:42] ornerymoose: Quit: ornerymoose
[23:28:49] ornerymoose: has joined #RubyOnRails

2017-11-27

[00:05:45] ornerymoose: Quit: ornerymoose
[03:49:55] ornerymoose: has joined #RubyOnRails
[04:22:04] ornerymoose: Quit: ornerymoose
[13:35:58] ornerymoose: has joined #RubyOnRails
[13:43:05] ornerymoose: Ping timeout: 240 seconds
[16:42:32] ornerymoose: Quit: ornerymoose
[18:15:57] ornerymoose: has joined #RubyOnRails
[22:05:45] ornerymoose: Quit: ornerymoose
[23:30:06] ornerymoose: has joined #RubyOnRails

2017-11-26

[04:59:18] ornerymoose: has joined #RubyOnRails
[06:08:14] ornerymoose: Quit: ornerymoose
[06:11:09] ornerymoose: has joined #RubyOnRails
[06:19:20] ornerymoose: Quit: ornerymoose
[21:33:20] ornerymoose: has joined #RubyOnRails

2017-11-25

[01:44:05] ornerymoose: has joined #RubyOnRails
[02:41:30] ornerymoose: Quit: ornerymoose
[03:25:09] ornerymoose: has joined #RubyOnRails
[03:36:33] ornerymoose: has joined #RubyOnRails
[04:22:30] ornerymoose: Quit: ornerymoose
[22:27:53] ornerymoose: has joined #RubyOnRails
[23:11:33] ornerymoose: Quit: ornerymoose
[23:15:30] ornerymoose: has joined #RubyOnRails
[23:34:02] ornerymoose: Quit: ornerymoose

2017-11-24

[16:50:55] ornerymoose: has joined #RubyOnRails
[16:51:57] ornerymoose: Hello. I’m trying to understand how to update a relationship instead of creating a new one when updating an outage with children. Or maybe I’m overlooking something in my custom validation method in the relationship model: https://gist.github.com/ornerymoose/863d6b0ccd1e036792d9af229b6be7c8 Any insight is appreciated
[17:57:22] ornerymoose: NL3limin4t0r: correct, what would be a decent way to attack this situation? As I mentioned in the gist, I can update an outage with children that do not have a current association, or can remove existing children from that outage. but if a child belongs to a different outage, then that’s where the validation issue comes into play (ie, trying to update an outage with a child that is already associated to a different outage)
[18:07:58] ornerymoose: ‘If I understand correctly you want to update the Child association to Outage with a new one’ correct, so it’d be updating the Relationship. so an example would be having a Relationship entry of outage_id: 1 and child_id:2, and changing the outage_id to 2
[18:08:34] ornerymoose: ah you mean Child has_one relatonship through outages?
[18:13:08] ornerymoose: gotcha, indicated by this line: has_many :outages, through: :relationships in child.rb
[18:13:18] ornerymoose: let me give this a whirl and let you know here. Appreciate the help
[20:03:44] ornerymoose: Ping timeout: 248 seconds
[20:55:50] ornerymoose: has joined #RubyOnRails
[21:11:16] ornerymoose: Quit: ornerymoose
[22:49:55] ornerymoose: has joined #RubyOnRails
[23:52:59] ornerymoose: Quit: ornerymoose

2017-11-19

[07:32:49] ornerymoose: Quit: ornerymoose
[19:21:07] ornerymoose: has joined #RubyOnRails
[20:57:37] ornerymoose: Ping timeout: 258 seconds

2017-11-18

[01:59:55] ornerymoose: has joined #RubyOnRails
[07:52:08] ornerymoose: Quit: ornerymoose
[08:01:50] ornerymoose: has joined #RubyOnRails
[08:35:54] ornerymoose: Quit: ornerymoose
[18:05:52] ornerymoose: has joined #RubyOnRails
[20:38:40] ornerymoose: Quit: ornerymoose
[23:02:35] ornerymoose: has joined #RubyOnRails

2017-11-17

[00:23:35] ornerymoose: has joined #RubyOnRails
[00:33:11] ornerymoose: Quit: ornerymoose
[06:57:22] ornerymoose: has joined #RubyOnRails
[07:11:40] ornerymoose: Quit: ornerymoose
[14:40:09] ornerymoose: has joined #RubyOnRails
[14:46:23] ornerymoose: Ping timeout: 248 seconds
[14:47:11] ornerymoose: has joined #RubyOnRails
[16:12:23] ornerymoose: Quit: ornerymoose
[16:13:31] ornerymoose: has joined #RubyOnRails
[20:44:22] ornerymoose: Quit: ornerymoose
[21:18:58] ornerymoose: has joined #RubyOnRails
[21:27:41] ornerymoose: Quit: ornerymoose
[22:25:51] ornerymoose: has joined #RubyOnRails
[23:48:30] ornerymoose: Quit: ornerymoose

2017-11-16

[00:41:12] ornerymoose: Quit: ornerymoose
[01:49:50] ornerymoose: has joined #RubyOnRails
[02:56:45] ornerymoose: Quit: ornerymoose
[04:23:21] ornerymoose: has joined #RubyOnRails
[04:40:29] ornerymoose: Quit: ornerymoose
[04:45:53] ornerymoose: has joined #RubyOnRails
[05:12:59] ornerymoose: Quit: ornerymoose
[14:23:26] ornerymoose: has joined #RubyOnRails
[14:27:41] ornerymoose: Ping timeout: 240 seconds
[16:05:28] ornerymoose: Quit: ornerymoose
[17:24:11] ornerymoose: has joined #RubyOnRails
[21:45:09] ornerymoose: Quit: ornerymoose
[22:40:35] ornerymoose: has joined #RubyOnRails
[23:43:06] ornerymoose: has joined #RubyOnRails
[23:48:33] ornerymoose: Quit: ornerymoose

2017-11-15

[19:43:15] ornerymoose: has joined #RubyOnRails
[21:18:58] ornerymoose: Quit: ornerymoose
[22:10:00] ornerymoose: has joined #RubyOnRails
[23:39:12] ornerymoose: has joined #RubyOnRails

2017-09-26

[03:12:38] ornerymoose: has joined #ruby
[03:30:03] ornerymoose: Quit: ornerymoose

2017-09-25

[01:14:17] ornerymoose: has joined #ruby
[01:29:35] ornerymoose: Quit: ornerymoose
[01:39:10] ornerymoose: has joined #ruby
[03:09:15] ornerymoose: Quit: ornerymoose
[12:20:18] ornerymoose: has joined #ruby
[12:24:14] ornerymoose: Ping timeout: 240 seconds
[12:26:17] ornerymoose: has joined #ruby
[21:07:01] ornerymoose: Ping timeout: 240 seconds
[22:21:08] ornerymoose: has joined #ruby
[22:27:37] ornerymoose: Quit: ornerymoose
[23:08:01] ornerymoose: has joined #ruby
[23:20:41] ornerymoose: Quit: ornerymoose

2017-09-24

[05:53:00] ornerymoose: has joined #ruby
[07:27:29] ornerymoose: Quit: ornerymoose
[23:16:50] ornerymoose: has joined #ruby
[23:25:08] ornerymoose: Quit: ornerymoose
[23:53:02] ornerymoose: has joined #ruby

2017-09-23

[03:30:34] ornerymoose: has joined #ruby
[03:38:09] ornerymoose: Quit: ornerymoose
[19:16:58] ornerymoose: has joined #ruby
[19:29:08] ornerymoose: Quit: ornerymoose

2017-09-22

[13:22:39] ornerymoose: has joined #ruby
[17:19:27] ornerymoose: Ping timeout: 248 seconds
[20:36:35] ornerymoose: Ping timeout: 240 seconds

2017-09-21

[00:22:45] ornerymoose: Quit: ornerymoose
[02:21:38] ornerymoose: has joined #ruby
[02:43:24] ornerymoose: has joined #ruby
[03:07:11] ornerymoose: Quit: ornerymoose
[03:58:57] ornerymoose: has joined #ruby
[04:17:53] ornerymoose: Quit: ornerymoose
[12:43:43] ornerymoose: has joined #ruby
[12:48:05] ornerymoose: Ping timeout: 240 seconds
[17:27:29] ornerymoose: Quit: ornerymoose
[17:30:33] ornerymoose: has joined #ruby
[17:38:21] ornerymoose: Quit: ornerymoose
[18:02:39] ornerymoose: has joined #ruby
[18:06:57] ornerymoose: Ping timeout: 248 seconds
[18:07:29] ornerymoose: has joined #ruby
[20:56:48] ornerymoose: Ping timeout: 240 seconds

2017-09-20

[19:06:05] ornerymoose: has joined #ruby
[19:06:40] ornerymoose: I’m using Nokogiri to parse a Rails view. If i remove some rows in the browser via jquery, they aren’t reflected in the generated CSV. Why is that? Do I need to use something like Mechanize? https://gist.github.com/ornerymoose/8e828ad525757ead1b8016d173689441
[19:08:15] ornerymoose: elomatreb: gotcha, thanks. Would Mechanize be a decent approach or do you have any suggestions?
[19:09:29] ornerymoose: No sweat, I’ll look into it! Appreciate the quick reply
[20:03:11] ornerymoose: mnemom: yeah doesnt seem to be :/ looking into phantomjs now
[20:03:31] ornerymoose: mnemon: anything you recommend?
[20:28:09] ornerymoose: thank you havenwood
[20:34:52] ornerymoose: Ping timeout: 260 seconds
[22:01:27] ornerymoose: has joined #ruby
[22:16:12] ornerymoose: Quit: ornerymoose
[23:15:53] ornerymoose: has joined #ruby

2017-09-11

[16:32:30] ornerymoose: has joined #ruby
[16:41:10] ornerymoose: Quit: ornerymoose
[21:19:49] ornerymoose: has joined #ruby

2017-09-08

[01:28:05] ornerymoose: has joined #ruby
[01:37:22] ornerymoose: Quit: ornerymoose
[01:37:57] ornerymoose: has joined #ruby
[03:17:54] ornerymoose: Quit: ornerymoose
[03:23:45] ornerymoose: has joined #ruby
[03:44:23] ornerymoose: Quit: ornerymoose
[04:15:40] ornerymoose: has joined #ruby

2017-09-07

[00:14:33] ornerymoose: has joined #ruby
[00:30:39] ornerymoose: Quit: ornerymoose
[02:27:14] ornerymoose: has joined #ruby
[02:47:04] ornerymoose: Quit: ornerymoose
[03:18:34] ornerymoose: has joined #ruby
[03:36:08] ornerymoose: Quit: ornerymoose
[12:47:38] ornerymoose: has joined #ruby
[12:52:04] ornerymoose: Ping timeout: 240 seconds
[12:52:58] ornerymoose: has joined #ruby
[20:03:21] ornerymoose: Ping timeout: 240 seconds
[22:08:50] ornerymoose: has joined #ruby
[22:36:00] ornerymoose: Quit: ornerymoose
[23:20:57] ornerymoose: has joined #ruby
[23:39:32] ornerymoose: Quit: ornerymoose

2017-09-06

[00:11:48] ornerymoose: has joined #ruby
[00:44:56] ornerymoose: Quit: ornerymoose
[01:12:44] ornerymoose: has joined #ruby
[01:18:48] ornerymoose: Quit: ornerymoose
[01:58:45] ornerymoose: has joined #ruby
[03:46:23] ornerymoose: Quit: ornerymoose
[10:59:16] ornerymoose: has joined #ruby
[11:05:27] ornerymoose: Quit: ornerymoose
[11:59:11] ornerymoose: has joined #ruby
[12:07:59] ornerymoose: Ping timeout: 248 seconds
[21:11:37] ornerymoose: Ping timeout: 260 seconds
[22:48:24] ornerymoose: has joined #ruby
[23:06:07] ornerymoose: Quit: ornerymoose
[23:12:13] ornerymoose: has joined #ruby
[23:21:03] ornerymoose: Quit: ornerymoose
[23:31:03] ornerymoose: has joined #ruby
[23:51:17] ornerymoose: Quit: ornerymoose

2017-09-05

[02:03:00] ornerymoose: has joined #ruby
[11:30:48] ornerymoose: Quit: ornerymoose
[12:02:15] ornerymoose: has joined #ruby
[21:00:35] ornerymoose: Ping timeout: 240 seconds
[21:52:30] ornerymoose: has joined #ruby
[22:08:24] ornerymoose: Quit: ornerymoose

2017-09-04

[22:54:02] ornerymoose: Quit: ornerymoose