borkdude

Activity Graph

Page 1 of 1

2016-07-10

[04:59:58] borkdude: *.net *.split
[08:54:02] borkdude: has joined #ruby
[08:54:07] borkdude: has joined #RubyOnRails

2016-06-27

[21:36:24] borkdude: Ping timeout: 272 seconds
[21:44:34] borkdude: has joined #ruby
[21:45:04] borkdude: has joined #RubyOnRails

2016-06-03

[08:37:38] borkdude: has joined #ruby
[08:37:39] borkdude: has joined #RubyOnRails

2016-05-23

[22:53:40] borkdude: *.net *.split

2016-05-03

[07:58:46] borkdude: has joined #RubyOnRails
[08:00:44] borkdude: has joined #ruby

2016-04-30

[12:06:28] borkdude: *.net *.split

2016-04-29

[14:33:11] borkdude: *.net *.split
[14:37:13] borkdude: has joined #ruby
[14:37:14] borkdude: has joined #RubyOnRails

2016-04-28

[08:17:45] borkdude: Quit: ZNC - http://znc.sourceforge.net
[08:21:15] borkdude: has joined #ruby
[08:21:45] borkdude: has joined #RubyOnRails

2016-04-15

[15:13:15] borkdude: Ping timeout: 260 seconds
[15:38:29] borkdude: has joined #ruby
[15:38:53] borkdude: has joined #RubyOnRails

2016-03-31

[03:33:27] borkdude: Ping timeout: 246 seconds
[03:36:16] borkdude: has joined #RubyOnRails
[03:36:16] borkdude: has joined #ruby

2016-03-23

[14:11:22] borkdude: has joined #RubyOnRails
[14:11:22] borkdude: has joined #ruby
[23:10:00] borkdude: Ping timeout: 268 seconds
[23:11:53] borkdude: has joined #RubyOnRails
[23:11:53] borkdude: has joined #ruby

2016-02-22

[11:40:51] borkdude: Ping timeout: 240 seconds
[11:41:22] borkdude: has joined #ruby
[11:41:23] borkdude: has joined #RubyOnRails

2016-02-17

[09:53:20] borkdude: has joined #RubyOnRails
[09:53:20] borkdude: has joined #ruby
[10:03:47] borkdude: *.net *.split
[10:04:47] borkdude: has joined #RubyOnRails
[10:04:47] borkdude: has joined #ruby

2016-01-30

[01:04:03] borkdude: *.net *.split

2016-01-19

[18:35:30] borkdude: Quit: ZNC - http://znc.sourceforge.net
[18:36:00] borkdude: has joined #RubyOnRails
[18:37:00] borkdude: has joined #ruby

2016-01-12

[21:14:15] borkdude: Ping timeout: 240 seconds
[21:26:29] borkdude: has joined #RubyOnRails
[21:26:29] borkdude: has joined #ruby

2016-01-07

[19:32:32] borkdude: has joined #RubyOnRails
[19:32:32] borkdude: has joined #ruby
[21:50:18] borkdude: *.net *.split
[21:51:38] borkdude: has joined #RubyOnRails
[21:51:39] borkdude: has joined #ruby

2016-01-02

[00:00:52] borkdude: Ping timeout: 240 seconds

2015-12-14

[04:38:24] borkdude: has joined #ruby
[04:38:54] borkdude: has joined #RubyOnRails

2015-12-12

[17:42:16] borkdude: *.net *.split

2015-12-02

[15:39:20] borkdude: *.net *.split
[16:47:34] borkdude: has joined #ruby
[16:47:58] borkdude: has joined #RubyOnRails

2015-11-30

[03:59:36] borkdude: Ping timeout: 264 seconds
[04:15:41] borkdude: has joined #RubyOnRails
[04:16:41] borkdude: has joined #ruby
[06:22:14] borkdude: Quit: ZNC - http://znc.sourceforge.net
[06:24:17] borkdude: has joined #RubyOnRails
[06:24:17] borkdude: has joined #ruby
[08:04:25] borkdude: Ping timeout: 264 seconds
[08:10:15] borkdude: has joined #ruby
[08:10:45] borkdude: has joined #RubyOnRails
[08:54:12] borkdude: Ping timeout: 264 seconds
[08:59:47] borkdude: has joined #ruby
[08:59:48] borkdude: has joined #RubyOnRails
[09:12:12] borkdude: Ping timeout: 264 seconds
[09:23:32] borkdude: has joined #ruby
[09:23:47] borkdude: has joined #RubyOnRails
[09:56:42] borkdude: why do I get different results when using openssl from the command line and from ruby in this example? https://gist.github.com/borkdude/982399425b62335aa222
[09:57:13] borkdude: never mind, we needed hexdigest

2015-11-29

