I’m working on extending the custom tags in the radiant-search-extension. Radiant tags are really a lot like Rails views, but they don’t have access to the view helpers. After learning how to call helpers outside of views, I simply added this method to my custom page: def pluralize(*args) ActionController::Base.helpers.pluralize *args end
-
Recent Posts
- Rails Test Driven Development Classes on TechTV
- Learn to Build a CMS-Driven Website in a Weekend
- Heroku Migration Fails to Update Attributes: reset_column_information
- Caching in Rails
- Memcached
- Expiring cached pages
- 32- or 64-bit Ruby?
- PeerPressure Available Now on the App Store!
- iPad custom fonts
- Understanding git submodule