Displaying 1 result from an estimated 1 matches for "codeweblog".
Did you mean:
codeblog
2009 Dec 28
2
How to get parameters to controller from view using <input tag?
Hello! I''m everywhere searching the answer for my question. How to get
parameters to controller from view using <input tag. But I want to do
this without db. I have the code:
class TranslateController < ApplicationController
def start
@time = Time.now
end
def result
@rez = params[:name]
end
end
<html>
<head>
<title> Translate numbers from 10 to