Tuesday, January 4, 2011

Ruby using helpers in single script

Programmer Question

I am wanting to use the pluralize text helper in a ruby script I am writing, but can't find anywhere on how to include Rails helpers in a single ruby script. I know you need to include the helper module and require the helpers, but like I said I am not 100% sure on how to get it to work.



Find the answer here

No comments:

Post a Comment

LinkWithin

Related Posts with Thumbnails