Closed shloimeweinberger closed 6 years ago
Hi,
This gem looks great, however i'm having a hard time figuring out how to pass an instance variable from the controller to the iff.riff file. The idea is to cycle through an array of hashes, and the iif output should have the correct values.
Any help is appreciated.
You can checkout https://github.com/linjunpop/riif/blob/ae42dc8079bfcc8958d132c0ab792821ace50c21/spec/internal/app/controllers/invoices_controller.rb#L5
Gonna close this issue, if this does not fix. Please reopen this. :)
Hi,
This gem looks great, however i'm having a hard time figuring out how to pass an instance variable from the controller to the iff.riff file. The idea is to cycle through an array of hashes, and the iif output should have the correct values.
Any help is appreciated.