Displaying 3 results from an estimated 3 matches for "montyman".
Did you mean:
montan
2006 Jun 19
3
newbie validation
hi there. Here is the simple scenario:
My active record connects to a table that contains an integer field.
My form contains a text box that allows me to enter a value to get
updated to the integer field.
If anything gets entered that is anything other than a POSITIVE INTEGER,
I want to display an error.
I have noticed that if I create a new active record like
@record =
2006 Jun 21
3
validation help
I would like to validate a number within a certain range.
To first test that a entry is a valid number i use
validates_numericality_of :my_number, :message =>''sorry, not a number''
to test if the number is within a certain range i use
validates_inclusion of :my_number, :in => min..max, message => ''outside
range!''
If the numericality test fails, I
2006 Jul 30
34
ruby suitable for financial apps?
hi there,
I am about to embark on a mission critical financial web application,
and was wondering weather ruby on rails is the best fit for this type
of project.
More specifically I am worried about floating point errors. Would it be
more appropriate to use a more statically typed framework (.NET)?
thankyou.
--
Posted via http://www.ruby-forum.com/.