search for: contact_form

Displaying 3 results from an estimated 3 matches for "contact_form".

2006 May 23
2
ActionMailer stopped working after upgrade to Rails 1.1
...options[:subject] || $site_name + '' - Web Site Inquiry'' from options[:from] || $site_email body options[:body] || {} end app/controllers/sections_controller.rb: Mailer::deliver_contact_us( :body => { :name => @contact_form.user, :email => @contact_form.email, :message => @contact_form.message }, :from => @contact_form.email ) app/views/mailer/contact_us.text.html.rhtml: <very simple html template> ./script/about output: About your application''s envi...
2009 Sep 21
0
Polymorphic form
...ress < Contact validates_presence_of :zip_addon_id validates_uniqueness_of :value, :scope => [:person_id, :type] belongs_to :zip_addon end Here''s one of the partials: <div class="phone_number"> <% fields_for "person[contacts][]", phone_number do |contact_form| - %> <p> Phone Number<br/> <%= contact_form.hidden_field :type %><br/> <%= contact_form.select :label, PhoneNumber::LABELS, :selected => PhoneNumber::LABELS.first %> Area + Phone <%= contact_form.text_field :value %><br/>...
2011 Nov 02
4
undefined method `updated_at' for #<Classified:0x686c5e4>
HEllo, I have the following problem with rails, I am new in this...is there anyone who explain to me what´s happens? Thanks See below: NoMethodError in Classified#show Showing app/views/classified/show.rhtml where line #17 raised: undefined method `updated_at'' for #<Classified:0x686c5e4> Extracted source (around line #17): 14: 15: <strong>Date Posted:</strong>