RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: CCH4GITHUB
Where should be payin_drawer.rb (previously product_drawer.rb)
be located in the project framework ?
LoadError in PayinsController#index
Unable to autoload constant PayinDrawer, expected C:/RubymineProjects/pms4mysql/app/pdfs/payin_drawer.rb to define it
Extracted source (around line #10):
send_data PayinDrawer.draw(@payins), :filename => 'payins.pdf', :type => 'application/pdf', :disposition => 'inline'