search for: contact_controller

Displaying 5 results from an estimated 5 matches for "contact_controller".

Did you mean: contacts_controller
2006 Jun 05
1
Action Mailer contact form
...ems/actionmailer-1.2.1/lib/action_mailer/base.rb:267:in `initialize'' c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `new'' c:/ruby/lib/ruby/gems/1.8/gems/actionmailer-1.2.1/lib/action_mailer/base.rb:226:in `method_missing'' #{RAILS_ROOT}/app/controllers/contact_controller.rb:7:in `send_msg'' -e:4 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060605/b45c2d59/attachment.html
2009 Sep 25
3
NoMethodError : undefined method `stringify_keys!' for "2":String
...ontactlist Application Trace | Framework Trace | Full Trace D:/RoR/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/ active_record/base.rb:2111:in `attributes='' D:/RoR/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/ active_record/base.rb:1926:in `initialize'' app/controllers/contact_controller.rb:24:in `new'' app/controllers/contact_controller.rb:24:in `update'' D:/RoR/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/ active_record/base.rb:2111:in `attributes='' D:/RoR/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/ active_record/base.rb:1926:in `initialize&...
2006 Apr 26
2
RJS and Greybox : executing the js in the parent window?
Hi all, Question: Can a child window manipulate its parent window with RJS? Example: In an application a parent/master window shows a list of records. When the users press ''edit'', a greybox windows pops up where they can update one item attributes. Problem: after the ''save'' and child window closing, the parent window still contains the old attributes
2005 Mar 18
1
newbie question on ActionMailer
...ers = {} end and my view for "contact_us" is a simple, non-parameterised message of success. Unfortunately I get the following stack trace (note that using etherial shows no packets at all across the network): Errno::EINVAL in Contact#sendmail Invalid argument app/controllers/contact_controller.rb:11:in `sendmail'' script/server:48 Show framework trace d:/trevor/ruby/lib/ruby/1.8/net/protocol.rb:197:in `sysread'' d:/trevor/ruby/lib/ruby/1.8/net/protocol.rb:197:in `rbuf_fill'' d:/trevor/ruby/lib/ruby/1.8/net/protocol.rb:196:in `timeout'' d:/trevor/ruby/lib...
2009 Feb 24
5
undefined method `model' for ContactController:Class
...;m getting "undefined method `model'' for ContactController:Class" Basically this is my first RoR application. Can you please somebody help to resolve this. Steps I have followed, 1)ruby script/generate model contact 2)ruby script/generate controller contact 3) vim app/controllers/contact_controller.rb class ContactController < ApplicationController model :contact scaffold :contact end 4)ruby script/server -p 9090 Actually I need to create/select/update table thru RoR. Advance Thanks, Sankar. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~...