00:00
Tearan has quit [Quit: Sleepy Badger....]
00:01
stardiviner has joined #ruby-lang
00:01
guns has joined #ruby-lang
00:06
anannie has quit [Read error: Connection reset by peer]
00:07
anannie has joined #ruby-lang
00:12
mrsolo has quit [Quit: Leaving]
00:14
swarley has joined #ruby-lang
00:15
flebel has quit [Ping timeout: 268 seconds]
00:16
flebel has joined #ruby-lang
00:19
ivanoats has quit [Remote host closed the connection]
00:22
lcdhoffman has quit [Quit: lcdhoffman]
00:31
<
pr0ton >
does ruby has a dir function like python ?
00:34
<
zenspider >
that's the object slot accessor method, iirc, right?
00:35
postmodern has quit [Ping timeout: 244 seconds]
00:38
gmci has quit [Quit: Computer has gone to sleep.]
00:43
RegEchse has quit [Quit: <3 WeeChat (v0.3.9-dev)]
00:46
lcdhoffman has joined #ruby-lang
00:49
jtoy has joined #ruby-lang
00:56
billyoc has quit [Remote host closed the connection]
00:58
postmodern has joined #ruby-lang
00:58
gmci has joined #ruby-lang
01:01
Dreamer3 has quit [Quit: Computer has gone to sleep.]
01:02
tenderlove has quit [Ping timeout: 272 seconds]
01:03
Dreamer3 has joined #ruby-lang
01:04
sandbags has quit [Remote host closed the connection]
01:06
<
epitron >
pr0ton: RUBY HAS SO MANY DIR FUNCTIONS IT'S NOT FUNNY
01:07
<
epitron >
except they're call called *methods
01:08
agile has quit [Read error: Connection reset by peer]
01:08
amaya_ has joined #ruby-lang
01:10
<
pr0ton >
wait not that dir
01:10
<
pr0ton >
i meant which lists the methods / instances for an object
01:10
<
pr0ton >
or a module
01:12
<
swarley >
pr0ton, from irb
01:12
<
swarley >
andd or pry
01:12
<
swarley >
you can do
01:13
<
swarley >
object.methods - Object.new.methods
01:13
<
swarley >
for a class/module you can do my_class.methods - Module.methods
01:14
<
swarley >
that will show the methods specific to that class/object
01:14
<
swarley >
and not everything that pertains to Object
01:17
sepp2k1 has quit [Read error: Connection reset by peer]
01:19
joooooo has quit [Read error: Connection reset by peer]
01:22
seanstickle has quit [Quit: seanstickle]
01:22
jackhammer2022 has joined #ruby-lang
01:23
igaiga has joined #ruby-lang
01:25
postmodern has quit [Ping timeout: 248 seconds]
01:25
gsav has quit [Quit: Lost terminal]
01:26
postmodern has joined #ruby-lang
01:26
igaiga has quit [Remote host closed the connection]
01:29
towski has quit [Ping timeout: 244 seconds]
01:30
setmeaway has joined #ruby-lang
01:32
cantonic_ has joined #ruby-lang
01:33
towski has joined #ruby-lang
01:35
jperry2 has quit [Quit: jperry2]
01:35
diegoviola has joined #ruby-lang
01:35
diegovio1a has joined #ruby-lang
01:35
diegoviola has joined #ruby-lang
01:36
cantonic has quit [Ping timeout: 264 seconds]
01:36
cantonic_ is now known as cantonic
01:41
mistym has quit [Remote host closed the connection]
01:41
jperry2 has joined #ruby-lang
01:41
havenn has quit [Remote host closed the connection]
01:48
mistym has joined #ruby-lang
01:52
havenn has joined #ruby-lang
01:59
anannie has quit [Read error: Connection reset by peer]
02:00
anannie has joined #ruby-lang
02:01
tenderlove has joined #ruby-lang
02:02
tenderlove has quit [Remote host closed the connection]
02:05
snorkdude has joined #ruby-lang
02:07
sandbags has joined #ruby-lang
02:07
sandbags has quit [Changing host]
02:07
sandbags has joined #ruby-lang
02:08
havenn has quit [Remote host closed the connection]
02:10
havenn has joined #ruby-lang
02:11
sandbags has quit [Ping timeout: 272 seconds]
02:11
wpaulson_ has joined #ruby-lang
02:12
igaiga has joined #ruby-lang
02:14
alvaro_o has quit [Quit: Ex-Chat]
02:14
anannie has quit [Read error: Connection reset by peer]
02:14
anannie has joined #ruby-lang
02:14
igaiga has quit [Remote host closed the connection]
02:15
setmeaway has quit [Ping timeout: 240 seconds]
02:15
justinmcp has quit [Remote host closed the connection]
02:17
setmeaway has joined #ruby-lang
02:17
xyzodiac has quit [Quit: Computer has gone to sleep.]
02:20
lcdhoffman has quit [Quit: lcdhoffman]
02:21
igaiga has joined #ruby-lang
02:23
wmoxam has joined #ruby-lang
02:23
justinmcp has joined #ruby-lang
02:28
anannie has quit [Read error: Connection reset by peer]
02:29
anannie has joined #ruby-lang
02:37
swarley has quit [Remote host closed the connection]
02:37
MrOnFireMr has joined #ruby-lang
02:38
swarley has joined #ruby-lang
02:39
xyzodiac has joined #ruby-lang
02:42
igaiga has quit [Ping timeout: 250 seconds]
02:44
towski has quit [Remote host closed the connection]
02:44
igaiga has joined #ruby-lang
02:44
igaiga has quit [Remote host closed the connection]
02:45
justinmcp has quit [Remote host closed the connection]
02:46
m3nd3s has quit [Remote host closed the connection]
02:46
towski has joined #ruby-lang
02:50
jtoy has quit [Quit: jtoy]
02:50
sush24 has joined #ruby-lang
02:54
wmoxam has quit [Ping timeout: 246 seconds]
02:56
anannie has quit [Read error: Connection reset by peer]
02:57
anannie has joined #ruby-lang
03:01
igaiga has joined #ruby-lang
03:04
wmoxam has joined #ruby-lang
03:06
havenn has quit [Remote host closed the connection]
03:14
codewrangler has joined #ruby-lang
03:17
anannie has quit [Read error: Connection reset by peer]
03:18
anannie has joined #ruby-lang
03:19
lsegal has joined #ruby-lang
03:23
swarley has quit [Ping timeout: 248 seconds]
03:25
igaiga has quit [Ping timeout: 250 seconds]
03:26
wmoxam has quit [Ping timeout: 246 seconds]
03:31
igaiga has joined #ruby-lang
03:33
nibbo has quit [Ping timeout: 260 seconds]
03:33
MrOnFireMr has quit [Ping timeout: 244 seconds]
03:37
towski has quit [Remote host closed the connection]
03:37
dreamhawk has quit [Ping timeout: 260 seconds]
03:38
swarley has joined #ruby-lang
03:39
nibbo has joined #ruby-lang
03:44
dreamhawk has joined #ruby-lang
03:44
Axsuul has quit [Ping timeout: 272 seconds]
03:45
Axsuul has joined #ruby-lang
03:53
postmodern has quit [Quit: Leaving]
03:55
sandbags has joined #ruby-lang
04:00
sandbags has quit [Ping timeout: 244 seconds]
04:02
wpaulson_ has joined #ruby-lang
04:04
gmci has quit [Quit: Computer has gone to sleep.]
04:06
ironcamel has quit [Quit: leaving]
04:09
amaya_ has quit [Read error: Connection reset by peer]
04:10
ironcamel has joined #ruby-lang
04:11
fbernier_ has joined #ruby-lang
04:12
pr0ton has quit [Remote host closed the connection]
04:12
fbernier_ has quit [Client Quit]
04:16
m8o1 has joined #ruby-lang
04:16
m8o1 has left #ruby-lang [#ruby-lang]
04:19
igaiga has quit [Remote host closed the connection]
04:23
tRAS has joined #ruby-lang
04:27
rippa has joined #ruby-lang
04:29
ReinH_ is now known as ReinH
04:30
igaiga has joined #ruby-lang
04:33
towski has joined #ruby-lang
04:35
anannie has quit [Read error: Connection reset by peer]
04:35
richardjburton has joined #ruby-lang
04:35
anannie has joined #ruby-lang
04:37
ruby-lang311 has joined #ruby-lang
04:41
zmack has joined #ruby-lang
04:42
anannie has quit [Read error: Connection reset by peer]
04:42
anannie has joined #ruby-lang
04:44
ruby-lang311 has quit [Ping timeout: 245 seconds]
04:45
jackhammer2022 has quit [Read error: Connection reset by peer]
04:51
zmack has quit [Remote host closed the connection]
04:52
gsav has joined #ruby-lang
04:52
dhruvasagar has joined #ruby-lang
04:53
snorkdude has quit [Remote host closed the connection]
04:53
wpaulson_ has joined #ruby-lang
05:01
gsav has quit [Ping timeout: 244 seconds]
05:01
ivanoats has joined #ruby-lang
05:03
ivanoats has quit [Remote host closed the connection]
05:04
anannie has quit [Read error: Connection reset by peer]
05:04
anannie has joined #ruby-lang
05:05
gsav has joined #ruby-lang
05:14
igaiga has quit [Remote host closed the connection]
05:14
ivanoats has joined #ruby-lang
05:14
dhruvasagar has quit [Ping timeout: 252 seconds]
05:16
deryl has quit [Quit: Leaving.]
05:19
richardjburton has quit [Quit: Computer has gone to sleep.]
05:22
gsav has quit [Read error: Connection reset by peer]
05:23
igaiga has joined #ruby-lang
05:25
wyhaines has joined #ruby-lang
05:34
sharkbait has joined #ruby-lang
05:34
anannie has quit [Read error: Connection reset by peer]
05:34
anannie has joined #ruby-lang
05:42
dfr|mac has joined #ruby-lang
05:43
sandbags has joined #ruby-lang
05:44
^sandbags^ has joined #ruby-lang
05:46
ivanoats has quit [Remote host closed the connection]
05:49
sandbags has quit [Ping timeout: 272 seconds]
05:54
anannie has quit [Read error: Connection reset by peer]
05:54
rippa has quit [Ping timeout: 246 seconds]
05:54
snorkdude has joined #ruby-lang
05:54
anannie has joined #ruby-lang
05:55
swarley has quit [Ping timeout: 244 seconds]
06:10
facest has quit [Ping timeout: 260 seconds]
06:11
dfr|mac has quit [Remote host closed the connection]
06:11
ilyam has quit [Quit: ilyam]
06:12
robbyoconnor has joined #ruby-lang
06:15
Bosox20051 has joined #ruby-lang
06:15
xyzodiac has quit [Quit: Computer has gone to sleep.]
06:16
anannie has quit [Read error: Connection reset by peer]
06:17
anannie has joined #ruby-lang
06:22
snorkdude has quit [Remote host closed the connection]
06:23
snorkdude has joined #ruby-lang
06:23
anannie has quit [Read error: Connection reset by peer]
06:24
anannie has joined #ruby-lang
06:28
diegoviola has quit [Quit: leaving]
06:32
diegovio1a has quit [Ping timeout: 252 seconds]
06:35
igaiga has quit [Remote host closed the connection]
06:38
s1n4 has joined #ruby-lang
06:41
igaiga has joined #ruby-lang
06:44
anannie has quit [Read error: Connection reset by peer]
06:45
anannie has joined #ruby-lang
06:48
yxhuvud has joined #ruby-lang
06:51
anannie has quit [Read error: Connection reset by peer]
06:52
wyhaines has quit [Remote host closed the connection]
06:52
anannie has joined #ruby-lang
06:55
charliesome has joined #ruby-lang
06:56
ivanoats has joined #ruby-lang
06:56
ilyam has joined #ruby-lang
06:58
amaya_ has joined #ruby-lang
07:00
ivanoats has quit [Ping timeout: 244 seconds]
07:01
jtoy has joined #ruby-lang
07:01
robbyoconnor has quit [Quit: Konversation terminated!]
07:01
robbyoconnor has joined #ruby-lang
07:04
justinmcp has joined #ruby-lang
07:05
ilyam has quit [Quit: ilyam]
07:11
jxie has quit [Read error: Connection reset by peer]
07:11
jxie has joined #ruby-lang
07:12
jtoy has quit [Quit: jtoy]
07:14
toretore has joined #ruby-lang
07:15
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
07:20
postmodern has joined #ruby-lang
07:20
Madis has joined #ruby-lang
07:21
postmodern has quit [Read error: Connection reset by peer]
07:21
igaiga_ has joined #ruby-lang
07:21
postmodern has joined #ruby-lang
07:21
postmodern has quit [Read error: Connection reset by peer]
07:21
snorkdude has quit [Remote host closed the connection]
07:23
igaiga has quit [Ping timeout: 244 seconds]
07:24
^sandbags^ has quit [Remote host closed the connection]
07:25
sush24 has quit [Quit: This computer has gone to sleep]
07:25
postmodern has joined #ruby-lang
07:29
sush24 has joined #ruby-lang
07:31
ryanf has quit [Quit: leaving]
07:32
sush24 has quit [Client Quit]
07:32
ryanf has joined #ruby-lang
07:36
postmodern has quit [Ping timeout: 240 seconds]
07:36
sush24 has joined #ruby-lang
07:36
Fullmoon has joined #ruby-lang
07:37
robbyoconnor has quit [Quit: Konversation terminated!]
07:42
anannie has quit [Read error: Connection reset by peer]
07:42
anannie has joined #ruby-lang
07:43
Fullmoon has quit [Quit: Fullmoon]
07:48
mytrile has joined #ruby-lang
07:49
ryanf has quit [Quit: leaving]
07:50
cantonic has quit [Quit: cantonic]
07:56
tRAS has quit [Quit: Mother, did it need to be so high?]
08:01
igaiga_ has quit [Remote host closed the connection]
08:01
igaiga has joined #ruby-lang
08:02
s1n4 has quit [Quit: leaving]
08:03
s1n4 has joined #ruby-lang
08:07
s1n4 has quit [Client Quit]
08:07
sharkbait is now known as Guest504
08:07
s1n4 has joined #ruby-lang
08:11
amaya_ has quit [Quit: ChatZilla 0.9.88.2 [Firefox 15.0.1/20120905151427]]
08:11
amaya_ has joined #ruby-lang
08:14
whyme1 has joined #ruby-lang
08:19
Guest504 has quit [Ping timeout: 245 seconds]
08:19
dhruvasagar has joined #ruby-lang
08:22
guns has quit [Quit: guns]
08:23
tRAS has joined #ruby-lang
08:26
dhruvasagar has quit [Ping timeout: 240 seconds]
08:26
anannie has quit [Read error: Connection reset by peer]
08:26
anannie has joined #ruby-lang
08:28
guns has joined #ruby-lang
08:32
justinmcp has quit [Remote host closed the connection]
08:35
justinmcp has joined #ruby-lang
08:37
sandbags has joined #ruby-lang
08:37
sandbags has quit [Changing host]
08:37
sandbags has joined #ruby-lang
08:39
guns has quit [Ping timeout: 244 seconds]
08:41
sandbags has quit [Ping timeout: 272 seconds]
08:49
savage- has joined #ruby-lang
08:52
ar_ has joined #ruby-lang
08:55
towski has quit [Ping timeout: 252 seconds]
08:55
workmad3 has joined #ruby-lang
08:57
goshakkk has joined #ruby-lang
08:57
savage- has quit [Remote host closed the connection]
09:00
tRAS has quit [Ping timeout: 272 seconds]
09:00
tRAS has joined #ruby-lang
09:06
wallerdev has quit [Quit: wallerdev]
09:06
savage- has joined #ruby-lang
09:13
justinmcp has quit [Remote host closed the connection]
09:14
nibbo has quit [Ping timeout: 252 seconds]
09:14
nibbo has joined #ruby-lang
09:17
justinmcp has joined #ruby-lang
09:19
mytrile has quit [Read error: Connection reset by peer]
09:25
igaiga_ has joined #ruby-lang
09:25
igaiga_ has quit [Remote host closed the connection]
09:25
savage- has quit [Remote host closed the connection]
09:26
tRAS has quit [Quit: Mother, did it need to be so high?]
09:27
igaiga has quit [Read error: Operation timed out]
09:30
sandbags has joined #ruby-lang
09:30
sandbags has quit [Changing host]
09:30
sandbags has joined #ruby-lang
09:30
sandbags has quit [Remote host closed the connection]
09:30
sandbags has joined #ruby-lang
09:30
sandbags has quit [Changing host]
09:30
sandbags has joined #ruby-lang
09:32
voker57 has quit [Remote host closed the connection]
09:49
goshakkk has quit [Quit: Computer has gone to sleep.]
09:51
charliesome has quit [Remote host closed the connection]
09:52
charliesome has joined #ruby-lang
09:54
sush24 has quit [Quit: This computer has gone to sleep]
09:54
justinmcp has quit [Remote host closed the connection]
09:56
voker57 has joined #ruby-lang
09:56
voker57 has quit [Changing host]
09:56
voker57 has joined #ruby-lang
10:00
hhatch has joined #ruby-lang
10:01
anannie has quit [Read error: Connection reset by peer]
10:01
goshakkk has joined #ruby-lang
10:01
anannie has joined #ruby-lang
10:02
whyme1 has quit [Quit: WeeChat 0.3.8]
10:11
x0F has quit [Disconnected by services]
10:11
x0F_ has joined #ruby-lang
10:12
x0F_ is now known as x0F
10:12
cantonic has joined #ruby-lang
10:13
anannie has quit [Read error: Connection reset by peer]
10:14
goshakkk has quit [Ping timeout: 244 seconds]
10:14
anannie has joined #ruby-lang
10:21
anannie has quit [Read error: Connection reset by peer]
10:21
anannie has joined #ruby-lang
10:24
inokenty has left #ruby-lang [#ruby-lang]
10:29
anannie has quit [Read error: Connection reset by peer]
10:29
anannie has joined #ruby-lang
10:36
savage- has joined #ruby-lang
10:37
anannie has quit [Read error: Connection reset by peer]
10:38
anannie has joined #ruby-lang
10:40
unsymbol has joined #ruby-lang
10:40
unsymbol has left #ruby-lang [#ruby-lang]
10:44
savage- has quit [Ping timeout: 272 seconds]
10:45
rue|w has joined #ruby-lang
10:49
anannie has quit [Read error: Connection reset by peer]
10:49
anannie has joined #ruby-lang
10:54
gsav has joined #ruby-lang
10:54
ivanoats has joined #ruby-lang
10:54
ivanoats has quit [Changing host]
10:54
ivanoats has joined #ruby-lang
10:56
gsav has quit [Read error: Connection reset by peer]
10:57
goshakkk has joined #ruby-lang
10:59
ivanoats has quit [Ping timeout: 252 seconds]
11:07
amaya_ has quit [Read error: Connection reset by peer]
11:15
anannie has quit [Read error: Connection reset by peer]
11:16
anannie has joined #ruby-lang
11:16
bipin has joined #ruby-lang
11:17
bipin has left #ruby-lang [#ruby-lang]
11:18
voker57 has quit [Read error: Connection reset by peer]
11:20
s1n4 has quit [Ping timeout: 255 seconds]
11:21
sepp2k has joined #ruby-lang
11:22
s1n4 has joined #ruby-lang
11:25
RegEchse has joined #ruby-lang
11:26
jbsan has quit [Read error: Connection reset by peer]
11:33
amaya_ has joined #ruby-lang
11:34
diegoviola has joined #ruby-lang
11:41
gmci has joined #ruby-lang
11:44
goshakkk has quit [Quit: Computer has gone to sleep.]
11:46
chessguy has quit [Remote host closed the connection]
11:53
justinmcp has joined #ruby-lang
11:56
faces has joined #ruby-lang
11:58
seanstickle has joined #ruby-lang
11:59
goshakkk has joined #ruby-lang
12:03
lcdhoffman has joined #ruby-lang
12:14
tRAS has joined #ruby-lang
12:15
anannie has quit [Read error: Connection reset by peer]
12:15
anannie has joined #ruby-lang
12:23
benanne has joined #ruby-lang
12:28
deryl has joined #ruby-lang
12:31
Axsuul has quit [Ping timeout: 248 seconds]
12:40
sush24 has joined #ruby-lang
12:49
jxie has quit [Quit: leaving]
12:51
wpaulson_ has joined #ruby-lang
12:51
justinmcp has quit [Ping timeout: 244 seconds]
12:51
wpaulson_ has quit [Client Quit]
12:53
Virunga has joined #ruby-lang
12:56
kitallis has joined #ruby-lang
12:56
<
kitallis >
steveklabnik: there?
12:58
justinmcp has joined #ruby-lang
13:00
justinmcp has quit [Remote host closed the connection]
13:03
anannie has quit [Read error: Connection reset by peer]
13:03
Virunga has quit [Quit: Sto andando via]
13:04
anannie has joined #ruby-lang
13:10
tRAS has quit [Ping timeout: 255 seconds]
13:16
ddfreyne has quit [Quit: Terminated with extreme prejudice - dircproxy 1.0.5]
13:17
ddfreyne has joined #ruby-lang
13:17
dous has quit [Remote host closed the connection]
13:19
dous has joined #ruby-lang
13:19
dous has quit [Changing host]
13:19
dous has joined #ruby-lang
13:20
seanstickle has quit [Quit: seanstickle]
13:20
tRAS has joined #ruby-lang
13:20
jperry2 has quit [Quit: jperry2]
13:22
<
steveklabnik >
kitallis: whats up?
13:25
Raduwen has quit [Ping timeout: 272 seconds]
13:25
<
kitallis >
steveklabnik: I just moved to 3.2.8, draper from 0.12 to latest
13:26
<
kitallis >
steveklabnik: accessing h.current_user (or any other controller method) in my rspecs, gives me this: ActionController::Metal#session delegated to @_request.session, but @_request is nil
13:26
<
steveklabnik >
hmm.
13:26
<
steveklabnik >
that is very odd
13:27
<
steveklabnik >
i have never seen taht particular error
13:27
<
kitallis >
this is only blowing up on specs
13:27
<
steveklabnik >
right
13:27
<
steveklabnik >
first of all
13:27
<
steveklabnik >
do you still have that setup block
13:27
<
steveklabnik >
that we used to require?
13:28
Jake232 has joined #ruby-lang
13:28
<
kitallis >
I never had any setup block
13:28
<
steveklabnik >
okay.
13:28
<
steveklabnik >
is supposed to make this work
13:28
<
steveklabnik >
basically
13:29
<
steveklabnik >
can you file an Issue, please?
13:29
<
steveklabnik >
i can't look at this right this second. i'm at a conf and i just broke the build on rails/rails ;)
13:29
rue|w has quit [Remote host closed the connection]
13:29
<
steveklabnik >
i will try to check it out as soon as i can.
13:29
<
steveklabnik >
any info about your app would be useful
13:29
<
kitallis >
oh, wait, let me be clearer. this is a regular controller spec, making a post to create which in turn makes a Draper object (where it fails)
13:30
<
kitallis >
(i.e. it is not a draper spec)
13:30
<
steveklabnik >
sure
13:30
<
steveklabnik >
it shouldnt matter.
13:30
<
kitallis >
(if that makes any difference)
13:30
<
steveklabnik >
:) (but also :( )
13:31
<
kitallis >
right, I had a look at that
13:31
<
kitallis >
I think I tried Draper::ViewContext.current as well
13:31
codewrangler has joined #ruby-lang
13:31
<
kitallis >
(I'll file an issue either way)
13:32
<
kitallis >
I'm using parens too much
13:32
<
steveklabnik >
it's all good
13:33
lcdhoffman has quit [Quit: lcdhoffman]
13:33
m3nd3s has joined #ruby-lang
13:37
sush24 has quit [Quit: This computer has gone to sleep]
13:38
<
kitallis >
right, so, h and Draper::ViewContext.current have the same nil'd objects
13:39
burgestrand has joined #ruby-lang
13:39
<
steveklabnik >
h IS D::VC.current
13:40
<
kitallis >
yeah, was confirming state
13:41
<
kitallis >
<-- boring debugger
13:42
<
steveklabnik >
boring is good!
13:42
<
steveklabnik >
this stuff is awkward
13:42
<
steveklabnik >
because rails doesnt provide an api into it
13:42
jperry2 has joined #ruby-lang
13:42
<
steveklabnik >
once i get it working, i can make rails expose this stuff proper
13:43
tRAS has quit [Ping timeout: 245 seconds]
13:43
tRAS has joined #ruby-lang
13:44
codewrangler has joined #ruby-lang
13:48
anannie has quit [Read error: Connection reset by peer]
13:48
anannie has joined #ruby-lang
13:52
xyzodiac has joined #ruby-lang
13:52
tRAS has quit [Ping timeout: 244 seconds]
13:54
tRAS has joined #ruby-lang
13:57
publicvoid_ has quit [Ping timeout: 246 seconds]
13:59
publicvoid_ has joined #ruby-lang
14:02
goshakkk has joined #ruby-lang
14:10
zmack has joined #ruby-lang
14:10
chris2 has quit [Ping timeout: 246 seconds]
14:12
wyhaines has joined #ruby-lang
14:13
goshakkk has quit [Quit: Computer has gone to sleep.]
14:15
chris2 has joined #ruby-lang
14:16
workmad3 has quit [Ping timeout: 240 seconds]
14:16
<
kitallis >
(also, sorry, I meant latest stable 0.17 and not master)
14:16
<
kitallis >
that ActionController stuff is blowing up on 0.17, the above blows up on master
14:17
sush24 has joined #ruby-lang
14:19
tRAS has quit [Ping timeout: 260 seconds]
14:22
tRAS has joined #ruby-lang
14:28
icooba has joined #ruby-lang
14:28
icooba has quit [Excess Flood]
14:28
icooba has joined #ruby-lang
14:29
icooba has quit [Excess Flood]
14:29
icooba has joined #ruby-lang
14:30
ivanoats has joined #ruby-lang
14:30
ivanoats has quit [Changing host]
14:30
ivanoats has joined #ruby-lang
14:31
wyhaines has quit [Remote host closed the connection]
14:33
s1n4 has quit [Ping timeout: 246 seconds]
14:33
enebo has joined #ruby-lang
14:39
rue|w has joined #ruby-lang
14:43
chris2_ has joined #ruby-lang
14:44
rue|w has quit [Ping timeout: 244 seconds]
14:45
chris2 has quit [Ping timeout: 244 seconds]
14:46
anannie has quit [Read error: Connection reset by peer]
14:47
anannie has joined #ruby-lang
14:47
gsav has joined #ruby-lang
14:50
lcdhoffman has joined #ruby-lang
14:50
zmack has quit [Remote host closed the connection]
14:51
dous has quit [Remote host closed the connection]
14:56
jxie has joined #ruby-lang
14:57
chris2 has joined #ruby-lang
15:01
chris2 has quit [Ping timeout: 268 seconds]
15:02
chris2 has joined #ruby-lang
15:03
chris2 has quit [Client Quit]
15:03
publicvoid_ has quit [Ping timeout: 240 seconds]
15:03
chris2_ is now known as chris2
15:03
ivanoats has quit [Remote host closed the connection]
15:05
amaya_ has quit [Quit: ChatZilla 0.9.88.2 [Firefox 15.0.1/20120905151427]]
15:05
Austin__ has joined #ruby-lang
15:05
Austin__ has quit [Client Quit]
15:06
retro|cz has quit [Ping timeout: 265 seconds]
15:10
ryanf has joined #ruby-lang
15:12
workmad3 has joined #ruby-lang
15:15
publicvoid_ has joined #ruby-lang
15:19
dous has joined #ruby-lang
15:19
dous has quit [Changing host]
15:19
dous has joined #ruby-lang
15:29
Hakon has quit [Quit: Leaving...]
15:31
MrOnFireMr has joined #ruby-lang
15:34
<
whitequark >
I'd say that discoveries.* is implied
15:35
<
Jake232 >
whitequark: without it, It doesn't work
15:36
<
whitequark >
well, with it it doesn't work either
15:36
<
Jake232 >
Actually, it kinda does, but it's really messed up. I got my query working now
15:37
codewrangler has joined #ruby-lang
15:37
<
Jake232 >
in my method I'm getting' undefined method `>' for #<ActiveSupport::OrderedHash:0x007fcbed013608>'
15:37
kristofferrr has joined #ruby-lang
15:37
<
Jake232 >
however if after the query, I add 'p @discoveries'. That error then never occurs
15:37
m3nd3s has quit [Remote host closed the connection]
15:37
<
Jake232 >
how can printing it stop that error occuring
15:39
MrOnFireMr has quit [Ping timeout: 264 seconds]
15:39
<
whitequark >
no idea
15:40
<
Jake232 >
Damn I may just stick with the unoptimized queries
15:40
<
Jake232 >
I just don't like hitting the DB with 100 queries, even though they only take 0.2ms each
15:40
<
whitequark >
well, you could easily turn that query in two
15:41
<
whitequark >
ah, no
15:41
snorkdude has joined #ruby-lang
15:42
<
Jake232 >
The old syntax works, but then I can't add to it because it doesn't return a activerecord proxy / relation / whatever it returns
15:43
<
Jake232 >
I need to be able to use search_for(), paginate() etc on it
15:46
<
Jake232 >
Got it working, perfect
15:46
<
Jake232 >
thanks for the help guys
15:46
<
whitequark >
could you share the result?
15:46
<
whitequark >
I'm curious
15:47
<
whitequark >
how would you access the resulting related_keywords_count?
15:48
<
Jake232 >
@discovieres.first.related_keywords_count
15:48
<
whitequark >
aaand what's in the model?
15:48
<
Jake232 >
What do you mean?
15:49
<
whitequark >
well, AR doesn't create accessors for fields not in schema, does it?
15:49
<
Jake232 >
The array is full of results exactly the same as if I had gone Discovery.find(1), but it also now has the related_keywords_count attribute
15:50
<
Jake232 >
whitequark: it is making one for related_keywords_count
15:50
<
whitequark >
cool. I didn't know it does this
15:51
<
Jake232 >
I would have thought there would have been a nicer interface to grab the count of a relation
15:52
<
Jake232 >
rather than having to do the join and grouping manually
15:52
<
Jake232 >
It seems like a fairly common thing
15:52
<
Jake232 >
I'm guessing there probably is a better way to do this
15:57
wyhaines has joined #ruby-lang
15:59
jperry2 has quit [Quit: jperry2]
16:00
kristofferrr has quit [Quit: ❤]
16:02
_malte has joined #ruby-lang
16:11
wmoxam has joined #ruby-lang
16:11
workmad3 has quit [Ping timeout: 240 seconds]
16:12
lsegal has joined #ruby-lang
16:13
RegEchse has quit [Quit: <3 WeeChat (v0.3.9-dev)]
16:14
ivanoats has joined #ruby-lang
16:14
ivanoats has quit [Changing host]
16:14
ivanoats has joined #ruby-lang
16:15
wallerdev has joined #ruby-lang
16:18
ivanoats has quit [Ping timeout: 246 seconds]
16:24
Virunga has joined #ruby-lang
16:27
weeb1e has quit [Quit: No Ping reply in 180 seconds.]
16:27
weeb1e has joined #ruby-lang
16:32
urbanmonk has joined #ruby-lang
16:33
dfr|mac has joined #ruby-lang
16:34
wallerdev has quit [Quit: wallerdev]
16:36
ivanoats has joined #ruby-lang
16:36
ivanoats has quit [Changing host]
16:36
ivanoats has joined #ruby-lang
16:36
sepp2k1 has joined #ruby-lang
16:37
codewrangler has joined #ruby-lang
16:38
sepp2k has quit [Ping timeout: 272 seconds]
16:42
goshakkk has joined #ruby-lang
16:44
burgestrand has quit [Quit: Leaving.]
16:45
burgestrand has joined #ruby-lang
16:46
dfr|mac has quit [Remote host closed the connection]
16:47
anannie has quit [Read error: Connection reset by peer]
16:47
anannie has joined #ruby-lang
16:54
ruby-lang355 has joined #ruby-lang
16:58
wmoxam_ has joined #ruby-lang
17:02
fromhet has joined #ruby-lang
17:04
<
fromhet >
This question is about the ruby based framework Jekyll, so I'm sorry for being a tad OT but I think I have tried everything. I have a file named index.html, and in it I have this for loop
http://pastie.org/4726213 . It gives no results, and I can't find out where to start troubleshooting it. Have you had any problem like this? It seems like it cant find site.posts.
17:04
goshakkk has quit [Quit: Computer has gone to sleep.]
17:07
ruby-lang355 has quit [Quit: Page closed]
17:07
savage- has joined #ruby-lang
17:11
crackity_jones has joined #ruby-lang
17:15
Bosox20051 has quit [Quit: Leaving]
17:15
Bosox20051 has joined #ruby-lang
17:15
dhruvasagar has joined #ruby-lang
17:15
<
rue >
fromhet: It produces the file correctly otherwise?
17:16
<
rue >
fromhet: You have the YAML preamble and so on?
17:18
<
fromhet >
rue: Thank you for helping me troubleshoot, I really am lost. Yes, it does. It also shows page.title and site.time and other things correctly. If you mean the ---\ntitle:title\ntags:etc\n--- (with newlines instead of \n), yes I do.
17:21
<
rue >
Hmh. Don’t remember if there’re any tricks. Try just printing site.posts.inspect rather than the loop
17:23
<
fromhet >
rue: that returns nothing, just as before
17:28
snorkdude has quit [Remote host closed the connection]
17:30
nXqd has joined #ruby-lang
17:30
urbanmonk has quit [Ping timeout: 244 seconds]
17:35
Virunga has quit [Quit: Sto andando via]
17:36
goshakkk has joined #ruby-lang
17:36
wallerdev has joined #ruby-lang
17:39
enebo has quit [Quit: enebo]
17:46
billyoc has joined #ruby-lang
17:51
dhruvasagar has quit [Remote host closed the connection]
17:56
wallerdev has quit [Quit: wallerdev]
17:57
wallerdev has joined #ruby-lang
18:03
kvirani has joined #ruby-lang
18:03
savage- has quit [Remote host closed the connection]
18:09
Jake232 has quit [Quit: Computer has gone to sleep.]
18:11
sush24 has quit [Ping timeout: 272 seconds]
18:12
ivanoats has quit [Remote host closed the connection]
18:13
bousquet has joined #ruby-lang
18:15
siames3e2in has joined #ruby-lang
18:15
siames3e2in has left #ruby-lang [#ruby-lang]
18:28
wpaulson has joined #ruby-lang
18:28
wallerdev has quit [Quit: wallerdev]
18:28
seanstickle has joined #ruby-lang
18:29
hhatch has quit [Quit: leaving]
18:32
towski has joined #ruby-lang
18:34
savage- has joined #ruby-lang
18:34
<
kitallis >
steveklabnik: also, I'm having to include url_helpers on 0.17 to get _path
18:35
<
kitallis >
otherwise, I get that host error (which seems to be closed issue)
18:42
wpaulson has joined #ruby-lang
18:46
workmad3 has joined #ruby-lang
18:46
s1n4 has joined #ruby-lang
18:46
Tearan has joined #ruby-lang
18:47
s1n4 has quit [Client Quit]
18:47
savage- has quit [Remote host closed the connection]
18:49
spuk has quit [Changing host]
18:49
spuk has joined #ruby-lang
18:52
retro|cz has joined #ruby-lang
18:54
wallerdev has joined #ruby-lang
18:56
workmad3 has quit [Ping timeout: 240 seconds]
18:57
jperry2 has joined #ruby-lang
19:01
markov_twain has joined #ruby-lang
19:05
markov_twain has quit [Ping timeout: 245 seconds]
19:15
gentz has quit [Remote host closed the connection]
19:18
savage- has joined #ruby-lang
19:19
pr0ton_ has joined #ruby-lang
19:27
cantonic has quit [Quit: cantonic]
19:28
Axsuul has joined #ruby-lang
19:28
hramrach has left #ruby-lang ["WeeChat 0.3.2"]
19:34
fromhet has quit [Quit: fromhet]
19:34
tomzx_ has joined #ruby-lang
19:35
cantonic has joined #ruby-lang
19:38
seanstickle has quit [Quit: seanstickle]
19:39
tomzx_ has quit [Ping timeout: 272 seconds]
19:40
thone_ has joined #ruby-lang
19:41
crackity_jones has quit [Quit: Computer has gone to sleep.]
19:43
thone has quit [Ping timeout: 246 seconds]
19:44
workmad3 has joined #ruby-lang
19:46
xyzodiac has quit [Quit: Computer has gone to sleep.]
19:46
savage- has quit [Ping timeout: 272 seconds]
19:47
crackity_jones has joined #ruby-lang
19:49
crackity_jones has quit [Client Quit]
19:55
diegoviola has quit [Ping timeout: 246 seconds]
19:56
lcdhoffman has quit [Quit: lcdhoffman]
20:00
billyoc has quit [Remote host closed the connection]
20:11
Tearan has quit [Quit: Sleepy Badger....]
20:15
snorkdude has joined #ruby-lang
20:15
jperry2 has quit [Quit: jperry2]
20:19
Tearan has joined #ruby-lang
20:20
snorkdude has quit [Remote host closed the connection]
20:24
jperry2 has joined #ruby-lang
20:24
jperry2 has quit [Client Quit]
20:28
cantonic has quit [Quit: cantonic]
20:36
ar_ has quit [Read error: Connection timed out]
20:36
outoftime has joined #ruby-lang
20:44
savage- has joined #ruby-lang
20:49
lcdhoffman has joined #ruby-lang
20:54
workmad3 has quit [Ping timeout: 255 seconds]
21:03
jarib has quit [Excess Flood]
21:04
jarib has joined #ruby-lang
21:06
TTilus has quit [Read error: Operation timed out]
21:06
TTilus has joined #ruby-lang
21:13
savage- has quit [Remote host closed the connection]
21:14
icooba has quit [Quit: Computer has gone to sleep.]
21:20
Jake232 has joined #ruby-lang
21:21
sychedelix has joined #ruby-lang
21:21
lcdhoffman has quit [Quit: lcdhoffman]
21:21
wyhaines has quit [Remote host closed the connection]
21:22
RegEchse has joined #ruby-lang
21:23
sychedelix has left #ruby-lang [#ruby-lang]
21:24
sandbags has quit [Remote host closed the connection]
21:28
Asher has quit [Read error: Connection reset by peer]
21:29
Asher has joined #ruby-lang
21:29
tRAS has quit [Quit: Mother, did it need to be so high?]
21:29
faces has quit [Read error: Connection reset by peer]
21:29
facest has joined #ruby-lang
21:30
jmeeuwen has quit [Read error: Connection reset by peer]
21:31
jmeeuwen has joined #ruby-lang
21:32
crackity_jones has joined #ruby-lang
21:32
LanceHaig has joined #ruby-lang
21:36
krusaider has joined #ruby-lang
21:47
towski has quit [Remote host closed the connection]
21:49
krusaider has left #ruby-lang [#ruby-lang]
21:51
Tearan has quit [Quit: Sleepy Badger....]
21:52
Erlkoenig has joined #ruby-lang
21:57
postmodern has joined #ruby-lang
21:58
Jake232 has quit [Quit: Computer has gone to sleep.]
22:00
<
Erlkoenig >
"class.new do" is exactly the same as "class", just with the exception that it doesn't get a name, right?
22:01
<
Erlkoenig >
err, "Class.new do"
22:06
Asher has quit [Read error: Connection reset by peer]
22:07
Asher has joined #ruby-lang
22:11
_malte has quit [Remote host closed the connection]
22:15
tonni has quit [Remote host closed the connection]
22:21
brianpWins has joined #ruby-lang
22:22
toretore has quit [Quit: Leaving]
22:24
nXqd has quit [Ping timeout: 264 seconds]
22:24
macmartine has joined #ruby-lang
22:29
benanne has quit [Quit: kbai]
22:32
<
ryanf >
Erlkoenig: I think Class.new also preserves the local scope surrounding it, whereas the class statement doesn't
22:35
savage- has joined #ruby-lang
22:39
goshakkk has quit [Quit: Computer has gone to sleep.]
22:39
outoftime has quit [Quit: Leaving]
22:40
savage- has quit [Ping timeout: 244 seconds]
22:43
mistym has quit [Remote host closed the connection]
22:43
outoftime has joined #ruby-lang
22:48
RegEchse has quit [Quit: <3 WeeChat (v0.3.9-dev)]
22:59
SuperTaz_ has joined #ruby-lang
23:02
SuperTaz has quit [Ping timeout: 260 seconds]
23:05
Jake232 has joined #ruby-lang
23:08
wyhaines has joined #ruby-lang
23:12
macmartine has quit [Quit: Computer has gone to sleep.]
23:18
brianpWins has quit [Quit: brianpWins]
23:20
macmartine has joined #ruby-lang
23:43
zz_chrismcg is now known as chrismcg
23:49
xyzodiac has joined #ruby-lang
23:53
Erlkoenig has quit [Quit: Leaving.]
23:59
Madis has quit [Remote host closed the connection]