Displaying 2 results from an estimated 2 matches for "ra56179n".
2006 Aug 10
4
I need "validates_presence_of" help
Hi - I have 3 fileds a user can fill out. They can fill out 2 of them or
just one of them, for example.
fill out these 2 fields:
Field1 and Field2
Or fill out this field:
Field3
In my model how do I use validates_presence_of for Field1 and Field2 or
just Field3.
I want to do something like this:
validates_presence_of Field1, Field2
OR
validates_presence_of Field3
So the user can fill out
2006 Aug 16
1
How to pass an array to a javascript function.
Hi - I''m having a bit of trouble with my application. I have this view
that calls a javascript function "zip_map". I want to pass to it a
scalar array "@zip_geo" but I don''t know how to pass an array to a
javascript function in rails. This is what the code looks like:
THE .rhtml file:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0