Mark Dodwell wrote:
How can I check to see if a parameter is a number or not. Bear in mind it may be nil so I need to cope with that situation too.
In your model...
Check the doc at api.rubyonrails.org for a number of options.