Hobo Cookbook

View Source



Renders a separator separated list of any fields passed in the fields attribute that are true (in the Ruby sense). For example, if a forum post had a boolean field sticky, this tag can be used to automatically label sticky posts “Sticky”. Similarly, you could automatically add an “Administrator” label to the user’s home page (this is seen in the default Hobo app).

Show Source


No Comments to display