ruby on rails - Case statement two buttons under selection -


i'm trying put buttons under same case such as:

    when "invited"          button_to "confirm", ....           button_to "refuse", .... 

at minute 1 of buttons shown @ time, how can show both simultaneously?

thanks!

it's typically case last result returned, if want return multiple things:

when 'x'   [     button_to ...,     button_to   ] ... 

that return array of various buttons present.


Comments

Popular posts from this blog

qt - QML MouseArea onWheel event not working properly when inside QML Scrollview -

java - is not an enclosing class / new Intent Cannot Resolve Constructor -

python - Error importing VideoFileClip from moviepy : AttributeError: 'PermissionError' object has no attribute 'message' -