search for: foreign_address

Displaying 1 result from an estimated 1 matches for "foreign_address".

2008 Jan 29
0
ActionMailer calling shared methods
....rb), with and without helper_method. In all cases, I get an error undefined method `wgg_replace_crlf'' for #<ActionView::Base:0x324b230> Here is the relevant block of code from the email template <% address = if @order.address.is_foreign wgg_replace_crlf(@order.address.foreign_address) else "#{@order.address.addressee}<br />" + "#{@order.address.address_1}<br />" + (@order.address.address_2.blank? ? '''' : "# {@order.address.address_2}<br />") + "#{@order.address.city}, #{@order.address.state} #...