<Guest55>
on ruby 3.0.4, sinatra-contrib requires an obsolote version of json gem, but json now a core component of ruby or some shit, so installing an older version of json introduces conflicts. what tf
<adam12>
Guest55: dm-serializer looks like DataMapper?
<Guest55>
Yeah it's part of DataMapper
<Guest55>
Sorry. I guess it's datamapper which has the confilic yeah
<Guest55>
is datamapper altogether obsolete or should there me a way to get it to play nicely in the modern ruby playground? i'm using it to follow an eight year old tutorial, it looks real simple
<adam12>
Guest55: Sequel is nice, and kind of similar. Different pattern (Active Record vs Datamapper) but well maintained.
<adam12>
Guest55: Your other alternative is fork the gem, change the gemspec to have a different json version.
<adam12>
Let me look at the YT video quickly.
<adam12>
You could probably swap out Sequel with few issues in that video. There's no auto-migrate, so you'd Sequel.connect instead of all the DataMapper setup, then have a migration file you run with the sequel binary.
Ziyan has joined #ruby
<Guest55>
Ooh, that's a great Idea, i will probably fork it. I'm looking up sequel right now. I saw another tutorial using sequel with sinatra -- i assumed it was like mysql2 or odbc or similar
<adam12>
Sequel supports _everything_
<Guest55>
which is ok, but i'm experimenting with higher level db abstraction libraries at the moment
<adam12>
I use it with Sqlite and postgres commonly.
Ziyan__ has quit [Ping timeout: 255 seconds]
<Guest55>
Beautiful. Ok i'll put in the elbow grease to learn it
<Guest55>
thanks adam12
<adam12>
Guest55: Cheers
giorgian has quit [Ping timeout: 260 seconds]
hightower4 has joined #ruby
Ziyan has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
giorgian has joined #ruby
desnudopenguino has joined #ruby
John_Ivan has joined #ruby
hightower3 has quit [Ping timeout: 264 seconds]
Ziyan has joined #ruby
giorgian has quit [Ping timeout: 252 seconds]
jpn has quit [Ping timeout: 260 seconds]
eddof13 has joined #ruby
giorgian has joined #ruby
graywolf has joined #ruby
aandre1 has joined #ruby
aandre has quit [Ping timeout: 260 seconds]
Thanzex has joined #ruby
jpn has joined #ruby
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
eddof13 has joined #ruby
<adam12>
Wow. Heroku is killing off their free stuff. I wonder if that means the end of Heroku.
Ziyan has quit [Ping timeout: 264 seconds]
Ziyan has joined #ruby
_ht has joined #ruby
graywolf has quit [Quit: WeeChat 3.5]
<leah2>
i prior project i worked on used paid heroku but also lots of free stuff
mikecmpbll has quit [Ping timeout: 260 seconds]
pgib has quit [Ping timeout: 260 seconds]
mikecmpbll has joined #ruby
aandre1 has quit [Quit: silence]
pgib has joined #ruby
<adam12>
They say it's because abuse, but there is a lot of new developers who start by deploying to Heroku, then adopt it later as a paid customer. Without that freebie, I wonder if that source of leads will dry up.
jpn has quit [Ping timeout: 268 seconds]
desnudopenguino has quit [Quit: desnudopenguino]
mikecmpbll has quit [Ping timeout: 260 seconds]
desnudopenguino has joined #ruby
jpn has joined #ruby
chemists3 has joined #ruby
dionysus69 has quit [Ping timeout: 260 seconds]
jpn has quit [Ping timeout: 268 seconds]
howdoi has joined #ruby
giorgian has quit [Ping timeout: 268 seconds]
giorgian has joined #ruby
Guest43 has joined #ruby
<leah2>
yup
chemists3 has quit [Ping timeout: 240 seconds]
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Guest43 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dionysus69 has joined #ruby
polishdub has quit [Quit: leaving]
RetroPunk has quit [Quit: ZNC 1.7.5+deb4 - https://znc.in]