[23:33:50] borkdude: Ping timeout: 264 seconds
[23:42:04] borkdude: has joined #RubyOnRails
[23:42:04] borkdude: has joined #ruby

2015-11-21

[02:19:04] borkdude: Write error: Broken pipe

2015-11-14

[05:50:57] borkdude: has joined #ruby
[05:51:26] borkdude: has joined #RubyOnRails

2015-11-07

[21:41:03] borkdude: Ping timeout: 264 seconds

2015-10-31

[16:40:26] borkdude: Ping timeout: 240 seconds
[16:42:13] borkdude: has joined #RubyOnRails
[16:42:13] borkdude: has joined #ruby

2015-10-19

[16:27:48] borkdude: Ping timeout: 264 seconds
[16:30:18] borkdude: has joined #ruby
[16:30:47] borkdude: has joined #RubyOnRails

2015-10-16

[00:15:51] borkdude: has joined #ruby
[00:16:11] borkdude: has joined #RubyOnRails

2015-10-14

[09:20:29] borkdude: has joined #RubyOnRails
[09:20:29] borkdude: has joined #ruby

2015-10-08

[12:35:52] borkdude: Ping timeout: 240 seconds

2015-10-06

[20:39:20] borkdude: Ping timeout: 240 seconds
[20:41:04] borkdude: has joined #RubyOnRails
[20:41:34] borkdude: has joined #ruby

2015-09-28

[06:20:07] borkdude: has joined #RubyOnRails
[06:20:07] borkdude: has joined #ruby

2015-09-16

[00:36:00] borkdude: *.net *.split

2015-09-02

[17:41:31] borkdude: Quit: ZNC - http://znc.sourceforge.net
[17:59:35] borkdude: has joined #ruby
[17:59:36] borkdude: has joined #RubyOnRails

2015-09-01

[15:05:37] borkdude: Quit: ZNC - http://znc.sourceforge.net
[15:06:08] borkdude: has joined #ruby
[15:09:40] borkdude: Excess Flood
[15:12:21] borkdude: has joined #RubyOnRails
[15:12:21] borkdude: has joined #ruby

2015-08-29

[13:24:59] borkdude: *.net *.split
[13:26:29] borkdude: has joined #RubyOnRails
[13:26:29] borkdude: has joined #ruby

2015-08-27

[10:15:11] borkdude: Ping timeout: 240 seconds
[10:16:26] borkdude: has joined #RubyOnRails
[10:16:56] borkdude: has joined #ruby

2015-08-21

[15:46:16] borkdude: we are using carrierwave combined with carrierwave-crop. Sometimes the cropping results in an exception. How can I add an error to a field when this happens?
[15:48:21] borkdude: preferably in the model

2015-07-19

[22:31:49] borkdude: has joined #ruby
[22:32:19] borkdude: has joined #RubyOnRails

2015-07-14

[18:30:54] borkdude: *.net *.split

2015-06-29

[10:03:57] borkdude: Quit: ZNC - http://znc.sourceforge.net
[10:06:58] borkdude: has joined #RubyOnRails
[10:07:58] borkdude: has joined #ruby

2015-05-01

[08:31:13] borkdude: I want to iterate over some columns in a custom validation. How do I do this? [initials,infix,last_name].each do |c| ... doesn't work of course.
[08:32:11] borkdude: universa1 I showed code
[08:32:43] borkdude: mikecmpbll because it iterates over the values of the columns, not the columns itself. I want to add errors on the object, using the column.
[08:32:52] borkdude: maybe I should use symbols?
[08:33:29] borkdude: universa1 will do, here it comes
[08:33:37] borkdude: https://www.refheap.com/100259
[08:36:09] borkdude: universa1 I like that approach. so if I use a hash, the key is the method?
[08:36:27] borkdude: universa1 ah wait, now I get it
[08:52:23] borkdude: universa1 mikecmpbll someone pointed out to me that it can also be done so: https://www.refheap.com/100261
[09:13:58] borkdude: mikecmpbll you're right, the condition doesn't work
[14:08:09] borkdude: I am trying to introduce a new gem in my gemset, but I get this output: https://gist.github.com/borkdude/d7cdd0a48d70ae9c8227 - what's wrong?

2015-04-18

