Good notes posted by foliosus
RSS feed
3 thanks
The docs are in the base class
Look in ActionController::Base for the docs.
3 thanks
13 thanks
The docs are in AR::Base
The docs you’re looking for are in ActiveRecord::Base
7 thanks
Use helpers in your ActionMailer views
It’s very easy to give your mailer access to helpers:
# Let your mailer user the ApplicationHelper methods class MyMailer < ActionMailer::Base helper :application end
9 thanks
Use the current URL, with changes
You can use the current URL, whatever it is, with changes, as in:
# Create a link to the current page in RSS form url_for(:overwrite_params => {:format => :rss})
This can be super-helpful because it preserves any GET params (like search parameters)

