How can I get only GET or POST parameters?
If there is GET and POST then params[:data] returns GET, but I need that
POST overwrite GET.
What I cat do?
How can I get only GET or POST parameters?
If there is GET and POST then params[:data] returns GET, but I need that
POST overwrite GET.
What I cat do?
Gi Ga wrote:
How can I get only GET or POST parameters?
If there is GET and POST then params[:data] returns GET, but I need that
POST overwrite GET.What I cat do?
Not sure what your cat does, but you could always (re)design your
application around that particular behavior.
Daniel W. wrote:
Not sure what your cat does, but you could always (re)design your
application around that particular behavior.
I make a livesearch, it works fine, but if user give a search word by
typing it in URL, livesearch doesn’t work any more, because GET
parameter overwrite POST (ajax updateform).
I need i way to filter GET parameters.
afaik there is not a way to do this. I know what you’re trying to do
(like PHP’s $_POST and $_GET), and in rails they’re all heaped into
params.
Help?
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