00:00
Rudd0 has joined #ruby
00:01
hramrach has joined #ruby
00:02
Swyper has joined #ruby
00:04
Swyper has quit [Remote host closed the connection]
00:06
bucareli has joined #ruby
00:11
AndreYuhai has joined #ruby
00:17
<
havenwood >
AndreYuhai: `publish_at =` sets a local variable
00:17
<
havenwood >
AndreYuhai: `self.publish_at =` uses #publish_at=
00:17
<
AndreYuhai >
havenwood, but there's also the method publish_at=
00:17
<
AndreYuhai >
havenwood, so what's the difference between using it in after_initialize and published? method?
00:18
<
AndreYuhai >
one uses self and the other doesn't
00:19
<
havenwood >
AndreYuhai: The latter is fetching the value, and it'll properly be called on self implicitly
00:19
<
AndreYuhai >
and also if we try publish_at? inside after_initialize we get false. So the method works on the instance
00:19
<
havenwood >
AndreYuhai: The former will set a local variable, no methods involved, without an explicit `self`
00:20
<
AndreYuhai >
How does Ruby tell the difference
00:20
<
AndreYuhai >
oh let me ask it this way
00:20
<
drusepth >
sounds like the ruby interpretor just favors variables over methods when there's ambiguity
00:20
<
AndreYuhai >
so if I did the same inside published? method then it would be the same, right? publish_at would be a local variable?
00:23
<
drusepth >
yeah, you'll generally want self.X when you do assignment in a model if you want to assign to a property on that model instead of a local variable, even if it shares a name with the attribute you're trying to set on the model
00:25
<
havenwood >
AndreYuhai: Obviously, if there's a `def foo` defined, and you call `foo` it's available. But look at the `def foo=` case in that ^ gist.
00:27
bonhoeffer has quit [Quit: Connection closed]
00:28
<
AndreYuhai >
Okay now everything makes sense, thank you drusepth, havenwood.
00:28
evdubs__ has quit [Quit: Leaving]
00:29
<
havenwood >
AndreYuhai: Yeah, when getting, Ruby will try a local variable first, then method, then method missing.
00:29
<
havenwood >
AndreYuhai: When setting, it'll set a local variable.
00:29
<
havenwood >
No further, just that.
00:29
Mrgoose has quit [Ping timeout: 260 seconds]
00:30
<
AndreYuhai >
unless we explicitly give self. Got it.
00:31
evdubs has joined #ruby
00:31
<
havenwood >
AndreYuhai: Likewise, you can use `foo()` too call the method if a local variable `foo` is defined.
00:32
<
havenwood >
Or `self.foo`
00:32
<
havenwood >
foo() or self.foo, either disambiguates - mean.
00:32
Mrgoose has joined #ruby
00:32
<
havenwood >
I mean*, failing at typing.
00:34
<
AndreYuhai >
what's the name for ||= btw
00:36
<
drusepth >
AndreYuhai: i've always said "or-equals" or "set if not set"
00:36
<
havenwood >
AndreYuhai: "or equals"
00:39
<
AndreYuhai >
after seeing walrus in Python I would have never guessed that it's called "or-equals" :D
00:39
<
AndreYuhai >
Thanks!
00:39
<
drusepth >
at least we've got our Hash Rockets
00:40
<
AndreYuhai >
oh yea that's also very creative
00:40
Swyper has joined #ruby
00:40
jenrzzz has joined #ruby
00:42
Swyper has quit [Remote host closed the connection]
00:42
ur5us has joined #ruby
00:42
<
havenwood >
nakilon: I wasn't familiar with Befunge-93
00:43
<
nakilon >
havenwood I didn't adapt it for golfing or advent of code
00:43
<
nakilon >
those are just examples of usage
00:43
<
havenwood >
nakilon: I figured that wasn't the
*purpose*
00:43
<
nakilon >
and I just loved using Befunge for golfing
00:43
<
havenwood >
nakilon: I wish there was a bit shorter way to get at monotonic time. Handy.
00:44
AndreYuhai has quit [Quit: Leaving]
00:45
work_ has quit [Quit: Connection closed for inactivity]
00:45
<
havenwood >
&>> Process.clock_gettime(Process::CLOCK_MONOTONIC, :nanosecond)
00:46
<
havenwood >
nakilon: Might want to switch Time.now to monotonic to avoid out of order instructions now and again.
00:46
<
nakilon >
Process::CLOCK_MONOTONIC = 6 lol
00:47
<
nakilon >
or make a gem for that like a leftpad ..D
00:48
<
nakilon >
gem install hgmt -- havenwood's golfed monotonic time
00:56
bucareli has quit [Quit: leaving]
01:00
Tuor has joined #ruby
01:02
DaRock has joined #ruby
01:03
DaRock has quit [Client Quit]
01:06
Rounin has quit [Ping timeout: 260 seconds]
01:17
bonhoeffer has joined #ruby
01:17
jenrzzz has quit [Ping timeout: 272 seconds]
01:21
cuerbot has joined #ruby
01:21
trautwein1 has joined #ruby
01:24
totoro2022 has quit [Quit: WeeChat 2.7.1]
01:24
gix has quit [Ping timeout: 256 seconds]
01:24
elcuervo has quit [Ping timeout: 272 seconds]
01:24
totoro2021 has joined #ruby
01:26
trautwein1 has quit [Ping timeout: 264 seconds]
01:26
jenrzzz has joined #ruby
01:31
jenrzzz has quit [Ping timeout: 266 seconds]
01:31
Mrgoose has quit [Ping timeout: 276 seconds]
01:33
yoyo23 has joined #ruby
01:34
yoyo23 has left #ruby [#ruby]
01:39
_whitelogger has joined #ruby
01:40
Mrgoose has joined #ruby
01:42
deviantfero has joined #ruby
01:44
jenrzzz has joined #ruby
01:44
ramfjord has quit [Ping timeout: 256 seconds]
01:50
jenrzzz has quit [Ping timeout: 265 seconds]
01:52
fercell has quit [Ping timeout: 276 seconds]
01:53
jenrzzz has joined #ruby
02:04
jenrzzz has quit [Ping timeout: 264 seconds]
02:19
jenrzzz has joined #ruby
02:25
jenrzzz has quit [Ping timeout: 272 seconds]
02:31
gearnode has quit [Ping timeout: 264 seconds]
02:34
jenrzzz has joined #ruby
02:36
Guest21 has joined #ruby
02:38
jenrzzz has quit [Ping timeout: 265 seconds]
02:39
jenrzzz has joined #ruby
02:39
jenrzzz_ has joined #ruby
02:55
bonhoeffer has quit [Quit: Connection closed]
03:09
deimos_ has quit [Quit: leaving]
03:15
goepsilongo has joined #ruby
03:22
trautwein1 has joined #ruby
03:22
Swyper has joined #ruby
03:23
Swyper has quit [Remote host closed the connection]
03:24
ChmEarl has quit [Quit: Leaving]
03:26
trautwein1 has quit [Ping timeout: 240 seconds]
03:32
Technodrome has joined #ruby
03:33
drusepth has quit [Ping timeout: 240 seconds]
03:36
Xiti has quit [Quit: Leaving]
03:41
deimos_ has joined #ruby
03:45
Guest21 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
03:48
aloy has quit [Read error: Connection reset by peer]
03:48
jenrzzz_ has quit [Ping timeout: 265 seconds]
03:49
aloy has joined #ruby
03:50
jenrzzz_ has joined #ruby
03:52
Guest21 has joined #ruby
03:58
aloy has quit [Ping timeout: 272 seconds]
04:02
nofxx_ has joined #ruby
04:05
nofxx__ has quit [Ping timeout: 256 seconds]
04:05
Xiti has joined #ruby
04:10
deviantfero has quit [Ping timeout: 276 seconds]
04:13
andremedeiros has quit [Read error: Connection reset by peer]
04:14
ur5us has quit [Ping timeout: 272 seconds]
04:15
andremedeiros has joined #ruby
04:15
drusepth has joined #ruby
04:16
Guest21 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
04:23
orbyt_ has joined #ruby
04:27
_whitelogger has joined #ruby
05:02
m27frogy has quit [Ping timeout: 260 seconds]
05:04
woodruffw has quit [Ping timeout: 272 seconds]
05:16
Swyper has joined #ruby
05:18
andremedeiros has quit [Read error: Connection reset by peer]
05:20
andremedeiros has joined #ruby
05:22
andremedeiros has quit [Read error: Connection reset by peer]
05:23
trautwein1 has joined #ruby
05:24
andremedeiros has joined #ruby
05:25
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
05:25
woodruffw has joined #ruby
05:25
woodruffw has quit [Changing host]
05:25
woodruffw has joined #ruby
05:28
trautwein1 has quit [Ping timeout: 272 seconds]
05:31
jenrzzz_ has quit [Ping timeout: 276 seconds]
05:37
jenrzzz_ has joined #ruby
05:43
s3nd1v0g1us has joined #ruby
05:44
Swyper has quit [Remote host closed the connection]
05:48
SeepingN has quit [Quit: The system is going down for reboot NOW!]
05:52
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
05:52
al2o3-cr has quit [Ping timeout: 256 seconds]
05:54
woodruffw has quit [Ping timeout: 240 seconds]
05:56
woodruffw has joined #ruby
05:56
woodruffw has quit [Changing host]
05:56
woodruffw has joined #ruby
06:10
rwb has quit [Ping timeout: 272 seconds]
06:10
rwb1 has joined #ruby
06:13
rwb1 is now known as rwb
06:17
tpanarch1st has quit [Ping timeout: 264 seconds]
06:22
jenrzzz_ has quit [Ping timeout: 264 seconds]
06:23
jenrzzz_ has joined #ruby
06:35
howdoi has quit [Quit: Connection closed for inactivity]
06:49
s3nd1v0g1us has quit [Ping timeout: 272 seconds]
06:51
s3nd1v0g1us has joined #ruby
06:51
s3nd1v0g1us has quit [Client Quit]
06:51
trautwein1 has joined #ruby
07:02
jla has joined #ruby
07:02
jenrzzz_ has quit [Ping timeout: 276 seconds]
07:03
jenrzzz_ has joined #ruby
07:05
cognemo has quit [Quit: cognemo]
07:06
cognemo has joined #ruby
07:06
ruurd has joined #ruby
07:09
evil has joined #ruby
07:10
Rudd0 has quit [Read error: Connection reset by peer]
07:12
_aeris has joined #ruby
07:13
jenrzzz_ has quit [Ping timeout: 276 seconds]
07:13
_aeris_ has quit [Ping timeout: 268 seconds]
07:13
_aeris is now known as _aeris_
07:14
jenrzzz_ has joined #ruby
07:25
jenrzzz_ has quit [Ping timeout: 240 seconds]
07:27
jenrzzz_ has joined #ruby
07:32
ruurd has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
07:32
Guest52700 has quit [Quit: All for nothing]
07:32
rwb has quit [Ping timeout: 246 seconds]
07:33
olspookishmagus has joined #ruby
07:33
ruurd has joined #ruby
07:34
rwb has joined #ruby
07:34
olspookishmagus has quit [Client Quit]
07:38
cd has quit [Quit: cd]
07:40
aloy has joined #ruby
07:40
dfucci has joined #ruby
07:43
dfucci_ has quit [Ping timeout: 264 seconds]
07:47
jenrzzz_ has quit [Ping timeout: 240 seconds]
07:47
jenrzzz_ has joined #ruby
07:53
orbyt_ has joined #ruby
07:55
cognemo has quit [Ping timeout: 272 seconds]
08:00
jenrzzz has quit [Ping timeout: 265 seconds]
08:01
jenrzzz has joined #ruby
08:04
teclator has joined #ruby
08:05
jenrzzz_ has quit [Ping timeout: 240 seconds]
08:08
jenrzzz_ has joined #ruby
08:13
teclator has quit [Ping timeout: 276 seconds]
08:13
teclator_ has joined #ruby
08:13
jenrzzz_ has quit [Ping timeout: 265 seconds]
08:17
jenrzzz_ has joined #ruby
08:19
Rounin has joined #ruby
08:33
teclator_ is now known as teclator
08:34
alexherbo2 has joined #ruby
08:35
drusepth has quit [Ping timeout: 272 seconds]
08:40
jenrzzz_ has quit [Ping timeout: 276 seconds]
08:44
Sp4rKy has left #ruby [#ruby]
08:44
jenrzzz_ has joined #ruby
08:45
olspookishmagus has joined #ruby
08:48
fercell has joined #ruby
08:48
jenrzzz_ has quit [Ping timeout: 240 seconds]
08:54
fercell has quit [Ping timeout: 276 seconds]
08:54
fercell has joined #ruby
08:59
jenrzzz_ has joined #ruby
09:02
dionysus69 has joined #ruby
09:08
jenrzzz_ has quit [Ping timeout: 265 seconds]
09:08
jenrzzz_ has joined #ruby
09:13
jenrzzz has quit [Ping timeout: 264 seconds]
09:19
ruurd has quit [Ping timeout: 240 seconds]
09:19
jenrzzz_ has quit [Ping timeout: 264 seconds]
09:22
jenrzzz has joined #ruby
09:28
alexherbo2 has quit [Ping timeout: 264 seconds]
09:29
alexherbo2 has joined #ruby
09:29
jenrzzz has quit [Ping timeout: 240 seconds]
09:31
k_sze has joined #ruby
09:32
<
k_sze >
Is there no registered IANA Media Type for Ruby scripts?
09:32
jla has left #ruby [#ruby]
09:40
alexherbo2 has quit [Ping timeout: 240 seconds]
09:41
jenrzzz has joined #ruby
09:42
_joes_ has joined #ruby
09:43
_joes_ has quit [Remote host closed the connection]
09:45
teclator has quit [Ping timeout: 264 seconds]
09:45
teclator_ has joined #ruby
09:48
alexherbo2 has joined #ruby
09:49
teclator_ is now known as teclator
09:50
jenrzzz has quit [Ping timeout: 246 seconds]
09:53
hiroaki__ has quit [Ping timeout: 272 seconds]
09:57
jenrzzz has joined #ruby
09:57
gearnode has joined #ruby
09:57
gearnode has quit [Client Quit]
09:58
gearnode has joined #ruby
09:59
gearnode has quit [Client Quit]
09:59
gearnode has joined #ruby
10:01
Rudd0 has joined #ruby
10:03
jenrzzz has quit [Ping timeout: 256 seconds]
10:04
hiroaki__ has joined #ruby
10:15
<
nakilon >
I don't see there any source code file type either
10:15
<
nakilon >
probably txt
10:27
FocalFossa0997 has joined #ruby
10:28
FocalFossa0997 has quit [Quit: Konversation terminated!]
10:28
FocalFossa0997 has joined #ruby
10:40
Technodrome has joined #ruby
10:42
FocalFossa0997 has quit [Quit: Konversation terminated!]
10:44
jenrzzz has joined #ruby
10:44
FocalFossa0997 has joined #ruby
10:45
alexherbo28 has joined #ruby
10:45
alexherbo2 has quit [Ping timeout: 256 seconds]
10:45
alexherbo28 is now known as alexherbo2
10:46
FocalFossa0997 has quit [Client Quit]
10:46
FocalFossa0997 has joined #ruby
10:49
jenrzzz_ has joined #ruby
10:54
FocalFossa0997 has quit [Quit: Konversation terminated!]
10:54
FocalFossa0997 has joined #ruby
10:54
jenrzzz has quit [Ping timeout: 276 seconds]
10:55
jenrzzz has joined #ruby
10:58
jenrzzz_ has quit [Ping timeout: 276 seconds]
11:00
jenrzzz has quit [Ping timeout: 276 seconds]
11:05
alexherbo2 has quit [Remote host closed the connection]
11:09
jenrzzz has joined #ruby
11:15
jenrzzz has quit [Ping timeout: 264 seconds]
11:25
alexherbo2 has joined #ruby
11:27
jenrzzz has joined #ruby
11:30
FocalFossa0997 has quit [Quit: Konversation terminated!]
11:31
FocalFossa0997 has joined #ruby
11:32
jenrzzz has quit [Ping timeout: 264 seconds]
11:39
yann-kaelig has joined #ruby
11:40
FocalFossa0997 has quit [Quit: Konversation terminated!]
11:41
FocalFossa0997 has joined #ruby
11:44
jenrzzz has joined #ruby
11:44
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
11:48
jenrzzz has quit [Ping timeout: 240 seconds]
11:55
FocalFossa0997 has quit [Quit: Konversation terminated!]
11:55
FocalFossa0997 has joined #ruby
12:01
m27frogy has joined #ruby
12:01
FocalFossa0997 has quit [Quit: Konversation terminated!]
12:01
jenrzzz has joined #ruby
12:02
FocalFossa0997 has joined #ruby
12:07
jenrzzz has quit [Ping timeout: 272 seconds]
12:15
<
NL3limin4t0r >
k_sze: My file manager (nautilus) says "application/x-ruby" when I go to the preferences of an .rb script.
12:20
Technodrome has joined #ruby
12:21
DarthGandalf has quit [Remote host closed the connection]
12:29
FocalFossa0997 has quit [Quit: Konversation terminated!]
12:39
cow[moo] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
12:46
cow[moo] has joined #ruby
12:48
TCZ has joined #ruby
12:50
cow[moo] has quit [Client Quit]
12:51
cow[moo] has joined #ruby
12:59
FocalFossa0997 has joined #ruby
13:01
supercoven has joined #ruby
13:01
supercoven has quit [Max SendQ exceeded]
13:01
supercoven has joined #ruby
13:01
supercoven has quit [Max SendQ exceeded]
13:01
supercoven has joined #ruby
13:05
cow[moo] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
13:06
cow[moo] has joined #ruby
13:06
cow[moo] has quit [Client Quit]
13:07
lucasb has joined #ruby
13:08
totoro2021 has quit [Quit: WeeChat 2.7.1]
13:09
jenrzzz has joined #ruby
13:09
Swyper has joined #ruby
13:11
Swyper has quit [Remote host closed the connection]
13:13
DarthGandalf has joined #ruby
13:14
jenrzzz has quit [Ping timeout: 264 seconds]
13:24
elcuervo has joined #ruby
13:25
FocalFossa0997 is now known as FocalFossa
13:25
FocalFossa is now known as FocalFossa0997
13:26
cuerbot has quit [Ping timeout: 276 seconds]
13:27
cow[moo] has joined #ruby
13:30
TCZ has quit [Remote host closed the connection]
13:38
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
13:39
totoro2021 has joined #ruby
13:44
jenrzzz has joined #ruby
13:53
jenrzzz has quit [Ping timeout: 276 seconds]
14:01
Guest21 has joined #ruby
14:04
jenrzzz has joined #ruby
14:05
alexherbo2 has quit [Ping timeout: 256 seconds]
14:06
alexherbo2 has joined #ruby
14:07
nofxx_ has quit [Ping timeout: 264 seconds]
14:11
jenrzzz has quit [Ping timeout: 240 seconds]
14:12
deviantfero has joined #ruby
14:18
alexherbo2 has quit [Ping timeout: 256 seconds]
14:18
FocalFossa0997 has quit [Quit: Konversation terminated!]
14:19
jenrzzz has joined #ruby
14:23
jenrzzz has quit [Ping timeout: 246 seconds]
14:25
jenrzzz has joined #ruby
14:30
akem has joined #ruby
14:30
jenrzzz has quit [Ping timeout: 265 seconds]
14:31
roadie has joined #ruby
14:34
jenrzzz has joined #ruby
14:38
<
k_sze >
nakilon, javascript is registered.
14:38
<
k_sze >
as `application/javascript`.
14:40
jenrzzz has quit [Ping timeout: 276 seconds]
14:40
<
k_sze >
sql and ecmascript are also registered.
14:42
jenrzzz has joined #ruby
14:42
deathwishdave has joined #ruby
14:42
gorod has joined #ruby
14:47
Xiti` has joined #ruby
14:50
Xiti has quit [Ping timeout: 265 seconds]
14:51
gorod has left #ruby ["Leaving"]
14:52
dvgorod has joined #ruby
14:54
jenrzzz has quit [Ping timeout: 276 seconds]
14:56
jenrzzz has joined #ruby
15:00
<
nakilon >
idk why though
15:00
<
nakilon >
maybe I don't understand the purpose of MIME but...
15:00
jla has joined #ruby
15:02
jenrzzz has quit [Ping timeout: 240 seconds]
15:02
<
nakilon >
JS is being executed in browser and maybe the SQL type was registered in times when web was only growing and people didn't care about exposing the requests, etc.
15:03
jenrzzz has joined #ruby
15:03
<
nakilon >
but the rest -- I don't see any purpose of attaching the language specificator to a source code file
15:03
<
nakilon >
maybe just application/programming_language
15:09
evil has quit [Quit: Connection closed for inactivity]
15:10
jenrzzz_ has joined #ruby
15:15
gearnode has quit [Ping timeout: 272 seconds]
15:16
Xiti` has quit [Quit: Leaving]
15:16
jenrzzz_ has quit [Ping timeout: 264 seconds]
15:16
gearnode has joined #ruby
15:19
Xiti has joined #ruby
15:20
jenrzzz has quit [Ping timeout: 264 seconds]
15:23
jenrzzz has joined #ruby
15:26
<
k_sze >
I think Media Type for all file formats is useful because then you are declaring the type out-of-band, you are telling any consuming application exactly how it should treat the data instead of having the applications guess using heuristics.
15:28
Rudd0 has quit [Ping timeout: 264 seconds]
15:28
TCZ has joined #ruby
15:28
<
k_sze >
Heuristics can fail if the data is somehow malformed or corrupted. e.g. script with syntax errors.
15:29
Swyper has joined #ruby
15:31
hiroaki__ has quit [Remote host closed the connection]
15:38
trautwein1 has quit [Ping timeout: 264 seconds]
15:40
jenrzzz has quit [Ping timeout: 264 seconds]
15:47
jenrzzz has joined #ruby
15:49
<
NL3limin4t0r >
nakilon: For example with the MIME type of a ruby file set to `application/x-ruby` I can rename the file to `script.js` (without changing the MIME type) and the computer would still execute the script with Ruby even though it is a .js file.
15:50
<
NL3limin4t0r >
At least that is the idea
15:51
jenrzzz has quit [Ping timeout: 256 seconds]
15:52
Xiti` has joined #ruby
15:52
Xiti` has quit [Remote host closed the connection]
15:54
Swyper has quit [Remote host closed the connection]
15:55
Xiti` has joined #ruby
15:56
Xiti has quit [Ping timeout: 276 seconds]
15:59
<
nakilon >
people are hating Windows XP CD and USB drive autorun.ini/autorun.exe
15:59
<
nakilon >
would it be a nice idea to let computer decide to run Ruby files from the internet?..
16:00
deviantfero has quit [Quit: WeeChat 3.0]
16:02
deviantfero has joined #ruby
16:04
jenrzzz has joined #ruby
16:08
ChmEarl has joined #ruby
16:09
Swyper has joined #ruby
16:14
Rudd0 has joined #ruby
16:16
jenrzzz has quit [Ping timeout: 246 seconds]
16:17
Technodrome has joined #ruby
16:18
TCZ has quit [Quit: zherzmnqnavryrz]
16:21
jenrzzz has joined #ruby
16:27
dfucci has quit [Ping timeout: 246 seconds]
16:28
<
k_sze >
nakilon, it's not necessarily about
*running* Ruby files from the internet. E.g. let's say we have some special browser that is able to display source code of various programming languages with syntax highlighting. Determining the language from the Media Type would be a lot more explicit than guessing via the file name or other heuristics such as the presence of a shebang.
16:28
mbuf has joined #ruby
16:29
<
mbuf >
Is there an API to check for actively running sidekiq jobs, and to stop them?
16:29
<
k_sze >
Or maybe it's not the browser, but a React component that can load a script from the internet and display it with syntax highlighting.
16:31
AndreYuhai has joined #ruby
16:31
<
nakilon >
I'm fine with the Github approach of putting the extension exceptions in .gitattributes
16:32
dfucci has joined #ruby
16:32
<
AndreYuhai >
In Rails if we've got a form, the submit button's name is automatically inferred from the type. For example Create User or Update User. However, I am wondering whether there's any way to change the verbs before the model name depending on the form type
16:32
<
nakilon >
if we browse source files there should be a root folder of them, as a place for such config
16:32
<
AndreYuhai >
I've got a _form partial
16:37
dfucci has quit [Ping timeout: 276 seconds]
16:37
jenrzzz has quit [Ping timeout: 264 seconds]
16:38
jenrzzz has joined #ruby
16:39
<
NL3limin4t0r >
AndreYuhai: Are you using some gem for the form? I've used formtastic and that gem allows you to change "create", "update" and "cancel" throught the translation file. In config/locales/en.yml set en.formtastic.actions.create to a new value.
16:40
<
AndreYuhai >
NL3limin4t0r, No I am not using any gem. I am creating the form using form_with model: ... I was just wondering whether I could do that without any gem but apparently not.
16:41
<
NL3limin4t0r >
AndreYuhai: Seems like you can, looking at the documentation
16:43
alexherbo2 has joined #ruby
16:44
<
AndreYuhai >
Oh I had not checked that. I was just lazily searching on Google. :D Thank you!
16:52
dfucci has joined #ruby
16:54
skryking has joined #ruby
16:55
jenrzzz has quit [Ping timeout: 276 seconds]
16:59
jenrzzz has joined #ruby
17:03
cognemo has joined #ruby
17:10
jenrzzz has quit [Ping timeout: 264 seconds]
17:12
jenrzzz has joined #ruby
17:15
Souleyman has joined #ruby
17:15
jenrzzz_ has joined #ruby
17:15
Souleyman5 has joined #ruby
17:16
Souleyman5 has quit [Client Quit]
17:16
jenrzzz has quit [Ping timeout: 240 seconds]
17:18
Souleyman9 has joined #ruby
17:18
jla has quit [Ping timeout: 264 seconds]
17:19
Souleyman has quit [Ping timeout: 264 seconds]
17:20
Souleyman9 has quit [Client Quit]
17:29
phredus has joined #ruby
17:31
mbuf has quit [Quit: Leaving]
17:32
xf3rno has joined #ruby
17:34
DerekNonGeneric has quit [Ping timeout: 272 seconds]
17:34
nickb has quit [Ping timeout: 272 seconds]
17:36
nickb has joined #ruby
17:37
DerekNonGeneric has joined #ruby
17:40
jenrzzz_ has quit [Ping timeout: 246 seconds]
17:41
jenrzzz has joined #ruby
17:43
dvgorod has quit [Ping timeout: 264 seconds]
17:46
mcr has quit [Ping timeout: 264 seconds]
17:47
mcr has joined #ruby
17:48
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:50
Exuma has joined #ruby
17:53
Swyper has quit [Remote host closed the connection]
17:56
alexherbo2 has quit [Quit: Ping timeout (120 seconds)]
18:03
ramfjord has joined #ruby
18:04
SuperLag has joined #ruby
18:04
alexherbo2 has joined #ruby
18:05
User458__ has quit [Read error: Connection reset by peer]
18:05
User458764 has quit [Read error: Connection reset by peer]
18:06
User458764 has joined #ruby
18:06
Emmanuel_Chanel has quit [Ping timeout: 240 seconds]
18:07
User4587_ has joined #ruby
18:11
s3nd1v0g1us has joined #ruby
18:12
s3nd1v0g1us has quit [Client Quit]
18:18
jenrzzz has quit [Ping timeout: 276 seconds]
18:23
jenrzzz has joined #ruby
18:26
xf3rno has quit [Remote host closed the connection]
18:31
jenrzzz has quit [Ping timeout: 264 seconds]
18:32
stdedos has joined #ruby
18:32
jenrzzz has joined #ruby
18:40
jenrzzz_ has joined #ruby
18:43
Exuma has joined #ruby
18:45
jenrzzz_ has quit [Ping timeout: 265 seconds]
18:45
Emmanuel_Chanel has joined #ruby
18:47
work_ has joined #ruby
18:47
jenrzzz_ has joined #ruby
18:49
phredus has quit [Read error: Connection reset by peer]
18:49
alexherbo2 has quit [Ping timeout: 240 seconds]
18:54
jenrzzz_ has quit [Ping timeout: 240 seconds]
19:04
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:04
aloy has quit [Ping timeout: 264 seconds]
19:07
jenrzzz_ has joined #ruby
19:12
tpanarch1st has joined #ruby
19:12
jenrzzz_ has quit [Ping timeout: 240 seconds]
19:13
xf3rno has joined #ruby
19:19
jenrzzz_ has joined #ruby
19:23
jenrzzz_ has quit [Ping timeout: 265 seconds]
19:26
aloy has joined #ruby
19:29
dionysus69 has quit [Ping timeout: 240 seconds]
19:29
Swyper has joined #ruby
19:34
s3nd1v0g1us has joined #ruby
19:34
cd has joined #ruby
19:35
roadie has quit [Remote host closed the connection]
19:40
jenrzzz_ has joined #ruby
19:42
drusepth has joined #ruby
19:45
alexherbo2 has joined #ruby
19:52
ramfjord has quit [Ping timeout: 246 seconds]
19:53
jenrzzz_ has quit [Ping timeout: 240 seconds]
19:54
ramfjord has joined #ruby
19:54
andremedeiros has quit [Read error: Connection reset by peer]
19:55
andremedeiros has joined #ruby
19:55
gix has joined #ruby
19:58
jenrzzz_ has joined #ruby
20:00
Swyper has quit [Remote host closed the connection]
20:07
xf3rno has quit [Remote host closed the connection]
20:08
NL3limin4t0r is now known as NL3limin4t0r_afk
20:14
fercell has quit [Ping timeout: 240 seconds]
20:17
fercell has joined #ruby
20:21
Swyper has joined #ruby
20:26
Technodrome has joined #ruby
20:32
junaidnaseer2 has joined #ruby
20:33
jenrzzz_ has quit [Ping timeout: 272 seconds]
20:33
neshpion has joined #ruby
20:33
hiroaki_ has joined #ruby
20:33
ritsch_master has joined #ruby
20:39
deviantfero has quit [Ping timeout: 246 seconds]
20:40
jenrzzz_ has joined #ruby
20:41
orbyt_ has joined #ruby
20:42
roadie has joined #ruby
20:43
deviantfero has joined #ruby
20:43
roadie has quit [Remote host closed the connection]
20:46
jenrzzz_ has quit [Ping timeout: 246 seconds]
20:46
jenrzzz_ has joined #ruby
21:00
ur5us has joined #ruby
21:04
work_ has quit [Quit: Connection closed for inactivity]
21:12
TCZ has joined #ruby
21:13
ur5us has quit [Quit: Leaving]
21:25
jenrzzz_ has quit [Ping timeout: 264 seconds]
21:28
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:28
Swyper has quit [Remote host closed the connection]
21:29
yann-kaelig has quit []
21:33
Swyper has joined #ruby
21:38
Swyper has quit [Ping timeout: 240 seconds]
21:39
jenrzzz_ has joined #ruby
21:42
junaidnaseer2 has quit [Remote host closed the connection]
21:43
jenrzzz_ has quit [Ping timeout: 240 seconds]
21:50
jenrzzz_ has joined #ruby
21:53
dfucci_ has joined #ruby
21:53
dfucci has quit [Read error: Connection reset by peer]
21:55
GodFather has quit [Ping timeout: 256 seconds]
21:56
deviantfero has quit [Ping timeout: 265 seconds]
22:00
Seich_ is now known as Seich
22:01
jenrzzz_ has quit [Ping timeout: 265 seconds]
22:02
jenrzzz has quit [Ping timeout: 264 seconds]
22:16
deviantfero has joined #ruby
22:19
jenrzzz has joined #ruby
22:24
jenrzzz_ has joined #ruby
22:32
skryking has quit [Quit: Konversation terminated!]
22:32
skryking has joined #ruby
22:34
sevvie has quit [Changing host]
22:34
sevvie has joined #ruby
22:36
dfucci has joined #ruby
22:37
jenrzzz_ has quit [Ping timeout: 240 seconds]
22:38
jenrzzz_ has joined #ruby
22:39
dfucci_ has quit [Ping timeout: 272 seconds]
22:40
RubyJob has joined #ruby
22:42
RubyJob has left #ruby [#ruby]
22:43
fercell has quit [Ping timeout: 272 seconds]
22:48
weaksauce has joined #ruby
22:52
TCZ has quit [Quit: zherzmnqnavryrz]
23:09
FocalFossa0997 has joined #ruby
23:24
FocalFossa0997 has quit [Quit: Konversation terminated!]
23:33
greengriminal has joined #ruby
23:34
sombra has joined #ruby
23:37
aloy has quit [Ping timeout: 264 seconds]
23:42
jenrzzz_ has quit [Ping timeout: 240 seconds]
23:50
Xiti` has quit [Quit: Leaving]
23:52
gearnode has quit [Ping timeout: 272 seconds]
23:55
jenrzzz_ has joined #ruby
23:56
dfucci_ has joined #ruby
23:56
swaggboi has quit [Quit: C-x C-c]
23:58
dfucci has quit [Ping timeout: 246 seconds]