[12:43:17] borkdude: I'm trying to get this project going: https://github.com/eliotsykes/rails-activerecord-aerobics
[12:43:38] borkdude: but I get the following error messages when doing 'bundle install': https://gist.github.com/borkdude/22b4e81f3e8c5532bb5b
[12:43:42] borkdude: can someone help me
[12:53:45] borkdude: elaptics should I run it with sudo?
[12:54:46] borkdude: elaptics I am using rvm
[12:55:51] borkdude: elaptics I'll try uninstalling ruby with homebrew then
[12:56:07] borkdude: elaptics I maybe have done that in the past, can't remember, I'm not a regular ruby user
[13:06:01] borkdude: elaptics it works now that I've uninstalled all homebrew rubies
[13:06:22] borkdude: elaptics I had to install nokogiri without the system-libraries option though, don't know if that is normal
[15:39:48] borkdude: I have put a binding.pry statement in the middle of a test here: https://gist.github.com/borkdude/4c757e5ba0a1488320e6.
[15:40:07] borkdude: Then I was going to inspect my sqlite database, but there's nothing in it. How does this work?
[15:41:42] borkdude: I'm new to ruby on rails and I'm just tinkering to see how this works
[15:44:46] borkdude: emptyflask yeah, I did, but nothing to see there. However, when I do Book.find etc, that works. Also Book.connection shows it's using test.sqlite3
[15:45:39] borkdude: emptyflask I'm using DBBrowser for Sqlite to view the content of the databsase
[15:47:45] borkdude: emptyflask yeah
[15:49:12] borkdude: This is what I'm seeing in the pry session: https://www.dropbox.com/s/e1xus2bvbq232g6/Screenshot%202015-04-18%2017.46.55.png?dl=0
[15:49:24] borkdude: also Book.find(1) returns me an object
[15:54:36] borkdude: emptyflask could be. can you query items that are created within the transaction already?
[15:57:40] borkdude: emptyflask ah ok that sounds reasonable
[16:03:01] borkdude: emptyflask this did the trick : self.use_transactional_fixtures = false

2015-01-06

[15:31:45] borkdude: I am trying this IE9 workaround for a file upload to show the image after the user selected it in a input type="file". http://www.alfajango.com/blog/ajax-file-uploads-with-the-iframe-method/
[15:32:19] borkdude: When I try to submit the form manually, .submit() doesn't work as expected. Is Rails doing something special with .submit() maybe:
[16:18:27] borkdude: I have Rails form and I want to submit it manually when an file input changes. I put this in the onchange handler: https://www.refheap.com/95798
[16:18:35] borkdude: but unfortunately the .submit() is not doing anything
[16:18:47] borkdude: what could be the problem?
[16:19:37] borkdude: mikecmpbll this is coffeescript, sorry
[16:19:58] borkdude: workmad3 yes, no request, also not logged in Rails

2014-11-27

[15:38:53] borkdude: I have written a function that gets called by carrierwave process, like this: https://www.refheap.com/94115, but if I don't call save_image in it explicitly, the upload is not saved as the cropped image, but as the original image :-s
[15:40:13] borkdude: what could I be missing
[15:40:33] borkdude: jhass thanks
[15:41:01] borkdude: Hello. I have written a function that gets called by carrierwave process, like this: https://www.refheap.com/94115, but if I don't call save_image in it explicitly, the upload is not saved as the cropped image, but as the original image :-s
[15:41:04] borkdude: What could I be missing?
[15:41:18] borkdude: please be forgiving, since I'm only starting with ruby and rails
[15:43:45] borkdude: version :cropped is not the one I return from the crop method
[15:44:06] borkdude: only because I save it manually in crop method is it saved. so my feeling is I'm not returning something correctly
[15:44:21] borkdude: I've been staring at this for too long now
[15:48:47] borkdude: workmad3 I assumed it would do about the same thing I'm doing right now
[15:48:51] borkdude: workmad3 but let me try
[15:51:54] borkdude: workmad3 my current feeling is that it is less of a pipeline in the functional sense that I expected
[15:52:27] borkdude: workmad3 even process :convert => 'png' is only converting the main upload, but the rest of the versions just stay jpg when I upload jpg
[15:52:51] borkdude: mikecmpbll imagevoodoo

2014-11-25

[11:53:43] borkdude: I am trying to use https://github.com/tazsingh/carrierwave_imagevoodoo
[11:53:56] borkdude: but I get private method `save_impl' called for #<ImageVoodoo:0x47ece14d>
[11:54:29] borkdude: am I overlooking something obvious, or is this a bug in this gem?

2014-11-17

[11:52:53] borkdude: What ruby mode do people here use? My default ruby mode indents deeper than the code written in vim by my colleague
[11:53:00] borkdude: for emacs I mean

2014-11-10

[15:14:02] borkdude: Hello ruby people. I'm following this tutorial here: http://guides.rubyonrails.org/getting_started.html - at "5 Getting up and running" it is unclear to me how the resource creation of "article" is done
[15:16:29] borkdude: mikecmpbll ah, I see. I thought I had to execute something like "rake generate resource ...." or something, but it's clear now, thanks

2014-09-26

[19:55:42] borkdude: I am trying to run rake on my Mac, but I get this output: https://www.refheap.com/90732 - what's up with this?