sondr3

Activity Graph

Page 1 of 1

2017-06-20

[00:17:30] sondr3: *.net *.split
[00:22:36] sondr3: has joined #RubyOnRails
[00:22:57] sondr3: has joined #ruby
[10:58:07] sondr3: Ping timeout: 255 seconds
[11:01:37] sondr3: has joined #RubyOnRails
[11:01:37] sondr3: has joined #ruby
[11:17:57] sondr3: Ping timeout: 255 seconds

2017-06-19

[06:43:28] sondr3: Ping timeout: 240 seconds
[07:40:52] sondr3: has joined #ruby
[07:40:52] sondr3: has joined #RubyOnRails
[08:19:33] sondr3: Ping timeout: 258 seconds
[09:18:17] sondr3: has joined #RubyOnRails
[09:18:27] sondr3: has joined #ruby
[09:52:28] sondr3: Ping timeout: 240 seconds
[10:51:26] sondr3: has joined #RubyOnRails
[10:52:03] sondr3: has joined #ruby
[11:31:48] sondr3: Ping timeout: 240 seconds
[11:53:39] sondr3: has joined #ruby
[11:54:13] sondr3: has joined #RubyOnRails

2017-06-18

[13:09:42] sondr3: has joined #ruby
[13:09:44] sondr3: has joined #RubyOnRails
[14:43:48] sondr3: dumb question, I'm currently learning RoR and want to render some text to HTML in the def show method but I can't get it to work
[14:44:04] sondr3: I know I should do render html: something something but not sure how to get it to works
[14:56:44] sondr3: nevermind, figured out how to do it with raw in ERB
[14:56:51] sondr3: Quit: Quit
[14:57:04] sondr3: has joined #ruby
[14:57:10] sondr3: has joined #RubyOnRails
[15:31:38] sondr3: haha, yeah, figured as much

2016-05-19

[00:02:12] sondr3: Ping timeout: 276 seconds
[01:58:51] sondr3: has joined #ruby
[02:03:04] sondr3: Ping timeout: 240 seconds
[04:00:33] sondr3: has joined #ruby
[04:05:17] sondr3: Ping timeout: 260 seconds
[06:02:07] sondr3: has joined #ruby
[06:06:24] sondr3: Ping timeout: 260 seconds
[08:03:24] sondr3: has joined #ruby
[08:08:51] sondr3: Ping timeout: 276 seconds
[10:05:17] sondr3: has joined #ruby
[10:09:34] sondr3: Ping timeout: 240 seconds

2016-05-18

[21:56:27] sondr3: has joined #ruby

2016-04-11

[13:51:59] sondr3: has joined #ruby
[14:00:08] sondr3: Quit: Quit

2016-03-07

[00:57:07] sondr3: has joined #ruby
[01:01:50] sondr3: Ping timeout: 248 seconds
[02:58:56] sondr3: has joined #ruby
[03:03:12] sondr3: Ping timeout: 244 seconds

2016-03-06

[03:49:00] sondr3: has joined #ruby
[03:53:48] sondr3: Client Quit
[03:55:40] sondr3: has joined #ruby
[15:04:40] sondr3: Ping timeout: 264 seconds
[15:50:18] sondr3: has joined #ruby
[15:54:43] sondr3: Ping timeout: 248 seconds
[21:12:25] sondr3: has joined #ruby
[22:29:13] sondr3: Ping timeout: 240 seconds

2016-03-03

[01:04:47] sondr3: has joined #ruby
[05:15:10] sondr3: Ping timeout: 248 seconds
[21:56:48] sondr3: has joined #ruby
[22:01:54] sondr3: Ping timeout: 276 seconds

2016-02-29

[00:07:04] sondr3: has joined #ruby
[04:25:27] sondr3: Quit: Quit

2016-02-28

[00:57:32] sondr3: has joined #ruby
[05:23:02] sondr3: Ping timeout: 260 seconds

2016-02-25

[04:00:05] sondr3: has joined #ruby
[04:48:38] sondr3: Quit: Sleep

2016-02-23

[20:05:30] sondr3: has joined #ruby
[21:28:23] sondr3: Quit: Sleep

2016-02-21

[16:47:31] sondr3: Quit: Sleep

2016-02-19

[12:36:25] sondr3: has joined #ruby

2016-02-18

[01:41:01] sondr3: has joined #ruby
[03:44:27] sondr3: has left #ruby: ("Quit")

2016-02-17

[02:40:25] sondr3: Quit: Sleep

2016-02-16

[23:47:04] sondr3: has joined #ruby

2016-02-13

[16:45:00] sondr3: has joined #ruby
[21:09:22] sondr3: Quit: Sleep

2016-02-12

[02:37:27] sondr3: Quit: Sleep
[13:16:29] sondr3: has joined #ruby
[20:08:53] sondr3: Quit: Sleep

2015-12-03

