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 8064355
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T11:20:28+00:00 2026-06-05T11:20:28+00:00

After looping through a User model in rails and displaying some columns, at the

  • 0

After looping through a User model in rails and displaying some columns, at the end of the view I get:

  #<User:0x1095e07b8>#<User:0x1095dfed0>#<User:0x1095de080>

Any ideas on how to get rid of this? Also what does it mean?

  • 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-06-05T11:20:30+00:00Added an answer on June 5, 2026 at 11:20 am

    You are probably using this for your loop:

    <%= User.all.each do |user| %>
    

    The equals sign will print the output of that function to the page. Drop the equals to omit the output:

    <% User.all.each do |user| %>
    

    The looping will still occur, but the output won’t hit the view.

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

Sidebar

Related Questions

Model description: User, Widget, Purchase User has_many :purchases has_many :widgets, :through => :purchases Widget
I am working on a php/mysql login system for a webproject. After looking through
So, I'm looking through a java library (JScience) after someone here thoughfully pointed me
I am looping through an array of file paths retrieved by a core data
After spending yesterday afternoon looking through SO and online, and not quite finding what
So I have a JavaScript method that is ran after a user selects certain
After looking through the code for building custom credential providers for Windows 7, I
after looking through a lot of similar questions on SO, I still can't iterate
After looking through the questions on this site and doing a few internet searches
I am rendering out a partial view like so: <div id=cart> <%Html.RenderPartial(Cart, Model); %>

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.