00:07
drincruz_ has quit [Ping timeout: 272 seconds]
01:09
drincruz_ has joined #ruby
01:12
ur5us has quit [Ping timeout: 240 seconds]
01:14
drincruz_ has quit [Ping timeout: 252 seconds]
01:17
postmodern has joined #ruby
01:33
ur5us has joined #ruby
02:01
lunarkitty has joined #ruby
02:07
ikeaviking has joined #ruby
02:27
Rounin has quit [Ping timeout: 252 seconds]
02:50
ikeaviking has joined #ruby
03:10
drincruz_ has joined #ruby
03:12
ua_ has quit [Ping timeout: 265 seconds]
03:13
ua_ has joined #ruby
03:15
drincruz_ has quit [Ping timeout: 272 seconds]
03:22
ua_ has quit [Ping timeout: 272 seconds]
03:23
ua_ has joined #ruby
03:24
ua_ has quit [Remote host closed the connection]
03:28
ua_ has joined #ruby
03:44
jmcgnh has quit [Changing host]
03:44
jmcgnh has joined #ruby
04:11
aighearach has quit [Quit: Leaving]
04:11
aighearach_ has joined #ruby
04:15
aighearach_ has quit [Changing host]
04:15
aighearach_ has joined #ruby
04:15
aighearach_ is now known as aighearach
04:38
lzap has joined #ruby
04:39
belmont has joined #ruby
04:39
belmont has left #ruby [#ruby]
04:44
ur5us has quit [Ping timeout: 240 seconds]
04:50
belmont_ has joined #ruby
04:50
belmont_ has left #ruby [#ruby]
05:01
integral has quit [*.net *.split]
05:01
Liothen has quit [*.net *.split]
05:01
seisatsu has quit [*.net *.split]
05:01
seisatsu_ has joined #ruby
05:01
integral_ has joined #ruby
05:01
Liothen has joined #ruby
05:06
miah has quit [*.net *.split]
05:06
leftylink has quit [*.net *.split]
05:06
cout has quit [*.net *.split]
05:06
jtperreault has quit [*.net *.split]
05:06
robotmay has quit [*.net *.split]
05:06
bougyman has quit [*.net *.split]
05:06
legit has quit [*.net *.split]
05:06
Fridtjof has quit [*.net *.split]
05:06
Hobbyboy has quit [*.net *.split]
05:06
cout_ has joined #ruby
05:06
robotmay has joined #ruby
05:06
Hobbyboy|BNC has joined #ruby
05:06
miah has joined #ruby
05:06
jtperreault has joined #ruby
05:06
leftylink has joined #ruby
05:06
bougyman_ has joined #ruby
05:07
Fridtjof has joined #ruby
05:10
Hobbyboy|BNC is now known as Hobbyboy
05:11
jetchisel has joined #ruby
05:11
nyuszika7h has quit [*.net *.split]
05:11
shrub has quit [*.net *.split]
05:11
DEac- has quit [*.net *.split]
05:11
yxhuvud has quit [*.net *.split]
05:11
rubin55 has quit [*.net *.split]
05:11
simao has quit [*.net *.split]
05:11
itok has quit [*.net *.split]
05:11
hwrd has quit [*.net *.split]
05:11
xyhuvud has joined #ruby
05:11
DEac- has joined #ruby
05:11
simao has joined #ruby
05:12
rubin55 has joined #ruby
05:12
shrub has joined #ruby
05:12
shrub has quit [Changing host]
05:12
shrub has joined #ruby
05:12
hwrd has joined #ruby
05:12
itok has joined #ruby
05:12
nyuszika7h has joined #ruby
05:14
MachinShin has quit [*.net *.split]
05:14
entel_ has quit [*.net *.split]
05:14
dorian has quit [*.net *.split]
05:14
ule has quit [*.net *.split]
05:14
doma has quit [*.net *.split]
05:14
llua has quit [*.net *.split]
05:14
caleb has quit [*.net *.split]
05:14
joenoon has quit [*.net *.split]
05:14
r0bby has quit [*.net *.split]
05:14
NightMonkey has quit [*.net *.split]
05:14
marahin has quit [*.net *.split]
05:14
wnd has quit [*.net *.split]
05:14
jtdowney has quit [*.net *.split]
05:14
sgnh has quit [*.net *.split]
05:15
marahin- has joined #ruby
05:15
ule has joined #ruby
05:15
wnd has joined #ruby
05:15
MachinShin has joined #ruby
05:15
dorian has joined #ruby
05:15
entel_ has joined #ruby
05:15
joenoon has joined #ruby
05:16
r0bby has joined #ruby
05:16
jtdowney has joined #ruby
05:16
llua has joined #ruby
05:16
caleb has joined #ruby
05:16
caleb has joined #ruby
05:16
caleb has quit [Changing host]
05:16
NightMonkey has joined #ruby
05:16
sgnh has joined #ruby
05:16
doma has joined #ruby
05:48
lesihctej has joined #ruby
05:48
jetchisel has quit [Ping timeout: 268 seconds]
05:54
lunarkitty has quit [Quit: Connection closed for inactivity]
06:46
cout_ has quit [Ping timeout: 265 seconds]
06:46
cout has joined #ruby
06:53
crawlwer_ has joined #ruby
06:54
crawlwer_ has quit [Remote host closed the connection]
06:59
lesihctej has quit [Ping timeout: 255 seconds]
07:00
lesihctej has joined #ruby
07:12
drincruz_ has joined #ruby
07:12
lesihctej has quit [Ping timeout: 256 seconds]
07:13
gr33n7007h has quit [Quit: WeeChat 3.2]
07:14
lucf117 has quit [Remote host closed the connection]
07:17
drincruz_ has quit [Ping timeout: 256 seconds]
07:24
_ht has joined #ruby
07:27
Garb0 has joined #ruby
07:51
Garb0 has quit [Read error: Connection reset by peer]
07:51
Garb0 has joined #ruby
07:53
goldfish has joined #ruby
07:56
nirix has joined #ruby
07:58
goldfish has quit [Ping timeout: 256 seconds]
07:59
lesihctej has joined #ruby
07:59
bandithijo has quit [Ping timeout: 255 seconds]
08:07
lesihctej has quit [Quit: Unfortunately time is always against us -- [Morpheus]]
08:08
crawlwer_ has joined #ruby
08:08
crawlwer_ has quit [Remote host closed the connection]
08:16
Garb0 has quit [Quit: Garb0]
08:18
ur5us has joined #ruby
08:54
bandithijo has joined #ruby
09:30
drincruz_ has joined #ruby
09:45
ur5us has quit [Ping timeout: 255 seconds]
09:48
Garb0 has joined #ruby
09:57
Garb00 has joined #ruby
10:00
Garb0 has quit [Ping timeout: 272 seconds]
10:04
Garb00 has quit [Read error: Connection reset by peer]
10:33
drincruz_ has quit [Ping timeout: 255 seconds]
10:34
TomyWork has joined #ruby
10:36
ignorand has joined #ruby
10:38
Rounin has joined #ruby
10:48
Guest32 has joined #ruby
10:49
Guest32 has quit [Client Quit]
10:51
jetchisel has joined #ruby
11:24
bandithijo has quit [Ping timeout: 255 seconds]
11:36
drincruz_ has joined #ruby
11:43
<
ignorand >
if I have a hash myhash = test{key1: 'value1', key2: 'value2'} , how do I get key1: 'value1', key2: 'value2'
11:46
<
ignorand >
seems like I'll have to write a function to do this
11:47
bandithijo has joined #ruby
11:48
<
ignorand >
I'll keep it nested
11:49
<
adam12 >
ignorand: Why are you unnesting?
11:49
<
adam12 >
ignorand: did you want key1, key2, etc to be local variables? or inside a shallower hash?
11:50
postmodern has quit [Quit: Leaving]
11:51
<
ignorand >
adam12, in ror you get model_name{attr1: 'value1', attr2: 'value2'}. I have a non active record model, so I wanted to do something like def self.create(attr1:, attr2: 'default value) instead of def self.create(params = {}) attr1 = params.fetch(:attr1)
11:53
<
adam12 >
ignorand: It's hard without seeing code, but you could try double splatting at the method call, or use Hash#values. `create(**params["foo"])`
11:53
<
ignorand >
I have a feeling it does more 'checking' for me like this. in the old ruby style we need to raise 'some attribute is missing' if params.fetch(:attr1).nil?
11:54
<
adam12 >
ignorand: Can you share some code? in a ruby gist or paste service?
11:54
<
ignorand >
adam12, lemme check
12:01
reset has joined #ruby
12:02
jhass has quit [Ping timeout: 240 seconds]
12:03
jacktar has quit [Ping timeout: 244 seconds]
12:03
jhass has joined #ruby
12:04
rapha has quit [Ping timeout: 268 seconds]
12:04
aeris has quit [Remote host closed the connection]
12:04
Fridtjof has quit [Ping timeout: 255 seconds]
12:04
rapha has joined #ruby
12:05
jacktar has joined #ruby
12:05
aeris has joined #ruby
12:05
Fridtjof has joined #ruby
12:06
<
adam12 >
ignorand: I'd just be explicit here. UrlShortener.create(destination: url_shortener_params[:destination], pseudonym: url_shortener_params[:pseudonym])
12:07
rapha has joined #ruby
12:07
rapha has quit [Changing host]
12:08
<
ignorand >
adam12, I suppose that works too :)
12:09
<
ignorand >
adam12, also got a good name for pseudonym? I'd like to use alias, but seems its a reserved word :(
12:10
<
adam12 >
ignorand: aka? (also known as)
12:11
<
adam12 >
gotta run out. bbl.
12:11
<
ignorand >
adam12, thanks
12:32
darkxploit has joined #ruby
12:32
<
darkxploit >
Hello, Anyone would know why brew style —fix … says installing ‘bundler’ gem and then errored with message "failed to install the 'bundler' gem please. thanks
12:49
<
jhass[m] >
darkxploit: for anybody to help you one would need the full error output (in a pastebin). But I see there's a #machomebrew and a #macosx, either of which might be a better channel for the question :)
12:50
<
darkxploit >
thanks
13:24
ikke has quit [Ping timeout: 265 seconds]
13:51
ikke has joined #ruby
13:53
darkxploit has quit [Read error: Connection reset by peer]
13:54
darkxploit has joined #ruby
13:54
Bounga has joined #ruby
14:10
balo has quit [Quit: leaving]
14:11
balo has joined #ruby
14:40
bandithijo has quit [Ping timeout: 256 seconds]
14:54
nirix has quit [Quit: Connection closed for inactivity]
14:56
bandithijo has joined #ruby
15:04
factor has quit [Ping timeout: 268 seconds]
15:04
factor has joined #ruby
15:39
darkxploit has quit [Read error: Connection reset by peer]
15:39
darkxploit has joined #ruby
15:54
jwr has joined #ruby
15:55
<
jwr >
I'm getting an unexpected error from rails when running on an m1 macbook that i don't get on an intel macbook. Can anybody suggest how to troubleshoot this?
https://pastebin.com/raw/HREF9Xfp
16:04
jetchisel has quit [Ping timeout: 256 seconds]
16:04
<
adam12 >
jwr: full stack trace might help.
16:08
jetchisel has joined #ruby
16:10
<
adam12 >
jwr: What's line 15 of config/environments/development.rb?
16:11
<
jwr >
adam12: config.web_console.whiny_requests = false
16:11
<
adam12 >
jwr: Does it boot without that line?
16:17
aeris has quit [Remote host closed the connection]
16:17
aeris has joined #ruby
16:21
<
jwr >
adam12: hmm, no, but it does get a bit further and produce another error, that's good.
16:28
congratulated has quit [Ping timeout: 255 seconds]
16:32
orbyt has joined #ruby
17:13
be1m0nt has joined #ruby
17:14
gr33n7007h has joined #ruby
17:16
jetchisel has quit [Quit: Unfortunately time is always against us -- [Morpheus]]
17:19
jetchisel has joined #ruby
17:21
Bounga has quit [Ping timeout: 255 seconds]
17:30
CrazyEddy has joined #ruby
17:33
bandithijo has quit [Ping timeout: 276 seconds]
17:37
goldfish has joined #ruby
17:44
chonkbit has joined #ruby
17:47
be1m0nt has quit [Quit: leaving]
17:56
TomyWork has quit [Remote host closed the connection]
17:58
ged has quit [Ping timeout: 272 seconds]
17:58
mahlon has quit [Ping timeout: 265 seconds]
18:12
ignorand has quit [Read error: Connection reset by peer]
18:14
drincruz has joined #ruby
18:15
aeris has quit [Remote host closed the connection]
18:15
aeris has joined #ruby
18:17
drincruz_ has quit [Ping timeout: 276 seconds]
18:29
roadie has joined #ruby
18:35
Rakko has joined #ruby
19:02
Rakko has quit [Quit: Leaving]
19:38
Garb0 has joined #ruby
19:40
Garb0 has quit [Client Quit]
19:42
Garb0 has joined #ruby
19:48
drincruz_ has joined #ruby
19:50
drincruz has quit [Ping timeout: 255 seconds]
19:50
Garb0 has quit [Ping timeout: 272 seconds]
19:52
Garb0 has joined #ruby
19:53
lunarkitty has joined #ruby
19:57
jetchisel has quit [Ping timeout: 276 seconds]
19:57
Garb0 has quit [Ping timeout: 255 seconds]
19:59
roadie has quit [Quit: ERC (IRC client for Emacs 25.3.50.1)]
19:59
Garb0 has joined #ruby
20:04
jetchisel has joined #ruby
20:09
_ht has quit [Remote host closed the connection]
20:17
darkxploit has quit [Read error: No route to host]
20:18
darkxploit has joined #ruby
20:55
bougyman_ is now known as bougyman
21:07
Garb0 has quit [Read error: Connection reset by peer]
21:19
ur5us has joined #ruby
21:37
jwr has quit [Remote host closed the connection]
21:47
chonkbit has quit [Ping timeout: 255 seconds]
22:22
easbarbosa has joined #ruby
22:26
Guest902 has joined #ruby
22:26
<
Guest902 >
Всем привет
22:35
mahlon has joined #ruby
22:36
ged has joined #ruby
22:36
Guest902 has quit [Quit: Client closed]
22:43
drincruz has joined #ruby
22:45
drincruz_ has quit [Ping timeout: 255 seconds]
22:52
lunarkitty has quit [Quit: Connection closed for inactivity]
23:00
drincruz has quit [Read error: Connection reset by peer]
23:04
drincruz has joined #ruby
23:07
bandithijo has joined #ruby
23:31
ua_ has quit [Ping timeout: 252 seconds]
23:33
ua_ has joined #ruby
23:41
ua_ has quit [Excess Flood]
23:42
ua_ has joined #ruby
23:43
goldfish has quit [Ping timeout: 255 seconds]