Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6144567
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T18:40:07+00:00 2026-05-23T18:40:07+00:00

Following Michael Hartl’s tutorial. Using Rails 3.0.9 under Ubuntu. The following line is in

  • 0

Following Michael Hartl’s tutorial. Using Rails 3.0.9 under Ubuntu. The following line is in application.html.erb:

<%= javascript_include_tag :defaults %>

No jQuery. Tutorial Listing 10.38 specifies the Delete action be called as follows:

<%= link_to "delete", user, :method => :delete, :confirm => "You sure?",
                            :title => "Delete #{user.name}" %>

The generated HTML includes the title tag, e.g.:

<a href="/users/13" data-confirm="You sure?" data-method="delete" 
 rel="nofollow" title="Delete Mylene Gaylord">delete</a>

I assume the purpose of specifying a title is for the popup to identify which user will be deleted. However the title is never displayed in the confirmation popup. Instead:

  • Firefox 3 under Ubuntu: Title shows as “The page at http://0.0.0.0 says:”.
  • Firefox 5 under Win7: No title at all; popup appears “Ajaxified” with browser dimmed in background
  • IE8 under Win7: Title shows as “Message from webpage”.

Can Rails display the title in the popup?

Can I write an RSpec test to confirm that the title is correct?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T18:40:08+00:00Added an answer on May 23, 2026 at 6:40 pm

    The title option that’s used there is specifically for the link title so that when you hover your mouse over the link, the value of title shows up as a sort-of tooltip.

    If you want to add things like a title to your popup messages, you’ll need to roll your own popups that support that kind of thing.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm following the Rails Tutorial by Michael Hartl and I'm getting an unexpected error/failed
New to Ruby on Rails and having a problem when following Michael Hartl's tutorial.I'm
I'm new to Programming and was following the Rails Tutorial by Michael Hartl when
I just started reading Michael Hartl's Ruby on Rails 3 Tutorial. He recommends using
I am following the Ruby on Rails tutorial by Michael Hartl http://ruby.railstutorial.org/ I installed
(ruby 1.9.2, rails 3.1) Following Michael Hartl's tutorial. Spent more than a day trying
I'm following Ruby on Rails Tutorial: Learn Rails by Example, by Michael Hartl. http://ruby.railstutorial.org/chapters/a-demo-app#sec:a_micropost_microtour
Following Michael Hartl's Rails 2.3 tutorial. Excellent, so far, but I am stuck on
I'm following Michael Hartl's Rails Tutorial, and for some reason the following code: <%=
I am following Michael Hartl's Rails Tutorial Here: http://ruby.railstutorial.org/chapters/modeling-and-viewing-users-one#top I use this command to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.