Creating and Filling PDF Forms

I am looking for two solutions:

1) open source cross-platform alternative to Adobe LiveCycle Designer
to create PDF forms
2) method to fill in these PDF form fields from Rails and serve up the
resulting PDF file

Thanks,
Mark

I am looking for two solutions:

1) open source cross-platform alternative to Adobe LiveCycle Designer
to create PDF forms