Tag Archives: ruby on rails

Render partial with layout

Just a quick tip:
It is possible to pass a :layout option to a render :partial call like this
<%= render :partial => ’some_list’, :layout => ‘list_widget’ %>

Sending Email awesomely with Rails

If you would like to send HTML Emails with all the bells and whistles that Actionpacks Actionview provides checkout my freshly released plugin awesome_email on github.
It will enable you to use layouts/templates for your HTML Emails and it will inline CSS information inside the HTML to make sure it works in almost all Email clients.
For [...]