On Fri, Jan 16, 2009 at 12:32 PM, naevity <[email protected]> wrote:
> <%= barcode 'UPCCODE', :encoding_function => Gbarcode::BARCODE_ISBN %> Hard-coding it like this works for you, right? > I need to be able to dynamically input the encoding function like > this: > > <%= barcode code.number, :encoding_function => code.type.upctype %> What are some sample values of code.type.upctype from your database? -Michael -- Michael C. Libby www.mikelibby.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

