Saturday, October 29, 2011

[Rails] Redirect to previous page

In controller, you can specify redirection to go back to previous page that call to this controller by using code below:
redirecto_to :back  
Note: Rails 3.1

No comments:

Config number of file descriptors on Linux

Check file descriptor limit for a process. Vary depending on owner of the process $ cat /proc/{process-id}/limits Check current number of...