Stephane PAQUET PRO said over 2 years ago on Label Maker with Ruby :
I spotted this other CUPS gem https://github.com/m0wfo/cups last updated on 2021
Why did you favor cupsffi over cups?

David Kimura PRO said over 2 years ago on Label Maker with Ruby :
The cups history looks like it was last “really” developed in 2015ish. There were a few PRs made since then but is really more of a wrapper than anything else. Cupsffi seems to provide more of a Ruby interface.

wrx02 said over 2 years ago on Label Maker with Ruby :
Is there a reason why you put the Twitter class in the model instead of a service object?

David Kimura PRO said over 2 years ago on Label Maker with Ruby :
Typically I do put classes that do not touch database records in a different folder. However, the organizational bit really depends on the team that is developing the app. We very well could have put the twitter and printer classes in a "services", "business_domain", or similar kind of folder.

Tiago Ameller PRO said over 2 years ago on Label Maker with Ruby :
I apologize for the off-topic. Why do you use double quotes when not interpolating values? Rubocop gets angry all the time.

David Kimura PRO said over 2 years ago on Label Maker with Ruby :
I have a bad habit of not being consistent. It's something that doesn't bother me as far as styling goes and I think I may have even turned off that Rubocop warning. 

dev said over 2 years ago on Label Maker with Ruby :
very unique, out-of-the-box episode!

Login to Comment