Is there a way to differ if params are set through form submit:
%= form_tag action: 'login', method: :put do %
%= text_field('record','username') %
%= password_field('record','password') %
%= submit_tag %
or through url
http://some.site/login?record[username]=userrecord[password]=pwd
In both
On 14 April 2013 17:13, Damjan Rems li...@ruby-forum.com wrote:
Is there a way to differ if params are set through form submit:
%= form_tag action: 'login', method: :put do %
%= text_field('record','username') %
%= password_field('record','password') %
%= submit_tag %
or through url
2 matches
Mail list logo