search for: barcode_128

Displaying 1 result from an estimated 1 matches for "barcode_128".

2009 Jan 16
12
running a ruby expression stored in a database
...riables stored in the database. When I try to call the code, it either outputs it as text, or doesn''t display it at all. It''s supposed to generate an image and display it. right now the code is stored in the database as: <%= barcode TEST1234, :encoding_format => Gbarcode::BARCODE_128 %> and in the View, I have this: <%= code.upc %> (where upc is the column name in the database) When I do this, nothing outputs in the view, but if I view the source, I can see the ruby expression. If I change the code stored in the database to this: barcode TEST1234, :encoding_form...