Using Barby in rails

Hello im trying to add some barcode generation funcionality to my app,
all via barby gem.

I’m building a custom helper, but i cant include barby module to load,
when i write

module BarcodeHelper
include Barby
end

i receive error:
Routing Error
uninitialized constant BarcodeHelper::Barby
Try running rake routes for more information on available routes.

and i change it to:
module BarcodeHelper
#include Barby
require ‘barby’
end

i receive:
Missing helper file helpers/barby.rb

how it should be done?
im using rails 3.2

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs