Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Twiz T
12,588 PointsStrange Billing Question
When generating a PDF for my invoices in my student admin panel the action is super fast. How is treehouse doing this?
My understanding is that PDF generation is an expensive process but the way you guys do it in that section of the app is very fast, so I'm wondering if you can share any design patterns here.
Sidekiq + Prawn? Thanks! ( Jason Seifer , Jim Hoskins )
-twiz
3 Answers
Jason Seifer
Treehouse Guest TeacherHey Twiz T great question! We use the payday gem written by our very own Alan Johnson. Behind the scenes it uses prawn gem to do pdf generation. There's no background processes at work -- prawn is pretty quick. Hope that helps!
Maciej Czuchnowski
36,441 PointsTag some treehouse team members here to let them know this is a question for them or contact support directly (link on the right). In most cases the forum is roamed by students and mods who are also just students.
Twiz T
12,588 Pointsnice rec! Not really a "support" issue and unsure if teachers actually work on the treehouse app. I'll try tagging some teachers.
Maciej Czuchnowski
36,441 PointsSome of them do. If not, I'm sure they can ask the devs and get back to you with a response ;). I'll tag Jim Hoskins and Jason Seifer for a start.
Twiz T
12,588 PointsSweet, great work on that section.
Twiz T
12,588 PointsTwiz T
12,588 PointsSweet, great work on that section!