[01:51:21] sondr3: Client Quit
[01:51:21] sondr3: has joined #ruby

2015-12-02

[00:06:48] sondr3: has joined #ruby
[02:16:30] sondr3: Quit: Sleep
[02:20:08] sondr3: has joined #ruby
[02:40:48] sondr3: Quit: Sleep
[12:17:06] sondr3: has joined #ruby
[13:09:28] sondr3: Quit: Sleep

2015-12-01

[22:33:41] sondr3: has joined #ruby
[22:39:59] sondr3: Quit: Quit

2015-11-22

[01:50:28] sondr3: Quit: Sleep
[14:02:56] sondr3: has joined #ruby
[17:57:27] sondr3: Quit: Sleep
[18:13:16] sondr3: has joined #ruby
[18:51:04] sondr3: Quit: Sleep

2015-11-21

[00:55:12] sondr3: Quit: Sleep
[16:11:29] sondr3: has joined #ruby
[21:25:12] sondr3: hello, newbie question: I'm trying to wrap my head around OptionParser but can't figure out how to send a name on an option to another function... here's my current progress: https://gist.github.com/sondr3/c4739d6e17a6efdea4ae. It works fine except it doesn't seem to trigger anything in the lib file. Anybody care to help me a bit? Sorry if I'm missing something obvious
[21:27:18] sondr3: well, I took most from the example I found on ruby-doc.org and modified it from there
[21:28:45] sondr3: oh, like that, yeah, I just ripped it out from the middle of everything, but since I just used the example on ruby-docs I figured that wasn't needed
[21:29:24] sondr3: it all works fine, except I can't figure out how to "get" the name in the cli.rb file
[21:30:27] sondr3: uh, yeah, that's what I can't figure out how to do, hehe, quite new to this
[21:33:20] sondr3: okay, thanks guys, I'll figure it out :)

2015-11-20

[16:46:44] sondr3: has joined #ruby

2015-01-10

[01:14:45] sondr3: hey, silly question, I'm playing around with making a gem and want to iterate over a few files in a templates folder (lib/scaffold) and I have a self.source_root set to that folder so doing copy_file "name", "name" works but anything like dir.foreach or dir.glob I haven't been able to get to work... any ideas?
[01:21:57] sondr3: yeah, I give it the directory it should enumerate but it gives me an "scaffold.rb:33:in `open': No such file or directory @ dir_initialize - ../../scaffold (Errno::ENOENT)" error, but if I just use the self.source_root and copy_file with the same "../../scaffold" it works fine
[02:02:00] sondr3: okay, maybe to clarify, how can I enumerate over files in a gem when trying to install it? It seems right now it just goes ../ down from where I am instead of inside the gems directories (which is what I want)
[02:15:35] sondr3: zenspider: https://gist.github.com/sondr3/76922596f42203f13bd2. I get it working if I uncomment the self.source_root and instead of using Dir.foreach just do copy_file manually for each file in the folder, but it's pretty cumbersome. Don't really know what makes it go tits up when I change it
[02:24:22] sondr3: uh, how would I check that?
[02:25:16] sondr3: ah, right, hang on
[02:29:48] sondr3: Okay, I get it to show the right directory by using "File.expand_path("../scaffold", File.dirname(__FILE__))", but then it just gives a "Could not find "config.yml" in any of your source paths. Please invoke Ikebana::Scaffold.source_root(PATH) with the PATH containing your templates. Currently you have no source paths."

2015-01-01

[18:12:52] sondr3: anyone know anything about Sinatra/Slim? I've been trying to learn it for two days now but every time I try to loop over an array in a slim file I keep getting an 'undefined methond `join' for #<String:lotsofnumbers>', anyone know what's up with it?
[21:00:52] sondr3: dumb question, I'm looping over an array with 'array_name.each do |things|' but there's an array inside of that array that'd I'd like to output nicely, right now it just prints the array and I haven't found any relevant answers while googling
[21:06:11] sondr3: atmosx_ bleh, nevermind, I figured it out myself, just a bad case of the dumb :)
[22:26:50] sondr3: okay, I'm back again, I have a class with a bunch of parameters and I'm wondering if it's possible to populate it from a JSON file? I have the code here in this gist: https://gist.github.com/sondr3/86f4c0c23703ca4e5898 but I haven't figured out how yet, you can see in the gist that I can fill it out manually but that'd be pretty cumbersome
[22:29:53] sondr3: thanks guys, I'll look at it, appreciate it
[22:31:07] sondr3: haha, I'm pretty new to programming and ruby and wanted to try to make a monopoly manager for fun with sinatra, challenging but fun, so it's nothing sophisticated
[22:31:40] sondr3: no worries
[22:33:59] sondr3: awesome, thank you
[22:35:03] sondr3: no worries, every other time I save something breaks, haha
[23:49:05] sondr3: lol godd2