orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
coniptor has quit [Ping timeout: 264 seconds]
TCZ has quit [Remote host closed the connection]
chromis has joined #ruby
ramfjord has quit [Quit: leaving]
ramfjord has joined #ruby
orbyt_ has joined #ruby
dfucci has quit [Ping timeout: 260 seconds]
gray-_-wolf has quit [Quit: WeeChat 3.0]
trautwein has joined #ruby
trautwein has quit [Ping timeout: 272 seconds]
elcuervo has joined #ruby
hiroaki_ has quit [Ping timeout: 240 seconds]
cuerbot has quit [Ping timeout: 272 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
akem__ has joined #ruby
elcuervo has quit [Read error: Connection timed out]
elcuervo has joined #ruby
akem has quit [Ping timeout: 240 seconds]
DarthGandalf has quit [Quit: Bye]
ramfjord has quit [Ping timeout: 265 seconds]
techsethi has joined #ruby
work_ has quit [Quit: Connection closed for inactivity]
techsethi has quit [Ping timeout: 256 seconds]
DarthGandalf has joined #ruby
_whitelogger has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jenrzzz has quit [Ping timeout: 246 seconds]
jenrzzz has joined #ruby
coniptor has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
s3nd1v0g1us has quit [Ping timeout: 264 seconds]
s3nd1v0g1us has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
jenrzzz has joined #ruby
orbyt_ has joined #ruby
Rounin has joined #ruby
trautwein has joined #ruby
Technodrome has joined #ruby
trautwein has quit [Ping timeout: 260 seconds]
techsethi has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
<dorian>
hey, anybody try to compile a c extension in ruby 3 and have it throw errors at you like: member reference type 'VALUE' (aka 'unsigned long') is not a pointer
howdoi has quit [Quit: Connection closed for inactivity]
gix has quit [Ping timeout: 260 seconds]
<dorian>
ah wait never mind
GodFather has quit [Ping timeout: 260 seconds]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
s3nd1v0g1us has quit [Quit: WeeChat 3.0.1]
Technodrome has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
polishdub has joined #ruby
trautwein has joined #ruby
bucareli has joined #ruby
trautwein has quit [Ping timeout: 240 seconds]
m27frogy has quit [Ping timeout: 240 seconds]
polishdub has quit [Quit: leaving]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ChmEarl has quit [Quit: Leaving]
naftilos76 has joined #ruby
bucareli has quit [Quit: leaving]
nofxx__ has joined #ruby
nofxx_ has quit [Ping timeout: 240 seconds]
dionysus69 has joined #ruby
dionysus69 has quit [Changing host]
dionysus69 has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jenrzzz has joined #ruby
coniptor has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 265 seconds]
jenrzzz has joined #ruby
Furai has quit [Quit: WeeChat 3.0.1]
coniptor has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
cd has quit [Quit: cd]
Rudd0 has quit [Ping timeout: 246 seconds]
Furai has joined #ruby
jenrzzz has joined #ruby
deviantfero has quit [Ping timeout: 260 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
trautwein has joined #ruby
jenrzzz has joined #ruby
akem__ has quit [Ping timeout: 265 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
carraroj has joined #ruby
jenrzzz has joined #ruby
neshpion has quit [Quit: neshpion]
dfucci has joined #ruby
akem__ has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
s3nd1v0g1us has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 272 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
fercell has joined #ruby
jenrzzz has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
s3nd1v0g1us has quit [Quit: WeeChat 3.0.1]
jenrzzz has joined #ruby
shtirlic has joined #ruby
ByronJohnson has quit [Ping timeout: 256 seconds]
fercell has quit [Ping timeout: 246 seconds]
fercell has joined #ruby
ramfjord has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
burgestrand has joined #ruby
jla has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
jenrzzz has joined #ruby
jla has quit [Ping timeout: 264 seconds]
jenrzzz has quit [Ping timeout: 260 seconds]
s3nd1v0g1us has joined #ruby
jenrzzz has joined #ruby
ramfjord has quit [Ping timeout: 264 seconds]
s3nd1v0g1us has quit [Client Quit]
s3nd1v0g1us has joined #ruby
s3nd1v0g1us has quit [Client Quit]
carraroj_ has joined #ruby
jla has joined #ruby
ramfjord has joined #ruby
carraroj has quit [Ping timeout: 258 seconds]
jenrzzz has quit [Ping timeout: 246 seconds]
jla has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
vondruch has quit [Ping timeout: 260 seconds]
alexherbo2 has joined #ruby
alexherbo2 has quit [Client Quit]
alexherbo2 has joined #ruby
AndreYuhai has joined #ruby
gearnode has joined #ruby
<AndreYuhai>
What's the difference between form_with model: user and form_with model: @user? in Rails?
<AndreYuhai>
I've seen both and both works. I understand @user but I don't get how we can use user
DTZUZU has quit [Read error: Connection reset by peer]
DTZUZU has joined #ruby
jenrzzz has quit [Ping timeout: 272 seconds]
queip has quit [Remote host closed the connection]
jenrzzz has joined #ruby
vircung has quit [Quit: Nothing to do here]
queip has joined #ruby
vircung has joined #ruby
jla has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
akem has joined #ruby
lightstalker has quit [Ping timeout: 256 seconds]
jenrzzz has joined #ruby
al2o3-cr has quit [Ping timeout: 256 seconds]
greengriminal has joined #ruby
lightstalker has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
akem__ has quit [Remote host closed the connection]
jenrzzz has joined #ruby
dinfuehr has quit [Ping timeout: 256 seconds]
dinfuehr has joined #ruby
vondruch has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
<burgestrand>
AndreYuhai you're passing `friend: @friend` from e.g. friends/edit.html.erb — this assigns a local variable before rendering the form
<AndreYuhai>
burgestrand, oh right! Thank you so much. I didn't think about checking those files. Now everything is clear.
jenrzzz has joined #ruby
shtirlic has quit [Remote host closed the connection]
<burgestrand>
AndreYuhai I'd argue passing local variables in this way is good form (ha!), it makes it clear what kind of outside data you're passing in to your view
<burgestrand>
I wouldn't be surprised if others consider that too explicit for their tastes though :-)
<AndreYuhai>
burgestrand, I am not sure but I think this was created with scaffolding. So I think scaffold did that but as I mentioned I am not sure since I am a Rails newbie
<burgestrand>
(although I might be prepared to die on that hill if I were to work with that person :D)
Rudd0 has joined #ruby
<AndreYuhai>
I think using directly @friend is better in my opinion. Otherwise you have to think where that comes from like I did.
jla has left #ruby [#ruby]
jla has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
evdubs_ has joined #ruby
evdubs has quit [Remote host closed the connection]
jenrzzz has joined #ruby
naftilos76 has quit [Ping timeout: 265 seconds]
jenrzzz has quit [Ping timeout: 246 seconds]
al2o3-cr has joined #ruby
al2o3-cr has quit [Client Quit]
jenrzzz has joined #ruby
al2o3-cr has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
phaul has quit [Ping timeout: 260 seconds]
rubydoc has quit [Remote host closed the connection]
rubydoc_ has joined #ruby
phaul has joined #ruby
hiroaki_ has joined #ruby
jenrzzz has joined #ruby
cnsvc has quit [Ping timeout: 268 seconds]
jenrzzz has quit [Ping timeout: 246 seconds]
TCZ has joined #ruby
TomyWork has joined #ruby
jenrzzz has joined #ruby
alexherbo2 has quit [Ping timeout: 256 seconds]
jenrzzz has quit [Ping timeout: 272 seconds]
burgestrand has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jenrzzz has joined #ruby
vondruch has quit [Ping timeout: 240 seconds]
alexherbo2 has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 272 seconds]
naftilos76 has joined #ruby
jenrzzz has joined #ruby
quintasan has quit [Quit: quintasan]
quintasan has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
greengriminal has quit [Quit: Leaving]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
TCZ has quit [Remote host closed the connection]
nofxx__ has quit [Remote host closed the connection]
nofxx__ has joined #ruby
m27frogy has joined #ruby
jenrzzz has joined #ruby
vondruch has joined #ruby
zapata has quit [Ping timeout: 260 seconds]
zapata has joined #ruby
goepsilongo has joined #ruby
gearnode has quit [Read error: Connection reset by peer]
gearnode has joined #ruby
weaksauce has quit [Ping timeout: 260 seconds]
pothibo has joined #ruby
burgestrand has joined #ruby
AndreYuhai has quit [Quit: Leaving]
teclator has quit [Ping timeout: 264 seconds]
akem has quit [Read error: Connection reset by peer]
cuerbot has joined #ruby
elcuervo has quit [Ping timeout: 240 seconds]
joshcom has joined #ruby
pothibo has quit [Quit: Connection closed]
teclator has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
naftilos76_ has joined #ruby
jenrzzz has joined #ruby
naftilos76 has quit [Ping timeout: 265 seconds]
naftilos76_ has quit [Client Quit]
totoro2022 is now known as totoro2021
jenrzzz has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
al2o3-cr has quit [Quit: WeeChat 3.0]
lucasb has joined #ruby
jla has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
al2o3-cr has joined #ruby
cgfbee has quit [Remote host closed the connection]
yann-kaelig has joined #ruby
Axy has joined #ruby
Axy has joined #ruby
Mia has quit [Read error: Connection reset by peer]
jenrzzz has quit [Ping timeout: 240 seconds]
dittonedo has joined #ruby
jenrzzz has joined #ruby
cow[moo] has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
deviantfero has joined #ruby
jenrzzz has joined #ruby
carraroj_ has quit [Quit: Konversation terminated!]
carraroj_ has joined #ruby
carraroj_ is now known as carraroj
carraroj has quit [Client Quit]
carraroj has joined #ruby
dittonedo has quit [Remote host closed the connection]