havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.7.1, 2.6.6, 2.5.8: https://www.ruby-lang.org | Paste 4+ lines of text to https://dpaste.de/ and select Ruby as the language | Rails questions? Ask in #RubyOnRails | Books: https://goo.gl/wpGhoQ | Logs: https://irclog.whitequark.org/ruby | Can't talk? Register/identify with Nickserv first!
<leftylink> or is crypto_argon2i_general beeing too smart for me and making my suspicion inapplicable..
<leftylink> could be possible, this is all restricted to what I can notice without any argon2i-ispecific knowledge
<al2o3-cr> @work is the work area for argon2i to do the calculation.
<al2o3-cr> basically a section of memory.
<leftylink> well, it got freed after the first call to digest, right
<al2o3-cr> it did.
<leftylink> well, that would make me suspicious of lines 152 and 155, then
<leftylink> since second call to digest would use that
<al2o3-cr> leftylink: wow, you're right, what an idiot i am. Thank you very much greatly appreciated.
<al2o3-cr> i owe you a beer or smoke :P
<leftylink> \o/
<al2o3-cr> i've been coding way too long today.
chris__ has joined #ruby
<al2o3-cr> thanks again leftylink ;) i'll watch a film on netflix now and chill :P
chris__ has quit [Ping timeout: 240 seconds]
quazimodo has joined #ruby
Esa__ has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
lazarus1 has quit [Quit: Leaving]
oddp has quit [Ping timeout: 260 seconds]
Argorok_ has quit []
Argorok has joined #ruby
nate48423 has quit [Remote host closed the connection]
nate48423 has joined #ruby
braj has joined #ruby
ur5us_ has quit [Ping timeout: 260 seconds]
cnsvc has joined #ruby
jenrzzz has joined #ruby
ur5us_ has joined #ruby
drincruz has joined #ruby
BSaboia has quit [Quit: This computer has gone to sleep]
drincruz has quit [Ping timeout: 246 seconds]
bambanx has joined #ruby
gix has quit [Ping timeout: 260 seconds]
jetchisel has joined #ruby
drincruz has joined #ruby
SeepingN has quit [Quit: The system is going down for reboot NOW!]
drincruz has quit [Ping timeout: 258 seconds]
chris__ has joined #ruby
cyrus_mc_ has joined #ruby
kinduff has quit [Read error: Connection reset by peer]
kinduff has joined #ruby
alfiemax has joined #ruby
chris__ has quit [Ping timeout: 246 seconds]
alfiemax has quit [Ping timeout: 246 seconds]
alfiemax has joined #ruby
alfiemax has quit [Remote host closed the connection]
alfiemax has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
alfiemax has quit [Ping timeout: 265 seconds]
jenrzzz has joined #ruby
braincrash has quit [Quit: bye bye]
jenrzzz has quit [Ping timeout: 264 seconds]
braincrash has joined #ruby
ule has quit [Ping timeout: 260 seconds]
ule has joined #ruby
ChmEarl has quit [Quit: Leaving]
fabio_ has joined #ruby
Esa__ has quit [Ping timeout: 260 seconds]
MadLamb has quit [Ping timeout: 272 seconds]
tau has quit [Ping timeout: 240 seconds]
dfucci has quit [Ping timeout: 265 seconds]
jenrzzz has joined #ruby
dfucci has joined #ruby
alfiemax has joined #ruby
Industrial has joined #ruby
dionysus69 has joined #ruby
bhaak has quit [Ping timeout: 256 seconds]
bambanx has quit [Quit: Leaving]
bhaak has joined #ruby
alfiemax has quit [Remote host closed the connection]
Garb0__ has quit [Quit: I'm out.]
Garb0 has joined #ruby
Garb0 has quit [Max SendQ exceeded]
alfiemax has joined #ruby
polishdub has joined #ruby
Industrial has quit [Ping timeout: 256 seconds]
howdoi has joined #ruby
chris__ has joined #ruby
polishdub has quit [Quit: leaving]
wymillerlinux has quit [Ping timeout: 256 seconds]
chris__ has quit [Ping timeout: 264 seconds]
dionysus69 has quit [Remote host closed the connection]
polishdub has joined #ruby
Uncle_Cid has quit [Ping timeout: 256 seconds]
UncleCid has joined #ruby
Mia has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
impermanence has quit [Ping timeout: 264 seconds]
Arkantos_ is now known as Arkantos
bamdad has quit [Remote host closed the connection]
bamdad has joined #ruby
ur5us_ has quit [Ping timeout: 260 seconds]
zacts has joined #ruby
cyrus_mc_ has quit [Ping timeout: 240 seconds]
bocaneri has joined #ruby
Garb0 has joined #ruby
Garb0 has quit [Max SendQ exceeded]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
schne1der has joined #ruby
dfucci has quit [Ping timeout: 264 seconds]
dfucci has joined #ruby
sarna has joined #ruby
Furai has quit [Quit: WeeChat 2.8]
Furai has joined #ruby
alfiemax has quit [Remote host closed the connection]
alfiemax has joined #ruby
Tempesta has quit [Read error: Connection reset by peer]
Tempesta has joined #ruby
Tempesta has quit [Changing host]
Tempesta has joined #ruby
bamdad has quit [Remote host closed the connection]
bamdad has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
alfiemax has quit [Remote host closed the connection]
cd has quit [Quit: cd]
alfiemax has joined #ruby
dfucci has quit [Ping timeout: 246 seconds]
dfucci has joined #ruby
Industrial has joined #ruby
bamdad has quit [Remote host closed the connection]
bamdad has joined #ruby
bamdad has quit [Remote host closed the connection]
bamdad has joined #ruby
<sarna> hey, I'm wondering what the following code means - `File.foreach("filename", mode="r") do |line| puts "got", line end`
<sarna> note the `mode="r"` instead of `mode: "r"`
<sarna> I typo'd (bad python habits) and my file got split in surprising places :D
<sarna> seems like it got split after each "r" actually
fabio_ has quit [Remote host closed the connection]
ur5us_ has joined #ruby
jenrzzz has quit [Read error: Connection reset by peer]
jenrzzz has joined #ruby
quazimodo has quit [Ping timeout: 260 seconds]
ldepandis has joined #ruby
<leftylink> please note that assignments evaluate to the assigned value.
<phaul> sarna I think it's broken code. mode = 'r' has the value of 'r' , that goes into the second arg of foreach which would be limit. The fact that it was assigned to a local var mode is irrelevant. Does this code work?
<sarna> phaul: it works, that's why it surprised me!
<sarna> leftylink: ohh, so it's equivalent to `File.foreach("filename", "r")`?
<leftylink> yes, and with an extra assignment
<sarna> now it makes sense
sphex has quit [Read error: Connection reset by peer]
<sarna> thanks :D
<phaul> and it does what you expect? iie file with 'rrrr' does not yield on each 'r' separately?
<leftylink> is that what it does, I don't seem to recall what foreach does there
<phaul> that would surprise me
<leftylink> &ri File.foreach
<rubydoc> leftylink: Found no entry that matches class File class method foreach
<leftylink> oh does
<leftylink> s/d/n/
<leftylink> it's probably on io
<leftylink> &ri IO.foreach
<leftylink> let's go
<phaul> &ri IO.foreach
<leftylink> okay that'd be the sep one then
<sarna> File.foreach("string", "r") would give you two chunks - "str" and "ing" :D
<sarna> it makes sense - "r" is a separator
al2o3-cr has quit [Quit: WeeChat 2.8]
<phaul> heh but obviously the intention was to open it for read
<phaul> which is why I said broken
<sarna> yeah I get what you meant now
<leftylink> hmm
<sarna> btw, does/will ruby support keyword punning? I mean `foo(bar: bar)` would be instead just `foo(bar)`
<sarna> it'd be kinda dangerous now that I think of it lol
al2o3-cr has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jenrzzz has quit [Ping timeout: 258 seconds]
ur5us_ has quit [Ping timeout: 260 seconds]
sphex has joined #ruby
jenrzzz has joined #ruby
<leftylink> seems difficult. would have to determine whether the keyword or a positional was meant, and if the definition was `foo(a = 0, bar: 0)` then it's not possible to know which was meant
<leftylink> so some rule would have to be applied
UncleCid has quit [Ping timeout: 256 seconds]
Uncle_Cid has joined #ruby
<sarna> yeah, not that practical I think
<leftylink> interesting thing I found while researching there is a confusing thing said about assignment methods in 2.6 docs, but the confusing thing was made more understandable in 2.7
<leftylink> https://ruby-doc.org/core-2.6/doc/syntax/methods_rdoc.html "For assignment methods, the return value is ignored and the arguments are returned instead." - that sentence is just removed in https://ruby-doc.org/core-2.7.1/doc/syntax/methods_rdoc.html
<leftylink> because then you get the question "does it even work to have multiple arguments"... and https://stackoverflow.com/questions/9280623/setter-method-assignment-with-multiple-arguments says not really
jenrzzz has quit [Ping timeout: 246 seconds]
ur5us_ has joined #ruby
jenrzzz has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
<al2o3-cr> rubyapi.org is very nice indeed :)
<sarna> al2o3-cr: oh neat! didn't know this one
<sarna> the docs look much more pleasant :)
<al2o3-cr> sarna: :) yep
<sarna> also, I don't have to change to 2.7.1 every time manually when searching for stuff, lol
<al2o3-cr> sarna: hope you enjoy using it then :P
* sarna closes all the ruby-doc.org tabs
ur5us_ has quit [Quit: Leaving]
<al2o3-cr> haha
kinduff has quit [Read error: Connection reset by peer]
ur5us_ has joined #ruby
ur5us_ has quit [Remote host closed the connection]
kinduff has joined #ruby
ur5us has joined #ruby
hongkongphooey has joined #ruby
hongkongphooey has quit [Client Quit]
imode has quit [Ping timeout: 246 seconds]
lmat has quit [Ping timeout: 264 seconds]
lmat has joined #ruby
Jonopoly has joined #ruby
vpw has joined #ruby
skx86 has quit [Quit: Connection closed for inactivity]
infinityfye has joined #ruby
oddp has joined #ruby
doomlist3 has joined #ruby
<doomlist3> why are global variables called local in ruby
<jhass> who says they are?
tau has joined #ruby
<doomlist3> https://ruby-doc.org/core-2.7.1/doc/syntax/assignment_rdoc.html Assignment creates a local variable if the variable was not previously referenced.
<doomlist3> jhass: sorry for the delay was reading the docs
<jhass> yes that's talking about local variables
<jhass> nobody claims they're global
<jhass> that's how global variables look like
alfiemax has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 260 seconds]
TomyWork has joined #ruby
<doomlist3> jhass: https://dpaste.org/gh4F
_aeris_ has quit [Remote host closed the connection]
_aeris_ has joined #ruby
<doomlist3> if i don't want to return the last statement what's the syntax, and also if then ... for ssame line writing for i in obj; do.. but with function what's the one-line keyword def f xxx code
<jhass> methods always return a value in ruby, you need to provide one. Eg. if you want a method to always return nil, put nil as its last line
<jhass> there's no single line syntax for the def keyword. Of course you can alwas replace a newline with a ;, but should abstain from that beyond toy code and small examples
<jhass> there's also the define_method reflection/metaprogramming API which in theory allows single line definitions like define_method(:x) { 1 + 1 }, but most people including myself would consider it abuse just to save some vertical screen space
<jhass> other than that I have no clue how your paste is demonstrating anything about your initial question/statement
<doomlist3> how to write a function in a single line
<doomlist3> like if true then ... end
<doomlist3> or while true do ... end
<jhass> please read, I just answered that question
<doomlist3> kk
<doomlist3> def met ; i = i + 1 ;nil; end NoMethodError: undefined method `+' for nil:NilClass
<doomlist3> it seems i can't even define a simple function
<jhass> it's defined
<doomlist3> it came as a surprise that error to me
<jhass> the local variable i's initial value is nil in that method, as you never assign it any before the first reference to it. so when you call the method you defined, you get an error of trying to call + on nil
helpa has quit [Remote host closed the connection]
helpa has joined #ruby
<doomlist3> jhass: ahh so i is a local variable, i assigned i=0; outside the function, so those variables in global namespace are local vars
<doomlist3> i knew it's tied to the local global thing
<jhass> yes, as their name implies
alfiemax has joined #ruby
<sarna> well, one can have a proc in one line
<sarna> `times_two = ->(x) { x * 2 }`
<doomlist3> sarna: i was already thinking about learning procs and mixins
<sarna> doomlist3: why so advanced so fast?
<doomlist3> where isthe mixin docs as there is no mixin File or Class, although there is for Proc
<doomlist3> sarna: i just began ruby last week, what do you mean so advanced so fast?
ur5us has quit [Ping timeout: 260 seconds]
<sarna> doomlist3: I mean mixins and procs won't be that helpful during your first weeks
<sarna> it's better to get hold of the basic stuff first, imo
rhe has quit [Ping timeout: 272 seconds]
<doomlist3> but mixins blocks and procs are the main features of ruby
<doomlist3> i'd also like to know more about lisp-like macros of ruby and other metaprogramming features
<jhass> it's hard to say what the "main featues" of a general purpose programming language are
<sarna> doomlist3: ruby has no lisp-like macros I'm afraid
<sarna> ^
<doomlist3> ok whatever it has then
<doomlist3> ruby is a lisp, so what it has to offer to me
<sarna> the best thing it could offer you would be a more friendly and open attitude I think :)
<jhass> everything is a subset of lisp, no? :P It's rarely a practically useful argument
Industrial has quit [Ping timeout: 246 seconds]
<jhass> ruby has to offer you a dynamically typed, strongly object oriented language with a rich standard library and a broad and established ecosystem. Of course Ruby is not the only thing of its kind, so whether choosing it over something else in this space comes down to personal preference and perhaps your wish or needs to collaborate on existing software using it. To form that opinion you'll need to
<jhass> invest a bit of time into getting to know it of course
ur5us has joined #ruby
Industrial has joined #ruby
troulouliou_div2 has joined #ruby
ur5us has quit [Ping timeout: 260 seconds]
Industrial has quit [Ping timeout: 258 seconds]
zacts has quit [Ping timeout: 260 seconds]
zacts has joined #ruby
<leftylink> sometimes it's difficult to put some of my thoughts into words. I shall have to think harder and maybe figure out why I think that. or get more data. but I will let that happen in due time. no need to hurry up the process unnaturally
<leftylink> there's only so much time in one day
<jhass> or just do what we all do, try, fail at doing so and hope the core 80% comes across :D
alfiemax has quit [Remote host closed the connection]
<leftylink> well, I have a few scattered ideas, but not enough to be able to form a fair opinion
<doomlist3> whereis define_method metaprogramming mentioned the docs
vpw has quit [Ping timeout: 265 seconds]
<jhass> it's defined on the class Class
<jhass> there's a global search through all methods on https://ruby-doc.org/core-2.7.1/
<jhass> (below Files, to the right of Classes)
cgfbee has quit [Ping timeout: 265 seconds]
<jhass> ah wait I was wrong, sorry. actually it's Module#define_method
chalkmonster has joined #ruby
Mia has quit [Read error: Connection reset by peer]
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
alfiemax has joined #ruby
Mia has quit [Quit: Leaving]
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
drincruz has joined #ruby
<doomlist3> can i make a new syntax obj xor obj2 , just like a or b;
TCZ has joined #ruby
<doomlist3> ok i can using obj.xor obj2
alfiemax has quit [Remote host closed the connection]
<doomlist3> but can i make it more like a and b without the `.`
mossplix has joined #ruby
<doomlist3> it will also throw some light on how and operator method works
<leftylink> if I wished to search for this, the query I would use is "create a new infix operator in ruby"
<leftylink> or some more terse version like "ruby new infix"
<leftylink> and see if that gets me any search results
jetchisel has quit [Quit: Unfortunately time is always against us -- [Morpheus]]
Industrial has joined #ruby
alfiemax has joined #ruby
jenrzzz has joined #ruby
TCZ has quit [Ping timeout: 256 seconds]
<jhass> well the answer is no
<jhass> you could hack it a bit by evaluating in a context where method_missing catches the method calls and returns something that can compose the expression from the method call arguments and then evaluate after you leave the context
<jhass> but... just don't
doomlist3 has quit [Ping timeout: 240 seconds]
<jhass> especially as a beginner, just don't
banisterfiend has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
znz_jp has quit [Remote host closed the connection]
<leftylink> one of the questions I have not thought about is "lefty, why are you so unhelpful?" - I just haven't had a chance to think about how I would respond to that if someone were to ask me. perhaps I should
znz_jp has joined #ruby
doomlist3 has joined #ruby
Jonopoly has quit [Quit: WeeChat 2.8]
MadLamb has joined #ruby
<jhass> ?logs
<jhass> mmh
<jhass> !logs
* jhass slaps ruby[bot]
<jhass> leftylink: do you think you're unhelpful? If so, why?
<jhass> doomlist3: https://freenode.irclog.whitequark.org/ruby/2020-07-02 since you timed out
alfiemax has quit [Remote host closed the connection]
<jhass> What's with all the syntax feature creep "recently"? https://github.com/ruby/ruby/pull/3259
lmat has quit [Ping timeout: 260 seconds]
vpw has joined #ruby
vpw has quit [Max SendQ exceeded]
jenrzzz has joined #ruby
doomlist3 has quit [Ping timeout: 246 seconds]
vpw has joined #ruby
drincruz has quit [Ping timeout: 246 seconds]
TCZ has joined #ruby
vpw has quit [Remote host closed the connection]
vpw has joined #ruby
<phaul> &? logs
<rubydoc> You can find a log of this channel at https://irclog.whitequark.org/ruby/
alfiemax has joined #ruby
lmat has joined #ruby
jimeh has quit [Quit: Connection closed for inactivity]
TCZ has quit [Ping timeout: 240 seconds]
drincruz has joined #ruby
<sarna> jhass: with this structs could get more usage, they're safer and faster than hashes I think
<sarna> is ${} overloaded somewhere else?
<jhass> maybe but the more syntax the more knowledge needed to understand the language
<sarna> that's true
<sarna> otoh, you could just use the old syntax when you're learning
<sarna> also, googling for symbols, especially when you're a beginner.. eh, tradeoffs
<sarna> how popular is sorbet?
mossplix has quit [Remote host closed the connection]
alfiemax has quit [Remote host closed the connection]
mossplix has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
sphex has quit [Ping timeout: 246 seconds]
sphex has joined #ruby
<sarna> does ruby also prefer to "ask forgiveness, not permission" like python? or the other way around?
mossplix has quit [Remote host closed the connection]
TCZ has joined #ruby
skx86 has joined #ruby
alfiemax has joined #ruby
alfiemax has quit [Remote host closed the connection]
rapha has joined #ruby
<rapha> hi
alfiemax has joined #ruby
<rapha> i have a gem with a non-script resource file checked into git with lfs
<rapha> the repo can be cloned just fine, "gem install" also works
<rapha> but when put into a Gemfile, "bundle install" only yields "Error downloading object: res/ba_catalogs.sqlite3 (83f705d): Smudge error: Error downloading res/ba_catalogs.sqlite3 (83f705d5491f6bbe573a481bed8586b5e587871d4f9ad267b81346d3bf580e65): EOF" ... what's going wrong there?
alfiemax has quit [Ping timeout: 246 seconds]
jenrzzz has joined #ruby
hassox has joined #ruby
Garb0 has joined #ruby
Garb0 has quit [Remote host closed the connection]
<rapha> okay, more specific question:
<rapha> why does bundler (?) try to `git reset --hard` onto the most current revision after having just freshly cloned the repo?
<rapha> and it tries to use file:///home/jrs/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/cache/bundler/git/ba-catlist-f4421fe059b504d4c04bfa66cfbef4813f875966/.git as a remote but there is no .git/ in there because ../ itself is the git repo
<rapha> *sigh*
Industrial has quit [Ping timeout: 265 seconds]
alfiemax has joined #ruby
zacts has quit [Quit: WeeChat 2.8]
alfiemax has quit [Ping timeout: 264 seconds]
jenrzzz has quit [Ping timeout: 256 seconds]
sarna has quit [Quit: Connection closed]
mossplix has joined #ruby
Industrial has joined #ruby
sphex has quit [Read error: Connection reset by peer]
venmx has quit [Ping timeout: 240 seconds]
TCZ has quit [Quit: Leaving]
Fusl has quit [Max SendQ exceeded]
Fusl has joined #ruby
TCZ has joined #ruby
sphex has joined #ruby
mossplix has quit [Remote host closed the connection]
<Industrial> Hi. Has anyone used capybara with cucumber?
<Industrial> When I run rails test I get `/Users/tom/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/capybara-3.31.0/lib/capybara/cucumber.rb:7:in `<top (required)>': undefined method `World' for main:Object (NoMethodError)`.
<rapha> oh
<rapha> *sigh*
chris___ has joined #ruby
<Industrial> When I put `require 'capybara/cucumber'` in my test/test_helper.rb then I get that error
<adam12> Industrial: What happens when you require cucumber before requiring capybara/cucumber?
<adam12> Industrial: World is a method in Cucumber.
<Industrial> /Users/tom/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/cucumber-4.1.0/lib/cucumber/glue/dsl.rb:19:in `build_rb_world_factory': undefined method `build_rb_world_factory' for nil:NilClass (NoMethodError)
chris___ has quit [Ping timeout: 246 seconds]
<adam12> Industrial: What about requiring neither of them in test_helper.rb, and moving the require of capybara/cucumber into one of the cucumber generated files? You'll have to use your judgement since I'm not familiar with Cucumber.
<adam12> Industrial: features/support/env.rb or something
<Industrial> adam12: right. I'll try that :-)
<Industrial> (right now the tests are running, which will take a while (I've heard :P), and I hope it will kick off cucumber in it's process)
howdoi has joined #ruby
ldepandis has quit [Ping timeout: 256 seconds]
venmx has joined #ruby
jenrzzz has joined #ruby
mossplix has joined #ruby
TomyWork has quit [Remote host closed the connection]
ChmEarl has joined #ruby
chris___ has joined #ruby
Esa__ has joined #ruby
Try2Code has joined #ruby
twe4ked has quit [Ping timeout: 260 seconds]
twe4ked has joined #ruby
znz_jp has quit [Ping timeout: 260 seconds]
coffeejunk_ has joined #ruby
zipkid_ has joined #ruby
TCZ2 has joined #ruby
genpaku_ has joined #ruby
Esa has joined #ruby
dfucci_ has joined #ruby
Axy has joined #ruby
Axy has joined #ruby
gavlee_ has joined #ruby
Xiti` has joined #ruby
jennis1 has joined #ruby
chris___ has quit [Ping timeout: 265 seconds]
romanlevin3332 has joined #ruby
znz_jp has joined #ruby
Industrial` has joined #ruby
RiPuk has joined #ruby
braj has quit [Ping timeout: 264 seconds]
Esa__ has quit [Ping timeout: 264 seconds]
zipkid has quit [Ping timeout: 264 seconds]
factormystic has quit [Ping timeout: 264 seconds]
adam12 has quit [Ping timeout: 264 seconds]
BTRE has quit [Ping timeout: 264 seconds]
adam12 has joined #ruby
e2 has quit [Read error: Connection reset by peer]
FastJack has quit [Ping timeout: 264 seconds]
zipkid_ is now known as zipkid
FastJack_ has joined #ruby
genpaku has quit [Ping timeout: 246 seconds]
CalimeroTeknik_ has joined #ruby
e2 has joined #ruby
CalimeroTeknik has quit [Ping timeout: 246 seconds]
coniptor has quit [Ping timeout: 246 seconds]
Mia has quit [Ping timeout: 246 seconds]
shortdudey123 has quit [Ping timeout: 246 seconds]
RiPuk_ has quit [Ping timeout: 246 seconds]
duckpuppy has quit [Quit: ZNC 1.7.5-rc1 - https://znc.in]
Industrial has quit [Ping timeout: 246 seconds]
coffeejunk_ is now known as coffeejunk
TCZ has quit [Ping timeout: 264 seconds]
coffeejunk has quit [Ping timeout: 246 seconds]
gavlee has quit [Excess Flood]
jennis1 is now known as jennis
jennis has quit [Ping timeout: 264 seconds]
genpaku_ is now known as genpaku
dfucci has quit [Ping timeout: 246 seconds]
shortdudey123 has joined #ruby
Esa has quit [Client Quit]
romanlevin333 has quit [Ping timeout: 254 seconds]
Xiti has quit [Ping timeout: 254 seconds]
greengriminal has quit [Ping timeout: 254 seconds]
Guest88945 has quit [Changing host]
Guest88945 has joined #ruby
greengriminal has joined #ruby
duckpuppy has joined #ruby
Guest88945 is now known as adam12
BTRE has joined #ruby
Esa__ has joined #ruby
<Industrial`> Hi. I am running `ActiveRecord::FixtureSet.create_fixtures(fixtures_directory, fixtures)`. What if fixtures is an array of JSON files instead of YML files? Right now I am getting an error that it's trying to load myfile.json.yml :/
<Industrial`> And I can't figure out how to make it load JSON instead or provide an object loaded from json instead of yaml myself
TCZ2 has quit [Quit: Leaving]
TCZ has joined #ruby
mossplix has quit [Remote host closed the connection]
UncleCid has joined #ruby
<adam12> Industrial`: Why not YAML?
Uncle_Cid has quit [Ping timeout: 256 seconds]
coniptor has joined #ruby
<adam12> Industrial`: You could probably modify this method to support JSON if you really wanted to. https://github.com/rails/rails/blob/c77a949299fcddd0f6f35d9bc21888b862ff665c/activerecord/lib/active_record/fixtures.rb#L715-L728
_whitelogger has joined #ruby
Industrial` has quit [Ping timeout: 260 seconds]
deimos_ has quit [Remote host closed the connection]
Frobozz_ has quit [Ping timeout: 265 seconds]
plutes has quit [Ping timeout: 246 seconds]
alfiemax has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
rippa has joined #ruby
BSaboia has joined #ruby
BSaboia has quit [Max SendQ exceeded]
BSaboia has joined #ruby
evdubs has quit [Remote host closed the connection]
troulouliou_div2 has quit [Quit: Leaving]
evdubs has joined #ruby
renich has joined #ruby
nate48423 has quit [Ping timeout: 265 seconds]
nate48423 has joined #ruby
plutes has joined #ruby
nate48423 has quit [Ping timeout: 244 seconds]
deimos_ has joined #ruby
mossplix has joined #ruby
Garb0 has joined #ruby
nate48423 has joined #ruby
nate48423 has quit [Remote host closed the connection]
TCZ has quit [Quit: Leaving]
nate48423 has joined #ruby
Try2Code has quit [Remote host closed the connection]
chris__ has joined #ruby
CalimeroTeknik_ is now known as CalimeroTeknik
vpw has quit [Remote host closed the connection]
vpw has joined #ruby
vpw_ has joined #ruby
vpw_ has quit [Remote host closed the connection]
orbyt_ has joined #ruby
nate48423 has quit [Remote host closed the connection]
tau has quit [Ping timeout: 260 seconds]
nate48423 has joined #ruby
alfiemax has quit [Remote host closed the connection]
_____0x03b5 has joined #ruby
_____0x03b5 has quit [Remote host closed the connection]
_0x03b5 has joined #ruby
vpw has quit [Remote host closed the connection]
vpw has joined #ruby
Garb0_ has joined #ruby
colins has joined #ruby
Garb0_ has quit [Remote host closed the connection]
vpw has quit [Client Quit]
vpw has joined #ruby
_0x03b5 has quit [Client Quit]
renich has quit [Ping timeout: 260 seconds]
BSaboia has quit [Quit: This computer has gone to sleep]
_0x03b5 has joined #ruby
_0x03b5 has quit [Remote host closed the connection]
_0x03b5 has joined #ruby
Garb0 has quit [Ping timeout: 244 seconds]
vpw has quit [Remote host closed the connection]
jenrzzz has joined #ruby
alfiemax has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
renich has joined #ruby
cd has joined #ruby
kinduff has quit [Read error: Connection reset by peer]
kinduff has joined #ruby
u0_a260 has joined #ruby
nate48423 has quit [Ping timeout: 256 seconds]
nate48423 has joined #ruby
nate48423 has quit [Ping timeout: 256 seconds]
alfiemax has quit [Remote host closed the connection]
nate48423 has joined #ruby
alfiemax has joined #ruby
jenrzzz has joined #ruby
alfiemax has quit [Ping timeout: 246 seconds]
chris__ has quit [Remote host closed the connection]
cliluw has quit [Ping timeout: 260 seconds]
BSaboia has joined #ruby
alfiemax has joined #ruby
nate48423 has quit [Ping timeout: 256 seconds]
nate48423 has joined #ruby
alfiemax has quit [Ping timeout: 256 seconds]
Industrial` has joined #ruby
bamdad has quit [Remote host closed the connection]
bamdad has joined #ruby
schne1der has quit [Ping timeout: 264 seconds]
ellcs has joined #ruby
nate4842 has joined #ruby
nate48423 has quit [Ping timeout: 244 seconds]
BSaboia has quit [Quit: This computer has gone to sleep]
nate4842 has quit [Remote host closed the connection]
ellcs has quit [Remote host closed the connection]
nate48423 has joined #ruby
ellcs has joined #ruby
cliluw has joined #ruby
gitter1234 has joined #ruby
legit has quit [Quit: WeeChat 2.8]
cow[moo] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cow[moo] has joined #ruby
colins has quit [Quit: WeeChat 2.8]
cnsvc has quit [Remote host closed the connection]
bamdad has quit [Remote host closed the connection]
bamdad has joined #ruby
bamdad has quit [Max SendQ exceeded]
cnsvc has joined #ruby
bamdad has joined #ruby
cow[moo] has quit [Ping timeout: 272 seconds]
Frobozz_ has joined #ruby
u0_a260 has quit [Ping timeout: 256 seconds]
bocaneri has quit [Read error: Connection reset by peer]
chalkmonster has quit [Quit: WeeChat 2.8]
chalkmonster has joined #ruby
chris__ has joined #ruby
chris__ has quit [Ping timeout: 240 seconds]
Industrial` has quit [Ping timeout: 256 seconds]
chris___ has joined #ruby
vondruch_ has joined #ruby
vondruch has quit [Ping timeout: 265 seconds]
vondruch_ is now known as vondruch
SeepingN has joined #ruby
gavlee_ is now known as gavlee
BTRE has quit [Ping timeout: 260 seconds]
gix has joined #ruby
BTRE has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
TCZ has joined #ruby
chalkmonster has quit [Quit: WeeChat 2.8]
Benett has quit [Quit:  ]
Benett has joined #ruby
infinityfye has quit [Ping timeout: 256 seconds]
_0x03b5 has quit [Read error: Connection reset by peer]
chris___ has quit [Remote host closed the connection]
dfucci_ has quit [Ping timeout: 240 seconds]
davispuh has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
bamdad has quit [Remote host closed the connection]
bamdad has joined #ruby
Industrial` has joined #ruby
gitter1234 has quit [Quit: Connection closed for inactivity]
Industrial` has quit [Ping timeout: 246 seconds]
nofxx has quit [Remote host closed the connection]
nofxx has joined #ruby
akem has quit [Quit: Leaving]
jenrzzz has joined #ruby
banisterfiend has quit [Read error: Connection reset by peer]
dfucci has joined #ruby
memcorrupt has joined #ruby
memcorrupt has quit [Changing host]
memcorrupt has joined #ruby
graphicsv has joined #ruby
sagax has quit [Excess Flood]
davispuh has quit [Ping timeout: 240 seconds]
akem has joined #ruby
infinityfye has joined #ruby
infinityfye has quit [Client Quit]
ur5us has joined #ruby
Tempesta has quit [Quit: See ya!]
Tempesta has joined #ruby
nate48423 has quit [Ping timeout: 244 seconds]
chris___ has joined #ruby
kinduff has quit [Read error: Connection reset by peer]
dfucci has quit [Ping timeout: 264 seconds]
nate48423 has joined #ruby
kinduff has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chris___ has quit [Ping timeout: 246 seconds]
gnufied has quit [Quit: Leaving]
wymillerlinux has joined #ruby
nate48423 has quit [Ping timeout: 246 seconds]
nate48423 has joined #ruby
Kilo`byte has quit [Quit: ZNC - 1.6.0 - http://znc.in]
schne1der has joined #ruby
Kilo`byte has joined #ruby
ellcs has quit [Ping timeout: 244 seconds]
davispuh has joined #ruby
dfucci has joined #ruby
drincruz has quit [Ping timeout: 258 seconds]
orbyt_ has joined #ruby
DTZUZU has quit [Ping timeout: 265 seconds]
DTZUZU has joined #ruby
jetchisel has joined #ruby
dualfade has quit [Quit: leaving]
dualfade has joined #ruby
hiroaki has quit [Ping timeout: 240 seconds]
dualfade has quit [Quit: leaving]
dualfade has joined #ruby
TCZ has quit [Quit: Leaving]
dfucci has quit [Ping timeout: 256 seconds]
mossplix has quit [Remote host closed the connection]
renich has quit [Ping timeout: 256 seconds]
mossplix has joined #ruby
postmodern has joined #ruby
mossplix has quit [Remote host closed the connection]
mossplix has joined #ruby
mossplix has quit [Remote host closed the connection]
chris___ has joined #ruby
TCZ has joined #ruby
factormystic has joined #ruby
mossplix has joined #ruby
memcorrupt has quit [Ping timeout: 256 seconds]
venmx has quit [Ping timeout: 240 seconds]
memcorrupt has joined #ruby
memcorrupt has quit [Changing host]
memcorrupt has joined #ruby
envex has joined #ruby
mossplix has quit [Remote host closed the connection]
plutes has quit [Ping timeout: 260 seconds]
quazimodo has joined #ruby
imode has joined #ruby
quazimodo has quit [Ping timeout: 264 seconds]
quazimodo has joined #ruby
TCZ has quit [Ping timeout: 244 seconds]
BSaboia has joined #ruby