How can i use grover gem in rails

Hello I am trying to use wickedpdf to generate pdf. but i have found out a new gem that is more useful with latest css. that is grover. can any one please tell me how can i use grover gem in my rails app.

Grover Gem Link

Thank you

What have you tried so far? The gem looks nice and self-contained. You should be able to use render_to_string to generate the HTML source, and send_data to dispatch the output from grover to a browser.

Walter

@Bijan there’s no need to be disrespectful. If he’s posted the question is because he definitely needs some pointers. You could ask what is it that’s not working for him, or what parts of the readme aren’t clear for him. Maybe English is not his first language, you know? Diving into a readme when you’re starting out is a daunting task.

A bit of compassion goes a long way.

Everyone learns in their own way, and not everyone has read How to ask good questions (yet).[1]

Also, being honest goes a long way. I saw a person who asked a question on the Rails Slack this week, and the immediate reply was “What have you tried”. The answer came just as quickly: “Drinking heavily”. And yes, we have all been at that point.

Walter

  1. Updated version, with pictures! How to ask good questions

@Bijan I’m on the Core team and one of the moderators. Please refrain from chastising people asking questions. This is a welcoming community and we don’t want to scare anyone away for asking questions - even when the answers seem obvious to you. We were all beginners once.