From: Josh Cheek Date: 2009-08-25T10:33:53+09:00 Subject: Re: Possible to populate Adobe PDF using RoR? --000e0cd4b38230e40e0471ed4018 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit From your terminal, try gem query -rn pdf That should give you a good place to start looking. If you are using RoR, you can already pull objects from your database (you should be writing this code in the model). You can also set up a rake task that loads the RoR environment (check out Ryan Bates' Railscast on it http://railscasts.com/episodes/66-custom-rake-tasks). To execute your code, then, you can either run the rake task, if that method works best for you, or you can interract with your code through the console, or through some MVC structure you have defined, in a web browser. That might make for a nice easy gui, if that is your plan, then you might check out the member and collection routing options, depending on whether you're trying to write a record or a class of records to the PDF, here is a good resource for that http://guides.rubyonrails.org/routing.html. On Mon, Aug 24, 2009 at 5:55 PM, joviyach wrote: > I am kicking an idea around in my head right and I would really like > to do this in RoR due to the speed and ease of deployment especially > on the data collection end. Anyway, the application has to be able to > pull data from a SQL database and populate Adobe PDF forms with the > data. Anyone know if such a thing is possible right now with ROR? > > Thanks, > > Jim > > --000e0cd4b38230e40e0471ed4018--