eddof13 has quit [Remote host closed the connection]
andrea[m]12 has quit [Ping timeout: 248 seconds]
lightstalker has quit [Ping timeout: 248 seconds]
lightstalker has joined #ruby
jollyrogue[m] has quit [Ping timeout: 268 seconds]
sixecho has quit [Ping timeout: 268 seconds]
andrea[m]12 has joined #ruby
ur5us has joined #ruby
jpn has joined #ruby
jollyrogue[m] has joined #ruby
sixecho has joined #ruby
jpn has quit [Ping timeout: 268 seconds]
<tsujp>
I wish Ruby was a little more functional (read: functional programming). It's my favourite "get something up quickly" language and I love that it leans into full OOP because EVERYTHING is an object (making it easier to reason about) _but_ I don't _like_ OOP rigidity as a paradigm
<tsujp>
As in, sometimes I just want a whole bunch of methods and to compose them which works almost all the time but stuff like pipelines or generators would be nice I feel
<tsujp>
Also, anyone know that video on YouTube (I think) of a guy developing a gem in real-time showing how easy it is? Editing his gem and re-running the Ruby script using it. His setup had some stuff I wanted to copy and I cannot refind the video but I'd know if I saw it again
Mikaela has quit [Ping timeout: 258 seconds]
Mikaela has joined #ruby
jpn has joined #ruby
jpn has quit [Ping timeout: 246 seconds]
<sam113101>
tsujp: what's your favorite functional programming language? the one you think of when you mention those features?
<thecliguy>
I'm working on something that'll consume a service that's provided by a Ruby on Rails app. I don't actually need to know about the implementation of the service for the purpose of consuming it but curiosity got the better of me... I pretty much understand how the Controller and the Model function. The only aspect I don't understand is how traffic for a specific URL is routed to an action of the
<thecliguy>
controller.
<thecliguy>
The URLs are are "/bank-holidays.json" and "/bank-holidays/england-and-wales.json". What I "think" is happening is that routes.rb has no explicit entry to handle these URLs and they are therefore intercepted implicity by the following lines in "routes.rb":
<thecliguy>
Does this seem like a reasonable assumption?
skuntee4 has joined #ruby
jhass[m] has quit [Quit: Bridge terminating on SIGTERM]
DenKn[m] has quit [Quit: Bridge terminating on SIGTERM]
lightstalker has quit [Quit: Bridge terminating on SIGTERM]
sixecho has quit [Quit: Bridge terminating on SIGTERM]
andrea[m]12 has quit [Quit: Bridge terminating on SIGTERM]
jollyrogue[m] has quit [Quit: Bridge terminating on SIGTERM]
Mikaela has quit [Read error: Connection reset by peer]
Mikaela has joined #ruby
jhass[m] has joined #ruby
entropie has joined #ruby
entropie has quit [Quit: ""]
entropie has joined #ruby
entropie has quit [Client Quit]
entropie has joined #ruby
hypnotists1 has joined #ruby
sixecho has joined #ruby
DenKn[m] has joined #ruby
andrea[m] has joined #ruby
jollyrogue[m] has joined #ruby
lightstalker has joined #ruby
jetchisel has quit [Quit: Unfortunately time is always against us -- [Morpheus]]
gr33n7007h has quit [Ping timeout: 248 seconds]
jetchisel has joined #ruby
hypnotists1 has quit [Ping timeout: 250 seconds]
gr33n7007h has joined #ruby
aeris- is now known as aeris
skuntee4 has quit [Ping timeout: 252 seconds]
ua__ has joined #ruby
ua_ has quit [Ping timeout: 260 seconds]
markong has joined #ruby
mikecmpbll has joined #ruby
jpn has quit [Ping timeout: 268 seconds]
skuntee4 has joined #ruby
skuntee4 has quit [Ping timeout: 244 seconds]
scuntee5 has joined #ruby
scuntee5 has quit [Ping timeout: 265 seconds]
jpn has joined #ruby
jpn has quit [Ping timeout: 250 seconds]
skuntee4 has joined #ruby
markong has quit [Ping timeout: 250 seconds]
jpn has joined #ruby
TomyWork has joined #ruby
nyuszika7h has quit [Ping timeout: 268 seconds]
Mikaela has quit [Remote host closed the connection]
Mikaela has joined #ruby
skuntee4 has quit [Ping timeout: 252 seconds]
Milos has joined #ruby
Milos_ has quit [Ping timeout: 268 seconds]
<adam12>
thecliguy: Reasonable assuption, since those routes are super greedy. But I didn't look to see what FormatRouteConstraint is doing.
jpn has quit [Ping timeout: 252 seconds]
jpn has joined #ruby
aeris has quit [Ping timeout: 258 seconds]
aeris has joined #ruby
skuntee4 has joined #ruby
nyuszika7h has joined #ruby
nirvdrum has joined #ruby
skuntee4 has quit [Ping timeout: 265 seconds]
nirvdrum has quit [Quit: nirvdrum]
nirvdrum has joined #ruby
eddof13 has joined #ruby
nirvdrum has quit [Client Quit]
<thecliguy>
Thanks adam12. The controller actions that reside within that constrain are the ones that I'd expect to be triggered, so I think my theory does add up.
moldorcoder7 has joined #ruby
darkstardevx has joined #ruby
darkstardevx has quit [Remote host closed the connection]
TomyWork has quit [Remote host closed the connection]
<pkubaj>
havenwood: do i need to create redmine ticket or can i paste github url?
<pkubaj>
i mean, to devmeeting notes
<adam12>
I forgot that zverok built a Ruby Reference too. I was thinking about doing the same thing, mirroring the Japanese version. https://rubyreferences.github.io/rubyref/
<sam113101>
adam12: thanks, looking at these right now
<sam113101>
why is it that I can't show-doc anything in pry?
<sam113101>
[5] pry(main)> show-doc String#size
<sam113101>
Error: Cannot locate this method: size. Invoke the 'gem-install pry-doc' Pry command to get access to Ruby Core documentation.
<gr33n7007h>
sam113101: is pry-doc installed?
<gr33n7007h>
sam113101: if it is, you have to `require 'pry-doc'` or you can put in your .pryrc if you want.
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
moldorcoder7 has quit [Ping timeout: 250 seconds]
teclator has joined #ruby
eddof13 has joined #ruby
teclator has quit [Client Quit]
rhe7 has joined #ruby
rhe has quit [Ping timeout: 252 seconds]
rhe7 is now known as rhe
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cocalero has joined #ruby
Rounin has quit [Ping timeout: 260 seconds]
perrierjouet has quit [Quit: WeeChat 3.6]
perrierjouet has joined #ruby
cocalero has quit [Quit: Going offline, see ya! (www.adiirc.com)]