Sign in through GitHub

RailsCasts Pro episodes are now free!

Learn more or hide this

AvalancheTheory's Profile

GitHub User: AvalancheTheory

Comments by

def index
  @users = User.all

then you'll probably need to create the file:

<% @users.each do |u| %>
<%= %>
<% end %>

No promises that that works, but hopefully it supplies some instant gratification.

You'd be better off looking through some tutorials though if you don't understand the errors you're getting.
^ is overkill for newbies, but I haven't found a more gentle learning source