The simple dropdown menu doesn’t work

<p>I’m a beginner on ruby on rails. I read a Michael Hart’s tutorial, and i copied the exercise about the login user that shows a dropdown menu whith 2 options. But when the exercise is executed it didn’t show those options.</p>

The files are:


source ''

git_source(:github) { |repo| "{repo}.git" }

gem 'rails', ''

gem 'jquery-rails'

gem 'bcrypt', '3.1.13'

gem 'puma', '3.12.2'

gem 'sass-rails', '5.1.0'

gem 'webpacker', '4.0.7'

gem 'turbolinks', '5.2.0'

gem 'jbuilder', '2.9.1'

gem 'bootstrap-sass'

gem 'bootsnap', '1.4.5', require: false




<%= full_title(yield(:title)) %>

<%= stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true %>

<%= javascript_include_tag "application" "data-turbolinks-track" => true %>



///= require jquery

//= require jquery_ujs

//= require bootstrap

//= require turbolinks


@import "bootstrap-sprockets";

@import "bootstrap";



The app doesn’t show any error, but it doesn’t show the dropdown menu.

Do you have any idea to resolve this issue? Thank you very much.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs