#ruby - 15 June 2019
« Back 1 day Forward 1 day »
[08:42:50] marz_d`ghostman: In ActiveRecords association, say I have a table BookType that contains a few values that will be referenced in a :book_type of another table say Book. Will the relationship be `Book has_one book_type or book_type has_and_belongs_to_many Book?
[11:45:09] cvz: newbie question, if a function looks like this execute(query, db: nil, **options) <-- how do I pass the db value when I call it?
[22:34:27] wilywizard: I'm trying to bundle install --local on a Gemfile requiring octokit for some reason the Gemfile.lock that's getting output is not including the subdependency faraday, shouldn't the .lock file have every dependency listed? Running the program is dying citing that the dependency missing from the .lock file can't be loaded
[23:54:53] zenspider: wilywizard: assuming that the deps are actually declared (they are) then they should be in the lock file. You can run just `bundle lock` to regenerate the file and not do the slower install step to poke at it