I've just inherited a website built with Ruby on Rails. I have never used the language before.
One thing I wanted to know is about Gems - my host only supports a few. I figure a Gem is like a library with PHP - for example, the mysql library is compiled with most PHP packages.
So I was wondering, does the following short code sample require a Gem, or is it too succinct to know?
class EnquiryMailer < ActionMailer::Base
def enquiry enquiry_details
@enquiry = enquiry_details
recipients '[email protected]'
bcc ['[email protected]']
from "#{@enquiry.email}"
subject "Web Enquiry"
sent_on Time.now
end
end
Thanks