Author Archives: sarah

using pluralize in a radiant custom page

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

Simple Email Form with ActionMailer

Working with ActionMailer is a bit different from working with ActiveRecord. While it makes sense to me that you would have a model for the data of the email message you send, the flow of control seems inverted from the rest of Rails. With ActionMailer call the model from the controller, then the model triggers [...]

origins of a company name

This summer I hired an intern who worked with me pair programming at my home office. One of the first projects we did together was an iPhone application using the Rhomobile framework for which we created a mocked up set of web services with Ruby on Rails. We deployed the web app on Heroku, which [...]