Hey all,
What would be the best way to iterate between two numeric values
captured in a form?
Something like:
UserRequest.find(params[:user_request])
(attribute1...attribute2).each {|x1,x2| .... }
Something like this possible? Thanks.
Hey all,
What would be the best way to iterate between two numeric values
captured in a form?
Something like:
UserRequest.find(params[:user_request])
(attribute1...attribute2).each {|x1,x2| .... }
Something like this possible? Thanks.
John Merlino wrote:
Hey all,
What would be the best way to iterate between two numeric values
captured in a form?Something like:
UserRequest.find(params[:user_request])
(attribute1...attribute2).each {|x1,x2| .... }Something like this possible? Thanks.
Yes, pretty much as you described. Try it!
Best,