"A little Unicode never hurt anyone," they said, moments before disaster.

main
Simon Quigley 1 year ago
parent 44bef3fdf0
commit 300caf1c51

@ -1,6 +1,6 @@
class MoviesController < ApplicationController class MoviesController < ApplicationController
def index def index
@choices, @movies = ["Iron Man", "Batman", "Forrest Gump"], [] @choices, @movies = ["Iron Man", "Batman 🦇", "Forrest Gump 🏃"], []
(0..15).each{ |num| (0..15).each{ |num|
@movies.append(@choices.sample()) @movies.append(@choices.sample())
} }

Loading…
Cancel
Save