Show Menu
Cheatography

Delete Cheat Sheet (DRAFT) by

delete delete delete delete delete

This is a draft cheat sheet. It is a work in progress and is not finished yet.

lib/ac­tio­n_v­iew­/he­lpe­rs/­for­m_h­elp­er.rb

d email_field
  binding.pry
Then
$ rails s
(restart server)
f.email_field
<input>
femail

lib/ac­tio­n_v­iew­/he­lpe­rs/­for­m_h­elp­er.rb

d password_field
  binding.pry
Then
$ rails s
(restart server)
f.password_field
<input>
fpassword

lib/ac­tio­n_v­iew­/he­lpe­rs/­for­m_h­elp­er.rb

d search_field
  binding.pry
Then
$ rails s
(restart server)
f.search_field
<input>
fquery

lib/ac­tio­n_v­iew­/he­lpe­rs/­for­m_h­elp­er.rb

d text_field
  binding.pry
Then
$ rails s
(restart server)
f.text_field
<input>
fcity, fcompany, fcountry. fgithub, fhero, fhomepage, flinkedin, flocation, fname, fname_­on_­card, fpath, fslug, fstack­ove­rflow, fstate, ftitle, ftwitter, fusername, fwebsite