<Guest26nakilon>
especially with block as var value it looks clumsy
<Guest26nakilon>
I don't want the user to define the whole method -- it would make the library become a framework; though maybe it should be a framework, I'm not sure, hm
Tempesta has joined #ruby
gr33n7007h has quit [Ping timeout: 256 seconds]
nona has quit [Quit: WeeChat 3.8]
gr33n7007h has joined #ruby
gr33n7007h has quit [Ping timeout: 240 seconds]
gr33n7007h has joined #ruby
John_Ivan has joined #ruby
tomtmym has joined #ruby
tomtmym has quit [Changing host]
tomtmym has joined #ruby
otisolsen70_ has joined #ruby
MalusVulgaris has quit [Ping timeout: 240 seconds]
<ox1eef_>
Guest26nakilon: I miss having you around.
<Guest26nakilon>
ox1eef_ hey
<ox1eef_>
Welcome back :)
<Guest26nakilon>
I miss my ability to pay for bnc server and stuff too
<Guest26nakilon>
it's just temporary opened webgate page
<Guest26nakilon>
I still have no job; get the same response "according to your CV you'll find our job position uninteresting for you (so go starve)"
<ox1eef_>
:(
otisolsen70_ has joined #ruby
<ox1eef_>
isene: CTRL+d is a common escape mechanism you shold probably implement
<Shell>
Guest26nakilon: tried making your CV look stupider? :)
<Shell>
(I'm in this mess too, it's not fun)
<ox1eef_>
I think the economy is not in such a good state atm
<Shell>
it's really not
<ox1eef_>
I get that impressiong reading the news
<Shell>
my country is formally in a recession apparently
otisolsen70 has quit [Ping timeout: 240 seconds]
<ox1eef_>
Yeah the economy is like a bad trip. Up a little, lasts a while then down a lot.
<Guest26nakilon>
@Shell I suppose among stupid CVs they chose by age and it's kind of difficult to hide your birthday when you provide the documents or when they google you
* Shell
nodnod.
johnhamelink has joined #ruby
dionysus69 has quit [Quit: dionysus69]
Pixi` has quit [Ping timeout: 250 seconds]
Pixi has joined #ruby
John_Ivan has quit [Quit: Disrupting the dragon's slumber one time too often shall eventually bestow upon all an empirical and indiscriminate conflagration that will last for all goddamn eternity.]
hightower3 has joined #ruby
hightower2 has quit [Ping timeout: 240 seconds]
<miah>
its great for those at the top, for everybody else... pound dirt =)
* miah
hi #ruby, been a while. hope all you nerds are doing well.
<leah2>
heyy miah
<Guest26nakilon>
I wouldn't mind if someone I know here to check my English version of CV for cringe
<Guest26nakilon>
*lulz
<Guest26nakilon>
**advices
<isene>
ox1eef_: that's taken care of
<miah>
sup leah2
<miah>
i used to feed my resume through grammarly to check syntax / spelling. but now with the invasion of llms I just avoid feeding my text to anything on the web
caedmon has joined #ruby
caedmon has quit [Quit: caedmon]
gantis has joined #ruby
catphish has quit [Quit: Goodbye]
infinityfye has quit [Quit: Leaving]
gantis has quit [Read error: Connection reset by peer]
gantis has joined #ruby
jhass has quit [Quit: Bye]
Guest26nakilon has quit [Quit: Client closed]
jhass has joined #ruby
teclator has quit [Ping timeout: 240 seconds]
MalusVulgaris has joined #ruby
gantis is now known as m_antis
desnudopenguino1 has joined #ruby
desnudopenguino has quit [Ping timeout: 256 seconds]
desnudopenguino1 is now known as desnudopenguino
<joto>
I'm currently wrapping the code within some migrations with if Rails.env.production? .... end. I want to prevent these migrations from running in development. Would this be the right way to do it?
desnudopenguino has quit [Ping timeout: 250 seconds]
c10l has joined #ruby
<aesthetikx>
joto that's probably fine although it raises a few questions;
<aesthetikx>
but yes, I have done that before
<adam12>
joto: Beware env checks like that, as they hide bugs that you only see in production.
MalusVulgaris has quit [Ping timeout: 250 seconds]
paulmcquad has quit [Quit: Konversation terminated!]
paulmcquad has joined #ruby
paulmcquad has quit [Quit: Konversation terminated!]
panella32 has joined #ruby
<joto>
alright. I will keep it in mind
<joto>
it's a temp fix until I get this postgres extension built on my fedora box :-)
<panella32>
Hi everybody
<panella32>
Could you please check this basic view helper method and let me know what is wrong with it not making the desired output? https://i.imgur.com/pecf8Hn.png
<panella32>
This is the only output that appears on the page and I have no idea what the reason could be: {:class=>"item"}
<panella32>
Any idea :)
m_antis has quit [Quit: Konversation terminated!]
_ht has quit [Quit: _ht]
m_antis has joined #ruby
<adam12>
panella32: I'd start by adding parenthesis.
<adam12>
concat content_tag(:div, ...) do
<adam12>
You might be dealing with a precedence issue. I'm not familiar enough with Rails to know if your content_tag/concat is correct.
<adam12>
Actually, it might be OK. concat is not receieving the block without parens.. I think?
<adam12>
I can't confirm because you shared a picture :|
<mooff>
> concat content_tag(:div, ...) do
<mooff>
fwiw in this form, the block will go to concat
<mooff>
> concat content_tag(:div, ...) {
<mooff>
in this form, it goes to content_tag
tomtmym has quit [Quit: Gone.]
<panella32>
sorry I was actually away.. let me try parenthesis..
<panella32>
Thank you mooff adam12, That one-line block syntax did the job perfectly. Thanks again!