Just quick post how to use acts_as_flying_saucer with rails 3.1 and Heroku. I was testing acts_as_flying_saucer with rails 3.1.It is working fine so far. but when i have added external style sheet it was hanging on dev mode. and later on i figure out it is external style sheet causing an issue. So i precomplied css and then try to generate pdf it is working. Now it is time to test on heroku. I am using cedar stack and ruby …
Category: rails3.0
Generate PDF using acts_as_flying_saucer.It also support for clean up html before generating pdf,pdf can be generated on remote and do further processing. …
Well long break,Let me guess It over 3 month since I wrote my last post. I’ve been kind of busy lately not manage to dedicate much time to thing that I do. Rails 3.1.0 is been in picture for a quite a while a now and major feature that been included in Rails 3.1.0 is asset pipeline and pre-processor. For those is who aren’t aware of Rails 3.1.0 asset pipeline and pre-processor there is a very good article on rails …
In my recent work i have face some difficulties for generating different report for different organization or client using same application,because every client have their own reporting format. Like SAAS based application if it is generate some MIS report and if client require some more or less information depending upon his requirement we can give some editable facilities to edit and generate report. So to fulfill this kind of requirement user editable report which contains Markup + ruby code for …
Rchart is ruby port of the slick pChart charting library. Using Rchart we can develop various format of chart. Line Chart Cubic Curve Chart Bar Chart Pie Chart Filled Line Chart Stacked Bar Chart And many more ,You can checkout examples of rchart.Some of examples are listed below. Rchart gem require ruby-gd gem and GD library. To install rchart gem on ubuntu following packages needed. sudo apt-get install libgd-ruby sudo apt-get install libpng-dev sudo apt-get install libgd2-xpm-dev sudo gem install …
In previous article we have seen that how pdf is generated using act_as_flying_saucer plugin. Following code snippets is used for generating pdf with bookmark . <bookmark name=”section 1″ href=”#section_1″> tag is used to generate bookmark. which contains name attribute for displaying name of bookmark. href attribute is used for navigation purpose. <bookmark> tag can be nested so it can be used for generating nested bookmark <bookmark> tag is wrapper with <bookmarks> tag. This tag placed in html header. Now in …
Pdf with password protected in rails In previous article we have seen that how pdf is generated using act_as_flying_saucer plugin. Now act_flying_saucer has added support for password protected pdf. To generate PDF with password protection just pass :password=>”xxx” to render_pdf method. You can install act_as_flying_saucer plugin For further details you can visit article or visit http://github.com/amardaxini/act_as_flying_saucer …
Today, I have started testing Beta release of Rails 3.0.By Default Rails 3.0 start with webrick.To start with mongrel do following steps. 1)Install mongrel gem 2) After installing mongrel gem go to config/boot.rb file and add following line 3) Start server as rails server …