This is a draft cheat sheet. It is a work in progress and is not finished yet.
lib/action_view/helpers/form_options_helper.rb
d collection_select binding.pry |
Then $ rails s (restart server) |
f.collection_select <select> |
d select binding.pry |
f.select <select> |
fassignee_id, fhow_heard, fstatus, ftransaction_type |
d time_zone_select binding.pry |
f.time_zone_select <select> <option> X N |
ftime_zone |
lib/action_view/helpers/date_helper.rb
def datetime_select binding.pry |
Then $ rails s (restart server) |
f.datetime_select <select> |
fstarts_at |
def time_select binding.pry |
f.time_select <input> X 3 <select> X 2 |
fstarts_at |
actiontext/app/helpers/action_text/tag_helper.rb
def rich_text_area_tag binding.pry |
Then $ rails s (restart server) |
f.rich_text_area_tag
|
fcontent |
turbo-rails/app/helpers/turbo/frames_helper.rb
def turbo_frame_tag binding.pry |
Then $ rails s (restart server) |
f.turbo_frame_tag <turbo-frame> |
|
|
|