please tell me how to get the previous information of one user by the
another with in the same controller?
is it possible? please tell me the solution with some example ?
Thanks,
please tell me how to get the previous information of one user by the
another with in the same controller?
is it possible? please tell me the solution with some example ?
Thanks,
On Sat, 2011-08-20 at 21:51 +0900, Kapil K. wrote:
please tell me how to get the previous information of one user by the
another with in the same controller?
Sure - put it in a database.
Peter
Every time the user clicks a link or button on your webpage, your
webpage sends a request to the server. When the server receives the
request, it causes one of the actions in your rails app to execute.
Then your action sends a response back to the browser. Immediately
after your action finishes executing, all the variables in your rails
app are destroyed. That’s just the way the internet works. It’s known
as a ‘stateless’ protocol.
To make values persist, you can store data in cookies, sessions, files,
or a database.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs