[Rails] Columnize text?

2011-07-10 Thread sdwrage
Hey all, I have been working on a project that would need text to be columnized (2 to be exact) and converted to PDF format. The only problem is, I can't get column-count, column-size, etc to work with wicked_pdf. Is there possibly another solution of programmatically columnizing (either through

[Rails] Re: making something available application wide

2010-07-03 Thread sdwrage
Making it a before_filter makes it so you won't need to call the method to set your banner every single time. It will be done before any action is called. On Jul 2, 12:25 pm, bingo bob li...@ruby-forum.com wrote: Aha ! You could put the @banner_url = BannerAdvert.. in you