Displaying 20 results from an estimated 5000 matches similar to: "validate a form NOT connected to a model"
2006 Jun 26
9
Form Mail
What is the most RoR friendly way of making a form mailer similar to
this php one?
http://tips-scripts.com/?tip=form_mail#tip
Or is it easier just to use the php with RoR?
--
Posted via http://www.ruby-forum.com/.
2006 Aug 13
1
Online Form
I can''t find a beginner''s tutorial for creating an online form that submits
via email-does anyone know of one? How difficult is this in rails?
james
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060813/9eb800d5/attachment.html
2008 Oct 05
2
create contact form
Hi all
I have a regular HTML form that I want to convert into a RoR form
Because I do not need to save the data in the database I think I need:
- a controller and a viewer
- send submitted fields through email
<h2>Contact Form</h2>
<form action="contact.html">
<fieldset>
<legend>Please send your message: </legend>
2006 Jun 12
8
sending email
Hi,
Has anyone got any good tutorials on how to send emails in ruby, seems a
bit more complicted than PHP
Thanks
Scott
--
Posted via http://www.ruby-forum.com/.
2006 Jan 24
5
simple formmail question
I have a few forms that I''d like users to fill out. The results of
the form will be sent to a few addresses.
What''s the least painless way to do this and keep everything DRY?
There''s no database involved. Ideally, I''d like to email the form
questions with the answers inline.
Seems like using ActionMailer and separate email views would be
overkill in this
2006 May 25
3
webservice timeout issue
I am having an issue where I am trying to test a weservice that I wrote by
connecting to it from ruby. When I submit my form that calls the webservice
it times out. you can see from the lighttpd log that the webservice
completes just after the timeout. any ideas? am I doing something wrong?
---- source ----
def validate
auth = ActionWebService::Client::Soap.new(AuthApi, "
2006 Oct 17
1
Routing Problem
Hi,
I have a folder structure see below which basically has a fodler for the
main pages of the site(main) and another folder which contains a
ajax_scaffold grid to allow a user to view/sort/download documents:
views
main
documents
Controllers
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are
2015 Jan 29
2
Indexing Mail faster
On Thu, 2015-01-29 at 15:56 +0800, Kevin Laurie wrote:
> Hey Joseph
> Thanks. Strace seems like a very useful tool
> Only problem is that I dont think it is maintained on ubuntu.
> Tried to run:-
> apt-get install strace but could not download it.
> Might need to download and build it. Do you know any other way of getting
> it?
> Thanks
> Kevin A.
try apt-cache search
2008 Nov 10
4
Weird custom type behaviour
Hey,
I have a very trivial parsedfile based type - http://pastie.org/311146
- that works fine when deployed and run under puppetd -t. However,
when being run by the daemonized puppet, it results in this error:
Mon Nov 10 03:50:48 +0000 2008
//Node[ams-proxy-2]/quagga/Quagga::Daemon[zebra]/Quagga_service[zebra]
(err): Failed to retrieve current state of resource: No ability to
determine if
2006 Apr 03
7
Getters and setters problem?
Hi list,
first evening of playing with rails, so please forgive me if I ask
something stupid. ;-)
I created a User model and tried to use ActiveRecord callbacks to
convert the password to sha1 just before saving it. For some reason
postgresql gives me a error because the given password is null. To
test even further I tried to change :login too, same error happens,
:login is empty too.
I am sure
2006 Jun 05
7
Is HABTM Dying?
For a while, I''ve been getting that HMT is replacing HABTM. It appears that
HMT can do all of what HABTM can do and more. The question is: Should I stop
using HABTM? Let''s take a simple case:
A case has many categories
For a given category, there are certain valid statuses
Category
has_and_belongs_to_many :statuses
Status
has_and_belongs_to_many :categories
Question:
Is
2010 Feb 05
5
VMWare ESXi & CentOS5.4
I have a brand new Dell Poweredge T310 server with 4G ram and 1TB
raid-5 hard drive in it. I Really only need to be able to run a copy
of CentOS 5.4 on it, but I'm wondering if in the build process should
I stick on ESXi 4 and then run CentOS as a vm? This would give me the
options to roll out other VM's if I want over the life of the server
(which I likely won't need) but the
2006 Mar 24
8
[OT] Does Net::HTTP support secure connections ?
Hi !
I''m trying to connect to an https URL, but it seems it doesn''t work.
Has anyone successfully connected from Ruby to an HTTPS server ?
Thanks !
--
Fran?ois Beausoleil
http://blog.teksol.info/
2006 Aug 02
15
Rails in a Windows World
I work at an organization that is very wrapped up in Microsoft products. I
am trying to get a test application put in however I''m not sure what to do
about the infratstructure. If it were up to me we would put in MySQL and
Apache or Lighty, however its not up to me. The easiest way to get an
application into production at our company would be to use the existing MS
SQL server and IIS
2005 Jun 23
2
Betr.: Multiple IP Addresses in a single NIC
Hi,
You need to issue two commands:
/sbin/ifconfig eth0:0 xxx.xxx.xxx.xxx
/sbin/route add -host xxx.xxx.xxx.xxx dev eth0
For example:
/sbin/ifconfig eth0:0 172.16.1.199
/sbin/route add -host 172.16.1.199 dev eth0
You can even assign multiple aliases to one NIC (One of my servers has about 10 ip addresses):
For example:
/sbin/ifconfig eth0:0 172.16.1.199
/sbin/route add -host 172.16.1.199
2012 Aug 19
2
Prueba de Thom y series temporales homogéneas de prueba
Hola a todos:
Hace unos meses estuve preguntando sobre la prueba de Thom para
comprobar la homogeneidad de series temporales sobre datos de radiación
e insolación (después he visto que también se usa con otras variables
meteorológicas) [0].
El caso es que por distintas razones no había podido avanzar en el
asunto y ahora vuelvo sobre él.
Creé una función para realizar la prueba de Thom pero
2008 Oct 30
3
VMWare Sandbox
I need to experiment with ldap for a site I manage, and wondered if
vmware would be a good way to go for some testing.
My current server is RHEL3, which is getting dated, and I think that I
should refresh this server entirely in the move to ldap.
We need to have an ldap server for publishing email addresses for a
VPN for a nursing home that the upstream can harvest and we can browse
to send
2006 Jun 28
9
Rails Borked After 1.1.3 Install?
I installed 1.1.3 on my OS X Tiger machine and now I''m seeing very strange
results.
When hitting a controller action, I am told that perfectly valid methods are
not there:
NoMethodError (undefined method `find'' for VideoTrack:Module)
Huh? Here''s the code in question:
VideoTrack.find(:all, :conditions => "featured_video = 1", :order =>
2006 Mar 24
6
Microsoft SQL Server has me stumped
I''m tinkering around with an old legacy table in SQL Server 2000.
Ruby 1.8.4, most recent ADO.rb file from RubyForge, Rails 1.0
Here''s the model:
class InventoryItem < ActiveRecord::Base
set_table_name "[_SMDBA_].[_INVENTOR_]"
set_primary_key "sequence"
end
Everything works fine. I can retrieve records without issue.
However, when create a new
2018 Feb 01
1
Customizing SBCC for lcov workflows
I’m working to implement Source Based Code Coverage in a workflow that uses lcov for report generation. We’ve customized our llvm-cov to add a command to convert the SBCC counter data to lcov’s ‘.info’ format. The problem is that the region-based counter definitions in SBCC can span source code regions that can contain blank lines (or lines with only comments). Converting this to lcov’s