Pages

Friday, August 22, 2014

1. bundle open activemodel
2. Open the validator.rb file.
3. You can see the comments that shows you how to mixin the validators. Once you mixin, you can add any validator and define a dummy method for the attribute to play with it in the irb:

You can download the installer from https://www.pdflabs.com/tools/pdftk-server/

After installation, open a new terminal and check installation:

$ pdftk --version

pdftk 2.02 a Handy Tool for Manipulating PDF DocumentsCopyright (c) 2003-13 Steward and Lee, LLC - Please Visit: www.pdftk.comThis is free software; see the source code for copying conditions. There isNO warranty, not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.$